summaryrefslogtreecommitdiffstats
path: root/local.css
blob: af8f6e055713946b8c59e0220deef0c34f8055b0 (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
/* ikiwiki local style sheet */

.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 }