diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2024-07-10 22:31:36 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2024-07-10 22:31:36 +0200 |
| commit | 001cf3e20a80d9797b9ccf1f6cc3facd18b0d477 (patch) | |
| tree | 518b54323bd6298d8825d1abc5653416549e8fd3 /style.css | |
| parent | 0fd3c14fbbc797638ff1714d68e361b2822fad36 (diff) | |
proto: added a picture and fixed the layout a bit
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 66 |
1 files changed, 54 insertions, 12 deletions
@@ -1,19 +1,45 @@ body { background: linear-gradient(74deg, skyblue, pink 60%, salmon); - padding: 0 10vh + padding: 0 12vw; +} + +header { + display: flex; + justify-content: space-evenly; + align-content: baseline; } h1::before, h1::after { content: " - "; } -/*h2::before, h2::after { - content: " ~ "; -}*/ -h2 { +section h2 { font-style: italic; } +a { + color: black; + text-decoration: none; +} + +nav { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-evenly; + position: relative; + padding: default 3vw; + height: 100%; +} + +nav a, nav test { + display: inline-block; +} + +nav test { + margin: auto 0; +} + .text-link::after { content: '<'; } @@ -22,21 +48,35 @@ h2 { content: '>'; } -section p { - max-width: 500px; +section>span>p { + padding-left: 30vw; } @media screen and (max-width: 600px) { - section p { - max-width: 90vw; + body { + padding: 10px 5vw; + } + + section>span>p { + padding-left: 10vw; } } section:nth-of-type(odd) { - justify-items: end; text-align: end; } +section#presentation { + display: flex; + flex-direction: row-reverse; + justify-content: end; + height: 50vh; +} + +#id-pic { + height: auto; +} + h1, h2 { transition-property: text-decoration; transition-duration: 0.7s; @@ -55,10 +95,12 @@ h1:hover,h2:hover { #timeline::before { position: absolute; content: ''; - width: 5px; + width: 4px; height: 100%; - background: skyblue; + background: #add8e6; left: 14px; + border: 1px solid grey; + box-shadow: 1px 1px 1px #696969; border-radius: 3px; } |
