Remove section classes

This commit is contained in:
TheThomaas 2024-02-10 21:18:06 +01:00
parent 9319ee7d52
commit 778d776907

View file

@ -85,7 +85,7 @@ i {
} }
} }
.hero-section { .hero {
height: 90vh; height: 90vh;
height: 90svh; height: 90svh;
@ -116,17 +116,17 @@ i {
} }
} }
.projects-section { .project-grid {
ul {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
gap: 1rem; gap: 1rem;
}
li { li {
border-radius: var(--border-radius); border-radius: var(--border-radius);
overflow: hidden; overflow: hidden;
} }
article { }
.card {
--background: url('https://placehold.co/200x150'); // Default background --background: url('https://placehold.co/200x150'); // Default background
position: relative; position: relative;
height: 100%; height: 100%;
@ -139,7 +139,6 @@ i {
background: var(--background); background: var(--background);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
}
a { a {
&:hover { &:hover {
@ -170,11 +169,7 @@ i {
} }
} }
.about-section, section {
.competences-section,
.projects-section,
.experiences-section,
.download-section {
padding-block: 2rem; padding-block: 2rem;
margin-block: 3.5rem; margin-block: 3.5rem;
} }
@ -293,19 +288,9 @@ i {
} }
} }
.experiences-section {
p {
margin: 0;
}
}
.download-section { .download {
text-align: center;
> div {
gap: .8rem; gap: .8rem;
}
p { p {
font-size: 1.4rem; font-size: 1.4rem;
} }