]> localhost Git - jkinsey.net.git/blame_incremental - res/style.css
clean things up a little. lol
[jkinsey.net.git] / res / style.css
... / ...
CommitLineData
1@font-face {
2 font-family: "Cutive Mono";
3 src: url("./CutiveMono-Regular.woff2");
4}
5
6body {
7 background: url(blackstars.png);
8 background-color: #111111;
9 color: #fefefe;
10 font-family: monospace;
11 padding: 16px;
12}
13
14header {
15 width: 700px;
16 margin: 0 auto;
17}
18
19header h1 {
20 font-size: 2em;
21}
22
23header > div > a {
24 color:inherit;
25 text-decoration:none;
26}
27
28header nav {
29 display:flex;
30 flex-direction:column;
31 width: 400px;
32}
33
34header nav ul {
35 display:flex;
36 flex-direction:row;
37}
38
39header nav ul li {
40 display:inline-block;
41 text-align:center;
42 height:50px;
43 padding-right: 24px;
44 font-size:1.25em;
45 line-height:50px;
46}
47
48a {
49 color: #f771fc;
50}
51
52header nav ul li::before {
53 font-size: .75em;
54 line-height: .1em;
55 content: "#";
56}
57
58header nav ul li a:link, header nav ul li a:visited {
59 text-decoration:none;
60 color:inherit;
61}
62
63header nav ul li a:hover, header nav ul li a.selected {
64 text-decoration:underline;
65}
66
67article {
68 width: 700px;
69 margin: 0 auto;
70 /* padding: 16px 0px 16px 0px; */
71}
72
73article h2 {
74 /* padding: 8px 0px 8px 0px; */
75 font-size: 1.2em;
76}
77
78article h2::before {
79 font-size: 1em;
80 content: "\2014"; /* emdash */
81}
82
83em {
84 font-style:italic;
85}
86
87em > em {
88 font-style:normal;
89 font-weight:bold;
90}
91
92
93article p {
94 line-height: 1.25em;
95}
96
97article div {
98 padding: 16px 0px 16px 0px;
99}
100
101a, p, h1, h2 {
102 background-color: #111111;
103}