summaryrefslogtreecommitdiff
path: root/_assets/css/main.scss
blob: 6530a88dc18369ed45585d8fc2f86a1d839198b1 (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
* {
	box-sizing: border-box;
	line-height: 1; }

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0; }
html {
	display: table; }
body {
	display: table-cell;

	vertical-align: middle;
	margin: 0;
	overflow-y: scroll;
	font-family: "Helvetica", Times, serif; }

.container {
	width: 100%;
	max-width: 900px;
	margin: 10px auto 50px;
	padding: 20px; }
h1, .subtitle {
	margin: 0;
	text-align: center; }
.title {
	text-align: center; }
.logo, h1 {
	display: inline; }
.logo {
	height: 3.5em;
	position: relative;
	top: 0.4em;
	margin-right: 10px; }
h1 {
	font-size: 4em; }
.subtitle {
	font-size: 1.5em; }

.code {
	display: block;
	margin: 10px auto 20px;
	text-align: center;

	max-width: 400px;
	background-color: lightgray;
	padding: 10px;

	.code-content {
		display: inline-block;
		margin: 0; }
}

.nav {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;

	li {
		display: inline-block;
		padding: 5px 5px;
		margin: 0;
		margin-top: 20px;

		a, a:visited, a:active, a:hover {
			color: white;
			text-decoration: none;
			background-color: #A0A0A0;
			padding: 10px;
			font-size: 1.2em;
			border: 4px solid #606060;
			border-top: none;
			border-right: none; }
		a:hover {
			background-color: #909090; }
		a:active {
			background-color: #808080;
			border: 4px solid #404040;
			border-top: none;
			border-right: none; }
	}
}