summaryrefslogtreecommitdiffstats
path: root/local.css
blob: a677d0ff4e599afdd56dc2043346683b52f08758 (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
/* ikiwiki local style sheet */
h1 { font-weight: bold }
#content a { text-decoration: underline }
.pageheader, #pagebody, #footer {
  max-width: 60rem;
  margin: 0 auto;
  padding-left: 2em;
  padding-right: 2em;
}

.pageheader-wrapper {
  margin: 0;
  overflow: hidden;
  background: #eee;
  border-color: #999;
  border-style: none none solid none;
  border-width: 1px;
}

.pageheader { border: none }

#content {
  max-width: 38rem;
  margin: 0;
  line-height: 1.5;
}

video { max-width: 100% }

#footer { font-size: 0.9em }

.pagecopyright, .pagelicense { font-style: normal }
.pagecopyright + .pagelicense { margin-top: 0.5em }
.pagecopyright p { margin-bottom: 0; line-height: 1.2 }
.pagelicense p { margin-top: 0 }

.muted { color: #666 }

.center { text-align: center }
.right { text-align: right }
.justify { text-align: justify }

pre { padding: 1em }
pre, code {
  background-color: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
}
code { padding: .2em .3em }
pre > code { border: none; padding: 0 }

.sidebar { padding: 0 1em }
.sidebar ul, .sidebar ol { padding-left: 1em }
.sidebar > p:nth-child(1) { margin-bottom: 0.1em }
.sidebar > p:nth-child(2) { margin-top: 0; margin-bottom: 0 }
.sidebar > p:nth-child(3) { margin-top: 0.1em }

/*
 * Yoinked from http://live.emacsconf.org/
*/
table {
    margin: 0 auto 1rem;
    border-collapse: collapse;
}

th, td {
    font-size: 0.9em;
    text-align: left;
    min-width: 8em;
}

tbody td {
    vertical-align: middle;
    padding: 0.1rem 0.75rem;
    padding: 0.5em;
    border: 1px solid #ced4da;
}

.subtitle { cursor: pointer }