summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/assets/aoidh.css
blob: 07b2e89265ff5883ed332a889295e0147ab73ec5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
:root {
  --paper-color: #ffffea;
  --light-yellow: #eeee9e;
  --dark-yellow: #99994c;
  --light-blue: #eaffff;
  --dark-blue: #8888cc;
  --light-gray: #eee;
  --dark-gray: #888;
}

html {
  background: var(--light-gray);
}

body {
  margin: 1rem auto;
  padding: .5rem 1rem .25rem;
  max-width: 60rem;
  border: 1px solid var(--dark-yellow);
  box-shadow: 2px 2px var(--dark-yellow);
}

body {
  line-height: 1.35rem;
  font-family: serif;
  text-rendering: optimizeLegibility;
  color: #000;
  background: #fff;
}

.content {
  margin-left: auto;
  margin-right: auto;
  max-width: 45rem;
}

header {
  margin-bottom: 2rem;
}

nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  gap: .4rem .8rem;
}

nav li {
  display: inline-block;
}

nav a {
  display: inline-block;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: #000;
  border: .1rem solid var(--dark-blue);
  box-shadow: .1rem .1rem var(--dark-blue);
}

li.nav-active a {
  font-weight: bold;
  box-shadow: .2rem .2rem var(--dark-yellow);
}

nav a:active {
  box-shadow: 0 0;
}

ul {
  padding: 0;
}

p {
  text-align: justify;
  hyphens: auto;
  text-justify: inter-word;
}

a {
  text-decoration: none;
  border: 1px solid transparent;
}

a:hover {
  text-decoration: none;
  color: #000;
  background: var(--light-blue);
}

a:active {
  text-decoration: none;
  color: #000;
  background: var(--light-blue);
  border: 1px solid var(--dark-blue);
}

h1 {
  font-size: 130%;
}

h2 {
  font-size: 120%;
}

h3 {
  font-size: 110%;
}

table {
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 1.5rem;
}

thead tr {
  border: 1px solid #000;
  background: var(--light-blue);
}

tbody tr {
  border: 1px solid var(--dark-gray);
}

th, td {
  padding: .15rem .6rem .15rem;
  vertical-align: middle;
}