diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-01-16 19:35:26 +0100 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-01-16 19:35:26 +0100 |
| commit | c36955aa450dd3fa8668e7c91a7822a3c087eb38 (patch) | |
| tree | e437da8f865e0b158346b6f9ac0fe0c9ccbf6eea /src/app.scss | |
| parent | feat: make max size for waves bigger (diff) | |
| download | pml68.dev-c36955aa450dd3fa8668e7c91a7822a3c087eb38.tar.gz | |
feat: add profile content, socials etc.
Diffstat (limited to 'src/app.scss')
| -rw-r--r-- | src/app.scss | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/src/app.scss b/src/app.scss index 3f2f0a7..a130a86 100644 --- a/src/app.scss +++ b/src/app.scss @@ -1,3 +1,12 @@ +@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap'); + +$font-min: 16px; +$font-desired: 2.6vh; +$font-max: 32px; + +$icon-desired: 5.5vh; +$icon-max: 96px; + *{ box-sizing: border-box; margin: 0; @@ -6,10 +15,30 @@ body { background-color: #1e1e2e; - color: #a6fbb2; - font-family: 'Rubik', sans-serif; + color: #ccc; + font-family: 'Space Mono', monospace; width: 100%; overflow: hidden; + font-size: clamp($font-min, $font-desired, $font-max); +} + +.socials { + margin-top: 10px; +} + +.social-icon { + font-size: clamp($font-min, $icon-desired, $icon-max); +} + +a { + color: #ccc; + text-decoration: none; + transition: color .3s ease-in-out; + + :hover { + color: #a6fbb2; + transition: color .3s ease-in-out; + } } .ii { @@ -25,13 +54,18 @@ body { } .container { - height: calc(90dvh - 8dvh); display: flex; + height: 100dvh; align-items: center; justify-content: center; overflow: hidden; - width: 100%; - z-index: 100; + flex-direction: column; +} + +.main { + text-align: left; + line-height: 1.2; + margin: 20px; } .wave { |
