-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
executable file
·216 lines (183 loc) · 4.51 KB
/
index.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
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
@font-face {
font-family: 'karbonregularitalic';
src: url('assets/fonts/karbon-regularitalic-webfont.eot');
src: url('assets/fonts/karbon-regularitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/fonts/karbon-regularitalic-webfont.woff') format('woff'),
url('assets/fonts/karbon-regularitalic-webfont.ttf') format('truetype'),
url('assets/fonts/karbon-regularitalic-webfont.svg#karbonregularitalic') format('svg');
font-weight: normal;
font-style: normal; }
html {
height: 100%;
}
body {
background: #000;
-webkit-user-select: text;
-moz-user-select: text;
user-select: text;
pointer-events: text;
}
body > .header .links li:nth-child(1) a::after {
-webkit-transform: rotate(-1deg) scale(1,1);
-moz-transform: rotate(-1deg) scale(1,1);
transform: rotate(-1deg) scale(1,1);
}
.wrapper {
display: table;
position: static;
width: 100%;
margin-top: 120px;
min-height: 100%;
background: #000;
}
h2 {
display: block;
width: 100%;
text-align: center;
max-width: 700px;
margin: 1em auto;
font-family: 'karbonlight',Sans-Serif;
font-size: 44px;
line-height: 50px;
}
.page {
display: table-cell;
vertical-align: middle;
}
.thumbnails a .thumbimage {
display: block;
width: 300px;
height: 169px;
background: transparent no-repeat left top;
background-position: -2400px;
background-size: 5700px 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.thumbnails a[href*='hue'] .thumbimage { background-image: url('assets/thumbs/hue.jpg'); }
.thumbnails a[href*='cardinal'] .thumbimage { background-image: url('assets/thumbs/cardinal.jpg'); }
.thumbnails a[href*='research'] .thumbimage { background-image: url('assets/thumbs/research.jpg'); }
.thumbnails a[href*='chroma'] .thumbimage { background-image: url('assets/thumbs/chroma.jpg'); }
.thumbnails a[href*='instinct'] .thumbimage { background-image: url('assets/thumbs/instinct.jpg'); }
.thumbnails a[href*='electronics'] .thumbimage { background-image: url('assets/thumbs/electronics.jpg'); }
.thumbnails a[href*='screen'] .thumbimage { background-image: url('assets/thumbs/screen.jpg'); }
.thumbnails a[href*='bitsnbobs'] .thumbimage { background-image: url('assets/thumbs/bitsnbobs.jpg'); }
.thumbnails {
max-width: 950px;
margin: 0 auto;
padding-bottom: 4em;
text-align: center;
}
.thumbnails li {
display: inline-block;
width: 300px;
margin: 0 25px 25px 0;
text-align: center;
}
.thumbnails li:nth-child(3n) {
margin-right: 0;
}
.thumbnails h4 {
position: relative;
font-family:'karbonregular',Sans-Serif;
font-size: 26px;
color: #fff;
z-index: 10;
-webkit-transition: .1s linear text-shadow;
-moz-transition: .1s linear text-shadow;
transition: .1s linear text-shadow
}
.thumbnails h5 {
font-family:'karbonregularitalic',Sans-Serif;
font-size: 16px;
color: #fff;
opacity: .6;
-webkit-transition: .1s linear opacity, .1s linear text-shadow;
-moz-transition: .1s linear opacity, .1s linear text-shadow;
transition: .1s linear opacity, .1s linear text-shadow;
}
.thumbnails a:hover {
position: relative;
bottom: 1px;
}
.thumbnails a:hover h4 {
text-shadow: 0 0 10px #fff, 0 0 30px #fff, 0 0 50px #fff;
}
.thumbnails a:hover h5 {
opacity: .7;
text-shadow: 0 0 10px #fff, 0 0 30px #fff;
}
.thumbnails a:active {
position: relative;
bottom: -1px;
}
@media (max-width: 1000px) {
h2 {
font-size: 35px;
line-height: 40px;
}
.thumbnails {
max-width: 625px;
padding-bottom: 3em;
}
.thumbnails li:nth-child(3n) {
margin-right: 25px;
}
.thumbnails li:nth-child(2n) {
margin-right: 0;
}
}
@media (max-width: 900px) {
.wrapper {
margin-top: 39px;
}
.thumbnails {
margin: 0 auto;
}
}
@media (max-width: 675px) {
html, body {
overflow-x: hidden;
}
h2 {
max-width: 450px;
padding: 0 50px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.thumbnails {
width: 100%;
max-width: 300px;
}
.thumbnails li {
margin: 0 0 25px 0;
width: 100%;
}
.thumbnails img {
width: 100%;
}
}
@media (max-width: 500px) {
.thumbnails li {
margin: 0 auto 25px auto;
}
.thumbnails a .thumbimage {
background-size: 5700px 101%;
}
}
@media (max-height: 500px) and (min-width: 675px) {
.wrapper {
margin-top: 39px;
}
}
@media (max-height: 950px) {
.thumbnails {
padding-bottom: 3em;
}
}
@-moz-document url-prefix() {
.navigation li a {
font-family:'karbonlight',Sans-Serif;
}
}