diff options
| author | simon <vesspa0330@gmail.com> | 2026-11-08 23:03:40 -0500 |
|---|---|---|
| committer | simon <vesspa0330@gmail.com> | 2026-11-08 23:03:40 -0500 |
| commit | fb3e473e1aa68a534b832f35ac081a12488d801f (patch) | |
| tree | 896a26a06df189fe5fe4c9ef928e1e8d06af19db /css/style.css | |
| parent | 171dcc2ae1494efcfbb88f4d2e76592ddd76a202 (diff) | |
mobile fixes
Diffstat (limited to 'css/style.css')
| -rw-r--r-- | css/style.css | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/css/style.css b/css/style.css index 87cc80e..3532018 100644 --- a/css/style.css +++ b/css/style.css @@ -240,22 +240,27 @@ footer, footer * { background-color: transparent; } footer { display: flex; + flex-direction: row; justify-content: space-between; color: var(--gold); text-align: center; - padding-top: 2rem; + padding: 4rem 0; } #footer-left { + display: flex; + flex-direction: column; width: 50%; text-align: left; - margin: 5rem; - + align-items: left; } #footer-right { + display: flex; + flex-direction: column; width: 50%; + align-items: right; text-align: right; - margin: 5rem; + margin-right: 5%; } footer a:hover { @@ -307,6 +312,10 @@ footer a:hover { h1 { font-size: 5.5rem; } + + #footer-left, #footer-right { + margin-left: 5%; + } } /* MOBILE RULES */ @@ -340,7 +349,7 @@ footer a:hover { padding: 4.8rem 0 4rem 0; transition: top 0.5s ease; - top: -21.8rem; + top: -21.5rem; left: 0; width: 100%; @@ -363,22 +372,28 @@ footer a:hover { /** footer */ footer { font-size: 0.9rem; + flex-direction: column-reverse; } #footer-left { - margin-right: .25rem; - margin-left: 2rem; + flex-direction: column; + align-items: center; + margin-bottom: 2rem; + width: 100%; } #footer-right { - margin-right: 2rem; - margin-left: .25rem; + flex-direction: column; + align-items: center; + margin-bottom: 2rem; + width: 100%; + gap: .5rem; } /** content rules */ h1 { - font-size: 4rem; + font-size: 3rem; } |
