diff options
| author | jamie <git@skilet.ro> | 2025-10-15 10:11:33 +0100 |
|---|---|---|
| committer | jamie <git@skilet.ro> | 2025-10-15 10:11:33 +0100 |
| commit | f447af6550dfa8dc77aeada859ea134ad2b60b8c (patch) | |
| tree | 99cad359561582dce0e85fcd00fa89e23e8b18be /assets | |
| parent | 6d8a7df95f53ef33691f70759489bd7e961a9973 (diff) | |
feat: some very crude mobile-friendly responsiveness
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/default.scss | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/assets/css/default.scss b/assets/css/default.scss index c3d6044..8a80322 100644 --- a/assets/css/default.scss +++ b/assets/css/default.scss @@ -3,10 +3,8 @@ $foreground-color: oklch(98.51% 0 0); $primary-color: oklch(82.67% 0.096 307.5); $secondary-color: oklch(from $primary-color l c 240); -@import "syntax"; - @mixin for-phone-only { - @media (max-width: 499px) { + @media (max-width: 700px) { @content; } } @@ -91,14 +89,35 @@ nav { hr { width: 100%; } + } + @include for-phone-only { - position: inherit; - flex-direction: row; + body { + padding: 0rem; + gap: 0.2rem; - hr { - display: none; + &>* { + outline: 0; + } + } + + nav { + position: inherit; + flex-direction: row; + transform: translateX(0rem) !important; + width: 100%; + justify-content: space-between; + + a { + + writing-mode: inherit; + } + + hr { + display: none; + } } } @@ -163,20 +182,6 @@ ul { img { user-select: none; - - &:hover { - animation: spin 0.5s ease-in-out; - } -} - -@keyframes spin { - from { - transform: rotate(0deg); - } - - to { - transform: rotate(360deg); - } } hr { |
