/
app.less
93 lines (80 loc) · 1.4 KB
/
app.less
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
html, body {
margin: 0;
padding: 0;
height: 100%;
}
body {
color: #eee;
}
#container {
position: relative;
z-index: 1;
min-height: 100%;
#gradient > .vertical(#111, #333);
&:before {
content: "";
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-image: url(../img/noise.png);
}
&.music-player-active > section.content {
padding-top: 145px;
}
&.music-player-active > section.fatal {
padding-top: 345px;
background-position: center 145px;
}
}
section.content {
padding: 100px 40px 200px;
.clearfix();
}
section.fixed-width {
margin: 0 auto;
padding-left: 0;
padding-right: 0;
width: 800px;
}
section.fatal {
padding-top: 300px;
background: url(../img/look_of_disapproval.png) no-repeat center 100px;
text-align: center;
font-size: 30px;
color: #888;
text-shadow: 0 -1px 0 #000;
}
footer {
position: relative;
z-index: 1;
margin-top: -160px;
.box-sizing(border-box);
height: 160px;
border-top: 5px solid #214567;
background-color: #111;
text-align: center;
color: #444;
a {
color: #666;
.transition(color .1s linear);
}
a.github {
display: inline-block;
margin: 10px 0;
.square(100px);
.opacity(50);
background: url(../img/github.png) no-repeat;
text-indent: -9999px;
.transition(opacity .1s linear);
-webkit-transform: translate3d(0, 0, 0);
&:hover {
.opacity(100);
}
}
p.credits {
font-size: 14px;
}
}