summaryrefslogtreecommitdiff
path: root/src/main.scss
blob: 1ce7c8d954f4bcf7e251441734baa183835cf48f (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
body {
	margin: 0;
	padding: 0;
	font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", "Warnock Pro", serif;
}

header {
	width: 100%;

	h1 {
		margin: 0;
		background-color: rgba(0, 0, 0, 0.6);
		padding: 4px;
		padding-bottom: 0;

		text-align: middle;
		a:first-child {
			font-size: 50px;
			color: white;
		}
		&, a:not(:first-child) {
			color: white;
			font-size: 15px;
			color: white;
		}
		a {
			text-decoration: none;
		}
		a:hover, a:focus {
			text-decoration: underline;
		}
	}

	nav {
		/* layout */
		line-height: 1;
		width: 100%;
		ul {
			padding: 0;
			margin: 0;
			list-style: none;
		}
		li {
			display: inline-block;
		}
		a {
			display: block;
		}

		/* pretty */
		background-color: Maroon;
		a {
			padding: 0.2em 1em;
			font-size: 40px;
			color: GoldenRod;
			text-decoration: none;

			&:hover, &:focus {
				background-color: white;
			}
			&:hover, &:visited {
				color: GoldenRod;
			}
			&:active {
				color: Black;
			}
		}

		form {
			padding: 0.2em 0;
			font-size: 40px;
			display: block;

			input {
				font-size: 25px;
				border: solid 1px #333333;
				vertical-align: middle;
			}
			input[type="search"] {
				max-width: 10em;
			}
			input:first-child {
				border-top-left-radius: 4px;
				border-bottom-left-radius: 4px;
			}
			input:not(:last-child) {
				border-right: 0;
			}
			input:last-child {
				border-top-right-radius: 4px;
				border-bottom-right-radius: 4px;
			}
		}
	}
}

article {
	max-width: 6.5in;
	margin: 0 auto;

	.tag {
	        font-size: 60%;
	    // this should work!
		font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", "Warnock Pro", serif;
		color: white;
		text-decoration: none;
		text-align: center;

		padding: 4px 7px 5px 7px;
		border-radius: 2px;
	}
	.tag.FF { background: FireBrick; }
	.tag.SS { background: SeaGreen; }
	.tag.ES { background: DarkViolet; }
	.tag.HB { background: DimGray; }
	.tag.DM { background: DarkSlateGray; }
	.tag.WP { background: GhostWhite; color: black; }

	border-bottom: solid 1px #333333;
}

footer {
	max-width: 6.5in;
	margin: 0 auto;
	padding: 1em 0;
	font-size: 60%;
	p {
		margin: 0;
	}
}

body.index {
	article {
		ul {
			list-style: none;
			display: table;
			padding: 0;
			li {
				display: table-row;
				line-height: 1.3em;
				& > * {
					display: table-cell;
					padding-right: 0.1em;
				}
			}
		}
		a.external {
			background-position: center right;
			background-repeat: no-repeat;
			background-image: url(external.svg);
			background-size: 12px 12px;
			padding-right: 13px;
		}
	}
}

body.dnd {
	background: url(dnd/background.png) repeat-y;
	background-size: 100%;

	/* This bit mostly taken from the defaults of org-mode export */
	article {
		font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", "Warnock Pro", serif;
		font-size: 12pt;

		table {
			border-spacing: 0;
			&, tr:last-child td, tr:last-child th {
				border-bottom: solid 1px black;
			}
			&, tr:first-child td, tr:first-child th {
				border-top: solid 1px black;
			}
			td, th {
				padding: 6px;
			}
		}

		p {	text-align: justify; }
		.title  { text-align: center; }
		.todo   { color: red; }
		.done   { color: green; }
		.target { }
		.timestamp { color: #bebebe; }
		.timestamp-kwd { color: #5f9ea0; }
		.right  {margin-left:auto; margin-right:0px;  text-align:right;}
		.left   {margin-left:0px;  margin-right:auto; text-align:left;}
		.center {margin-left:auto; margin-right:auto; text-align:center;}
		p.verse { margin-left: 3% }
		pre {
			border: 1pt solid #AEBDCC;
			background-color: #F3F5F7;
			padding: 5pt;
			//font-family: courier, monospace;
			font-size: 90%;
			overflow:auto;
		}
		table { border-collapse: collapse; }
		td, th { vertical-align: top;  }
		th.right  { text-align:center;  }
		th.left   { text-align:center;   }
		th.center { text-align:center; }
		td.right  { text-align:right;  }
		td.left   { text-align:left;   }
		td.center { text-align:center; }
		dt { font-weight: bold; }
		div.figure { padding: 0.5em; }
		div.figure p { text-align: center; }
		div.inlinetask {
			padding:10px;
			border:2px solid gray;
			margin:10px;
			background: #ffffcc;
		}
		textarea { overflow-x: auto; }
		.linenr { font-size:smaller }
		.code-highlighted {background-color:#ffff00;}
		.org-info-js_info-navigation { border-style:none; }
		#org-info-js_console-label { font-size:10px; font-weight:bold;
									 white-space:nowrap; }
		.org-info-js_search-highlight {background-color:#ffff00; color:#000000;
									   font-weight:bold; }
	}
}