adjust line-height
[~bandali/bndl.org] / style.css
CommitLineData
ef72be3e
AB
1/* for old browsers */
2article, aside, footer, header, nav, section {
3 display: block;
4}
5
cb742bb6 6body {
ef72be3e 7 font-family: FreeSans, sans-serif;
737aed00 8 line-height: 1.4;
ef72be3e
AB
9 padding: 1em;
10}
11
9998ccd0
AB
12main {
13 margin: auto;
14 max-width: 38em;
15}
16
d32c4bec
AB
17main > header {
18 margin-bottom: 1em;
ef72be3e 19}
d32c4bec 20
ef72be3e
AB
21#title {
22 font-size: 2.1em;
23 font-weight: normal;
24 margin-bottom: 0;
25}
26#title:after {
27 content: ".org";
28 color: #dadada;
cb742bb6 29}
ef72be3e
AB
30#subtitle {
31 display: inline;
32 font-weight: normal;
33 font-size: 1.2em;
cb742bb6 34 color: #444;
cb742bb6 35}
ef72be3e
AB
36
37a {
38 text-decoration: none;
39 outline: 0;
cb742bb6 40}
ef72be3e
AB
41
42article h3 {
43 font-weight: normal;
cb742bb6 44 color: #777;
ef72be3e
AB
45}
46
47code {
48 font-size: 1.15em;
49}
50
51table td {
52 padding: 0 0.3em;
53}
54table td:first-child {
55 padding-left: 0;
56}
57table td:last-child {
58 padding-right: 0
59}
60
61nav ul {
62 list-style-type: none;
63 padding: 0;
64}
65nav li {
66 display: inline;
67}
68nav li:after {
69 content: "\00a0\00b7";
70}
71nav li:last-child:after {
72 content: "";
73}
74
9998ccd0
AB
75main {
76 display: grid;
77 grid-template-columns: auto 38em auto;
d32c4bec
AB
78 grid-column-gap: 1.5em;
79 grid-row-gap: 1em;
9998ccd0
AB
80}
81
82main > h3 {
83 grid-column: 1;
ef72be3e 84 text-align: right;
9998ccd0
AB
85 font-size: 1em;
86 font-weight: normal;
ef72be3e 87}
9998ccd0
AB
88
89main > header, main > section {
90 grid-column: 2;
91}
92
d32c4bec
AB
93main > h3, ul:first-child {
94 margin-top: 0;
9998ccd0
AB
95 margin-bottom: 0;
96}
d32c4bec 97p:first-child {
9998ccd0 98 margin-top: 0;
cb742bb6 99}