]> localhost Git - jkinsey.net.git/blame - res/style.css
Add new testimonial
[jkinsey.net.git] / res / style.css
CommitLineData
048f206a
JK
1/* http://meyerweb.com/eric/tools/css/reset/
2 v2.0 | 20110126
3 License: none (public domain)
4*/
5
6html, body, div, span, applet, object, iframe,
7h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8a, abbr, acronym, address, big, cite, code,
9del, dfn, em, img, ins, kbd, q, s, samp,
10small, strike, strong, sub, sup, tt, var,
11b, u, i, center,
12dl, dt, dd, ol, ul, li,
13fieldset, form, label, legend,
14table, caption, tbody, tfoot, thead, tr, th, td,
15article, aside, canvas, details, embed,
16figure, figcaption, footer, header, hgroup,
17menu, nav, output, ruby, section, summary,
18time, mark, audio, video {
19 margin: 0;
20 padding: 0;
21 border: 0;
22 font-size: 100%;
23 font: inherit;
24 vertical-align: baseline;
25}
26/* HTML5 display-role reset for older browsers */
27article, aside, details, figcaption, figure,
28footer, header, hgroup, menu, nav, section {
29 display: block;
30}
31body {
32 line-height: 1;
33}
34ol, ul {
35 list-style: none;
36}
37blockquote, q {
38 quotes: none;
39}
40blockquote:before, blockquote:after,
41q:before, q:after {
42 content: '';
43 content: none;
44}
45table {
46 border-collapse: collapse;
47 border-spacing: 0;
48}
49
50/*** End reset.css ***/
51
52
fc90a94a
JK
53body {
54 background: url(blackstars.png);
75da0d8d 55 background-color: #111;
fc90a94a
JK
56 color: #fefefe;
57 font-family: monospace;
58 padding: 16px;
048f206a 59 margin: 8px;
b21ac33c 60 font-size: 1.1em;
b0fbfd4f
JK
61}
62
048f206a
JK
63
64main {
65 max-width: 700px;
fc90a94a 66 margin: 0 auto;
4bbfb028
JK
67}
68
048f206a
JK
69a {
70 color: #f771fc;
71}
72
73a, p, h1, h2, h3, li {
74 background-color: #111111;
75}
76
77em {
78 font-style: italic;
79}
80
81em > em {
82 font-style: normal;
83 font-weight: bold;
84}
85
b21ac33c
JK
86sup {
87 font-size: 0.75em;
88 display: inline-block;
89 vertical-align: top;
90 margin-top: -0.4em;
91 padding-left: 0.1em;
92}
93
94.hidden {
95 display: none;
96}
048f206a
JK
97
98/** Header **/
99
fc90a94a
JK
100header h1 {
101 font-size: 2em;
048f206a 102 font-weight: bold;
75da0d8d 103 margin: 0;
e29d9cc4
JK
104}
105
048f206a
JK
106header h1 a {
107 color: inherit;
108 text-decoration: none;
d7edfd55
JK
109}
110
9d04f7fb 111header nav {
048f206a
JK
112 padding: 16px 0px 16px 0px;
113 line-height: 2em;
e29d9cc4
JK
114}
115
9d04f7fb 116header nav ul {
048f206a
JK
117 display: flex;
118 flex-direction: row;
119 flex-wrap: wrap;
4bbfb028
JK
120}
121
9d04f7fb 122header nav ul li {
048f206a
JK
123 display: inline-block;
124 text-align: center;
75da0d8d 125 margin-right: 24px;
048f206a 126 font-size: 1.25em;
75da0d8d 127 background-color: inherit;
d7edfd55
JK
128}
129
fc90a94a
JK
130header nav ul li::before {
131 font-size: .75em;
132 line-height: .1em;
133 content: "#";
134}
135
9d04f7fb 136header nav ul li a:link, header nav ul li a:visited {
048f206a
JK
137 text-decoration: none;
138 color: inherit;
d7edfd55
JK
139}
140
048f206a
JK
141header nav ul li a:hover {
142 text-decoration: underline;
4bbfb028 143}
e29d9cc4 144
048f206a
JK
145/** End Header **/
146
147
148/** Article **/
e29d9cc4 149
fc90a94a 150article h2 {
048f206a 151 margin: 1em 0 1em 0;
fc90a94a 152 font-size: 1.2em;
048f206a 153 font-weight: bold;
e29d9cc4
JK
154}
155
048f206a
JK
156article p {
157 margin: 1em 0 1em 0;
158 line-height: 1.25em;
9f0253f6
JK
159}
160
048f206a
JK
161article h3 {
162 display: inline-flex;
163 width: 95%;
164 margin: 8px 0px 8px 0px;
165 font-weight: bold;
166 padding: 0;
167 font-size: 1em;
9f0253f6
JK
168}
169
048f206a
JK
170article h3 em {
171 text-align: right;
172 flex-grow: 1;
9d04f7fb
JK
173}
174
048f206a 175article section {
75da0d8d
JK
176 margin: 16px 0px 16px 0px;
177}
178
048f206a
JK
179article section ul, article section ol {
180 padding-left: 40px;
9d04f7fb
JK
181}
182
048f206a 183article section li {
2bcca5c6 184 margin: 8px 0px 8px 0px;
048f206a 185 line-height: 1.25em;
2bcca5c6
JK
186}
187
048f206a
JK
188article section ul li {
189 list-style-type: disc;
9d04f7fb 190}
75da0d8d 191
048f206a
JK
192article section ol li {
193 list-style-type: decimal;
c0a5b390
JK
194}
195
048f206a 196/** End Article **/