about summary refs log tree commit diff stats
path: root/themes/xmin/static/css/style.css
blob: 76658fe82e3b83680b079efb77fe4a2776790f20 (plain)
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
body {
  font-family: sans-serif;
  line-height: 1.5em;
  margin: auto;
  max-width: 800px;
  padding: 1em;
}

/* header and footer areas */
nav > ul { padding: 0; }
nav > ul > li { display: inline-block; }
article > header, nav > ul a {
  background: #eee;
  border-radius: 5px;
  padding: 5px;
  text-decoration: none;
}
.terms { font-size: .9em; }
nav > ul, article > header, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  border-style: dashed;
  color: #ddd;
}
body > nav {
  border-bottom: 1px solid #ddd;
}
body > footer {
  border-top: 1px solid #ddd;
}

/* code */
pre {
  border: 1px solid #ddd;
  overflow-x: auto;
  padding: 1em;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  border-bottom: 1px solid #666;
  border-top: 1px solid #666;
  margin: auto;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }