projects
/
~bandali
/
bndl.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use bandali.eu.org
[~bandali/bndl.org]
/
style.css
diff --git
a/style.css
b/style.css
index
e5d2862
..
9c09240
100644
(file)
--- a/
style.css
+++ b/
style.css
@@
-5,19
+5,26
@@
article, aside, footer, header, nav, section {
body {
font-family: FreeSans, sans-serif;
body {
font-family: FreeSans, sans-serif;
+ text-transform: lowercase;
+ line-height: 1.4;
padding: 1em;
}
padding: 1em;
}
-
body > header
{
- margin
-bottom: 2em !important
;
+
main
{
+ margin
: auto
;
}
}
+
+main > header {
+ margin-bottom: 1em;
+}
+
#title {
font-size: 2.1em;
font-weight: normal;
margin-bottom: 0;
}
#title:after {
#title {
font-size: 2.1em;
font-weight: normal;
margin-bottom: 0;
}
#title:after {
- content: ".org";
+ content: ".
eu.
org";
color: #dadada;
}
#subtitle {
color: #dadada;
}
#subtitle {
@@
-39,6
+46,7
@@
article h3 {
code {
font-size: 1.15em;
code {
font-size: 1.15em;
+ text-transform: none;
}
table td {
}
table td {
@@
-65,25
+73,31
@@
nav li:last-child:after {
content: "";
}
content: "";
}
-section {
- position: relative;
-}
-section > h3 {
- position: absolute;
- right: 75%;
- width: 25%;
- margin: 0;
- padding: 0 1em 0 0; /* 1.75 */
- font-weight: normal;
- font-size: 1em;
+main {
+ display: grid;
+ grid-template-columns: auto 32em auto;
+ grid-column-gap: 1.5em;
+ grid-row-gap: 1em;
+}
+
+main > h3 {
+ grid-column: 1;
text-align: right;
text-align: right;
- white-space: nowrap;
+ font-size: 1em;
+ font-weight: normal;
}
}
-section > .section, article > .section, body > header {
- position: relative;
- left: 25%;
- width: 50%;
- margin: 0;
- padding: 0;
- max-width: 38em;
+
+main > header, main > section {
+ grid-column: 2;
+}
+
+main > h3, ul:first-child {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
}
}