Mobile device optimisation

This commit is contained in:
2025-11-04 17:28:05 +01:00
parent 50b8306057
commit 96fcd5d740
2 changed files with 42 additions and 8 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet" href="/css/style.css">
<meta charset="UTF-8">
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0">
<title> {{ .Site.Params.browserTitle }} :: {{ .Title }} </title>
</head>
+38 -4
View File
@@ -224,13 +224,47 @@ img {
/* ---------- Responsive Adjustments ---------- */
@media (max-width: 600px) {
body {
padding: 5rem 1rem 5rem;
.topbar {
width: 90%;
padding: 0.75rem 1.5rem;
}
.topbar-content {
flex-direction: column;
gap: 0.5rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
gap: 0.1rem;
}
.site-title {
font-size: 14pt;
}
.nav-links a {
font-size: 12pt;
margin-left: 0.5rem;
}
.bottombar {
padding: 0.75rem 0rem;
text-align: center;
}
.bottombar-content {
margin: 0 auto;
padding: 0;
width: 100%;
}
body {
padding: 0.5rem;
}
main {
padding-left: 0;
margin-top: 1rem;
}
}