summaryrefslogtreecommitdiffstatshomepage
path: root/scss/style.scss
blob: d8b1fd444f45139aee1200afdb0fc3f045b883ee (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
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
117
118
119
120
121
122
123
124
125
126
@import '_webfonts';
@import '_responsive_fonts';

$font-sans: "Alegreya Sans", sans;
$font-serif: Alegreya, serif;
$font-mono: Iosevka, Inconsolata, monospace;

$yellow: #ffd400;
$canary: #ffffb3; 

body {
	background-color: white;
	color: black;
	line-height: 1.4;
	margin: 0;
}

h1 {
	font-family: $font-serif;
	font-size: 3.5rem;
	font-weight: normal;
	margin: 0;
}

code {
	font-family: $font-mono;
	font-size: smaller;
}

pre {
	background-color: $canary;
	overflow: auto;
	padding: .7rem;
}

blockquote {
	background-color: $canary;
	padding: .7rem;
}

blockquote > p {
	margin: 0;
}

footer {
	background-size: 200px;
	height: 200px;
}

.frontpage {
	background-color: $yellow;
	font-family: $font-serif;
	font-size: 4rem;
}

.post {
	font-family: $font-sans;
	font-size: 1.5rem;
}

nav.main ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
	margin: .5rem;
	padding: 0;
}

nav.main li a {
	background-color: white;
	border: 4px solid black;
	box-shadow: 10px 10px 0 black;
	color: black;
	display: block;
	margin: .8rem .8rem;
	padding: 0 .8rem;
	text-decoration: none;
}

nav.main li a:hover {
	background-color: black;
	color: white;
}

nav.main li a:focus {
	background-color: black;
	color: white;
}

article {
	margin: 1rem auto;
	max-width: 1024px;
	padding: 0 1rem;

	header {
		border-bottom: 1px solid darkgrey;

		a {
			background-color: white;
			font-weight: bold;
			text-decoration: none;
		}

		address {
			display: none;
		}

		time { font-size: smaller; }
	}

	img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		height: auto;
	}

	hr {
		border: 0;
		border-top: 1px dashed grey;
		width: 80%;
	}

	ul { list-style: square; }
}