summaryrefslogtreecommitdiff
path: root/styles/def.css
blob: fea29c275d3ccec6fe4dffcb896e2c01fd2827f9 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
:root {
	--bg: #646c7f;
	/* --bg: #717394; */
	--fg: #fffde0;
	--fg-link: #fff18f;
}

/* global */
body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: serif;
	font-size: 16px;
	line-height: 1.2;
}

/* header */
header {
	padding: 20px;
}

header h1 {
	margin: 0;
	font-size: 35px;
	font-weight: normal;
	font-style: italic;
}

.h_mallocd {
	color: var(--fg);
}

header a {
	color: var(--fg);
	text-decoration: none;
}

/* special tag */
.uint {
	background-color: var(--fg);
	color: var(--bg);
}

/* sidebar */
#side-bar {
	position: absolute;
	top: 80px;
	left: 0;
	width: 200px;
	padding-left: 20px;
}

.side-title {
	font-size: 25px;
	margin: 20px 0 8px 0;
	color: var(--fg);
}

#side-bar ul {
	margin: 0 0 0 20px;
	padding: 0px;
	list-style: none;
}

#side-bar li {
	margin: 6px 0;
}

/* links */
a {
	color: var(--fg-link);
	text-decoration: none;
	padding: 1px 2px;
}

a:hover {
	background: var(--fg);
	color: var(--bg);
}

/* article */
article {
	margin: 80px 0 0 0;
	max-width: 800px;
}

.art_img {
	image-rendering: pixelated;
	image-rendering: crisp-edges;
	image-rendering: -moz-crisp-edges;
	max-width: 200px;
	max-height: 190px;
	height: auto;
}

h3 {
	margin-top: 30px;
	font-size: 25px;
	color: var(--fg);
	font-weight: normal;
}

/* footer */
footer {
	padding-top: 80px;
	font-style: italic;
	font-size: 17px;
}

/* article + footer alignment */
article, footer {
	margin-left: 240px;
	margin-top: 0px;
}