-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathstyle.css
72 lines (72 loc) · 1.2 KB
/
style.css
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
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700);
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
min-height: 100%;
max-width: 100%;
background: #111;
font-family: Lato, sans-serif;
}
.container {
min-height: 100%;
max-width: 960px;
margin: 0 auto;
}
.game-wrap {
position: relative;
padding: 20px 0 0;
}
canvas {
position: relative;
max-width: 100%;
border: 2px solid black;
max-height: 100%;
display: block;
margin: 0 auto;
}
.content {
color: #ccc;
text-align: center;
padding: 0 20px;
}
p {
margin: 10px 0;
font-size: 18px;
line-height: 1.5em;
}
code {
background: #222;
background: linear-gradient(#222, #000);
line-height: 1.3em;
display: inline-block;
border-radius: 3px;
font-family: monospace;
padding: 1px 5px;
margin: 0 2px;
}
a {
color: skyblue;
text-decoration: none;
transition: .2s;
&:hover {
color: lighten(skyblue, 10%);
text-decoration: underline;
}
}
.title {
font-size: 40px;
font-weight: 900;
margin: 20px 0;
@for $i from 1 through 11 {
span:nth-child(#{$i}){
color: hsl($i * 30, 50%, 50%);
}
}
}