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

#content { 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 }