commit 110b13c61a47d9066850958a7d0646c828d9b60b
parent 0b43880692ccb752aca47613b419c4aa8b45eab9
Author: sej <sej@sejdt.localhost>
Date: Mon, 30 Sep 2024 19:58:34 +0200
Fix styling issues.
Diffstat:
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/css/stylesheet.css b/css/stylesheet.css
@@ -27,7 +27,7 @@ h1 {
}
body{
- margin: 0 0 0 0;
+ margin: 2ch 0 0 0;
background-color: black;
color: white;
}
@@ -68,7 +68,7 @@ img.preview {
}
img.viewer {
- height: 100vh;
+ height: calc( 100vh - 2ch );
width: 100vw;
display: block;
margin-left: auto;
@@ -97,14 +97,14 @@ img.viewer {
}
#navbar a {
- float: right;
+ float: left;
display: block;
- height: 5vh;
+ height: 3ch;
text-decoration: none;
background-color: black;
color: white;
text-align: left;
- width: 50%;
+ width: 25%;
font-size: 100%;
}
@@ -116,7 +116,7 @@ img.viewer {
#navbar a.np {
margin: 0;
background-color: transparent;
- height: 80vh;
+ height: calc( 100vh - 2ch );
}
#navbar a.half {
@@ -128,12 +128,7 @@ img.viewer {
}
footer {
- margin: 10em 4em 1em 4em;
-}
-
-footer img {
- width: auto;
- height: auto;
+ margin: 5% 4ch 4ch 4ch;
}
a {