Improve global layout structure and fix various styling issues #16

This commit is contained in:
Timothée Goguely 2024-11-27 13:51:59 +01:00
parent 059e373a4a
commit b67896a4e9
11 changed files with 68 additions and 56 deletions

View file

@ -40,6 +40,18 @@ body {
/* Main */
main {
position: relative;
min-height: calc(100vh - var(--gutter) * 2);
}
main > header {
align-items: flex-start;
justify-content: space-between;
width: 100%;
}
/* Section */
section {
width: 100%;
}

View file

@ -9,6 +9,7 @@
justify-content: center;
align-items: center;
gap: var(--space-8);
flex-shrink: 0;
padding: .6em var(--space-16) .75em;
max-height: 2.5rem;
text-align: center;

View file

@ -3,6 +3,7 @@
.project-item {
background: var(--color-background);
row-gap: 2.5rem;
position: relative;
}
.project-item hgroup {
@ -35,9 +36,9 @@
flex: 1 1 0%;
display: flex;
gap: var(--gap);
margin-top: -2.75rem;
margin-top: -1.5rem;
position: relative;
min-width: max(55%, 45rem);
min-width: 55%;
width: 100%;
padding: 2rem 0;
}