v2 done: fixed mobile and responsive issues.

This commit is contained in:
g_it 2026-02-23 12:47:55 +01:00
commit 6352db73c9
Signed by untrusted user who does not match committer: g_it
GPG key ID: A2B0A7C06A054627
93 changed files with 3951 additions and 66 deletions

View file

@ -28,38 +28,64 @@ body {
}
}
.md-typeset .grid {
/* .md-typeset .grid {
grid-gap: .4rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
margin: .4em 0;
}
} */
/*****************************/
#experience {
height: clamp(60vh, 75vh, 100vh);
.cards {
padding: .4rem;
.jobs {
display: grid;
gap: 2rem;
grid-template-columns: repeat(2, 1fr);
padding: 1rem;
@media (max-width: 768px) {
grid-template-columns: 1fr;
}
}
.job {
position: relative;
padding: 0.5rem;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 120px;
height: 120px;
background-image: var(--bg-image);
background-size: 100px;
background-repeat: no-repeat;
filter: saturate(0%);
opacity: 0.18;
pointer-events: none;
}
h2 {
color: var(--dark-grey);
font-family: var(--general-sans);
font-size: clamp(1.5rem, 5vw, 2.5rem);
line-height: 1;
margin: 0;
margin: 0 0 0.5rem 0;
}
.company {
font-family: var(--general-sans);
font-weight: 400;
font-size: clamp(0.9rem, 2vw, 1.2rem);
margin-bottom: 1rem;
span {
font-size: clamp(0.6rem, 1.2vw, 0.7rem);
font-weight: 400;
margin: 0 0 0 25px;
margin-left: 1rem;
}
}
@ -69,8 +95,7 @@ body {
font-variation-settings: "opsz" 8;
font-weight: 700;
line-height: 1.5;
margin-bottom: clamp(1.5rem, 3vw, 2rem);
margin-top: clamp(1.5rem, 3vw, 2rem);
margin: 1.5rem 0;
}
.job-achievements {
@ -81,46 +106,20 @@ body {
color: var(--dark-grey);
cursor: pointer;
font-size: clamp(0.75rem, 1.8vw, 0.9rem);
margin: 0;
margin: 1rem 0 0.5rem 0;
text-transform: none;
/* &[style*="cursor: default"] {
cursor: default;
} */
}
p {
margin: 0 0 10px 0;
margin: 0 0 1rem 0;
line-height: 1.6;
}
}
}
.mambu {
background-image: url("../media/mambu-logo-272x263.webp");
}
.spread {
background-image: url("../media/spread-ai-logo-125x144.webp");
}
.mambu,
.spread {
background-size: contain;
background-repeat: no-repeat;
filter: saturate(0);
height: 112px;
margin-left: 1rem;
margin-right: 1rem;
position: relative;
&::after {
background: rgba(250, 250, 250, 0.70);
bottom: 0;
content: '';
left: 0;
pointer-events: none;
position: absolute;
right: 0;
top: 0;
z-index: -1;
}
}
}
#hero {
@ -151,6 +150,7 @@ body {
font-size: clamp(2rem, 8vw, 5rem);
font-variation-settings: "opsz" 8;
font-weight: 900;
padding: 0 5px;
}
.metadetails {
@ -216,7 +216,11 @@ body {
}
#skills {
margin: 2.5rem;
margin: 1.2rem;
.grid {
grid-gap: 4rem;
}
.cards {
ul li {
@ -224,8 +228,9 @@ body {
display: flex;
flex-direction: column;
font-size: clamp(1.2rem, 3vw, 1.8rem);
gap: 1rem;
justify-content: space-evenly;
padding: 1rem;
padding: 0;
.technical-icons {
align-content: stretch;
@ -323,7 +328,7 @@ body {
figcaption {
color: var(--dark-grey);
font-family: var(--general-code);
font-family: var(--general-sans);
font-size: clamp(0.5rem, 0.7rem, 0.8rem);
font-style: normal;
font-weight: 400;
@ -331,7 +336,7 @@ body {
}
img {
height: 40px;
height: 50px;
display: block;
padding: 5px;
width: auto;
@ -529,12 +534,14 @@ body {
.prefooter {
align-items: flex-start;
border-bottom: 5px solid var(--light-grey);
display: flex;
flex-direction: row;
gap: 2rem;
justify-content: center;
margin-top: 1.3rem;
margin-bottom: 0.5rem;
margin-bottom: 3rem;
padding-bottom: 1rem;
text-align: center;
div {
@ -555,7 +562,7 @@ body {
background-color: var(--neutral-grey);
display: flex;
flex-direction: row;
font-size: clamp(1rem, 2vw + 2rem, 1.3rem);
font-size: clamp(0.7rem, 1vw, 1.2rem);
font-weight: 400;
justify-content: center;
padding: 10px;
@ -572,12 +579,6 @@ body {
/*****************************/
@media (max-width: 600px) and (hover: none) {
#experience {
height: 47vh;
}
}
@media (max-width: 1300px) {
#skills>div.grid>ul>li:nth-child(3) {
display: none;
@ -588,4 +589,18 @@ body {
#skills>div.grid>ul>li:nth-child(4) {
display: none;
}
#hero .metadetails {
display: none;
}
.faq {
bottom: 80px !important;
right: 10px !important;
}
.question-icon {
bottom: 60px !important;
right: 10px !important;
}
}

View file

@ -176,12 +176,12 @@ p {
*****************************/
body {
align-items: center;
/* align-items: center; */
background-color: var(--neutral-grey);
display: flex;
justify-content: center;
/* display: flex; */
/* justify-content: center;
min-height: 100vh;
width: 100%;
width: 100%; */
}
/* Footer */