summaryrefslogtreecommitdiffstats
path: root/themes/oni/css/style.css
blob: 3345e99a2a897cdc990ca3599bbf90bc1f113a68 (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
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
* { margin: 0; padding: 0; border: 0; }

body {
    background-color: #ffffff;
    color: #111111;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.2em;
    padding-top: 20px;
}

pre {
    margin: 20px 0 20px -2em;
    background-color: #111111;
    color: #bfbfbf;
    padding: 5px;
    border-radius: 4px;
    overflow: auto;
}

a { text-decoration: none; color: #0074d9; }
a:hover { text-decoration: underline; }
a:visited { color: #f012be; }

pre, code, tt { font-family: 'FantasqueSansMono-Regular'; }

h1 { font-size: 1.6em; font-family: 'Roboto'; font-weight: 700; text-align: center; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }

header, p, footer { margin-bottom: 15px; }
h2 { margin-top: 15px; margin-bottom: 10px; }
hr { margin: 8px 0 15px 0; border: 1px solid #808080; }

article h1 { font-size: 1.5em; text-align: left; margin-bottom: 2px; }
article h2 { font-size: 1.4em; letter-spacing: 1px; }
article h3 { font-size: 1.3em; }
article h4 { font-size: 1.2em; }
article h5 { font-size: 1.1em; }
article h6 { font-size: 1.0em; }
article .article-content { margin-left: 2em; }

article h1 small {
    display: block;
    font-size: 0.6em;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

article ul { margin-left: 1em; }

#content, #site-header, #site-footer { max-width: 725px; margin: 0 auto; }
#site-header, #site-footer, #page-navigation, ol, ul { margin-bottom: 15px !important; }
#site-navigation ul, ul.tags { float: right; list-style: none; }
#site-navigation li { display: inline-block; margin-left: 7px; }

ul.tags li {
    display: inline-block;
    background-color: #eeeeee;
    padding: 3px 5px;
    border-radius: 4px;
    margin-left: 5px;
    text-transform: uppercase;
}

ul.tags li a {
    color: #111111;
    font-family: 'FantasqueSansMono-Regular';
}

#page-navigation ul { list-style: none; }
#page-navigation li.prev { float: left; }
#page-navigation li.next { float: right; }

.clear { clear: both; }
.center { text-align: center; }

pre.src {
    position: relative;
    overflow: visible;
}
pre.src:before {
    display: none;
    position: absolute;
    background-color: white;
    top: -10px;
    right: 10px;
    padding: 3px;
    border: 1px solid black;
    color: black;
    border-radius: 3px;
}
pre.src:hover:before { display: inline; }

pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-makefile-gmake:before { content: 'GNUMakefile'; }