summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2020-05-22 00:07:30 +0200
committerSiri Reiter <siri@jones.dk>2020-05-22 00:07:30 +0200
commite13f463e89c8a3548e54e96aa1ecf31b50a0687d (patch)
treeb0e6af0774f4d488956be79672a9a08c87dfd7fd /style.scss
parent705040e9965584b172f411a93f6b7449f2328961 (diff)
position elements, margins vertically by ems and horisontally by percent, margins 2% - center topbar, header float left, sidebar top-margin negative, relative to content height
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss39
1 files changed, 26 insertions, 13 deletions
diff --git a/style.scss b/style.scss
index bce431f..d5f59ce 100644
--- a/style.scss
+++ b/style.scss
@@ -28,7 +28,11 @@ h1 {
}
.pageheader {
- padding: 1em;
+ padding: 0;
+ header {
+ float: right;
+ padding: 1em 2%;
+ }
}
a {
@@ -50,42 +54,46 @@ a {
}
.topbar {
- padding: 1em 2em;
+ padding: 1em 2%;
+ text-align: center;
}
.topbar ul {
@include inline-list;
li {
- margin-right: 4%;
+ margin-right: 2em;
font-variant: all-petite-caps;
}
}
-
.sidebar {
- background: none;
- padding: 1em;
+ float: left;
+ padding: 0;
border: none;
- margin-top: 4em;
- margin-right: 2em;
- margin-bottom: 2em;
- margin-left: 2em;
+ margin-top: -400px;
+ margin-right: 2%;
+ margin-bottom: 1em;
+ margin-left: 2%;
+ width: 21%;
+ background: transparent;
}
-.sidebar ul li {
+.sidebar ul {
list-style-type: none;
+ padding-left: 0;
+ margin: 0;
}
.sidebar ul li .selflink {
color: $linkHoverColor;
}
-
#content {
width: 100%;
max-width: 52em;
+ min-height: 480px;
margin: 0 auto;
- padding: 1em;
+ padding: 2em 2%;
}
#backlinks {
@@ -110,3 +118,8 @@ img.solo {
th {
text-align: left;
}
+
+#pageinfo {
+ border-top: none;
+ padding-left: 2em;
+}