2
2
/* Global */
3
3
4
4
html {
5
- height : 100% ;
6
- min-height : 100% ;
5
+ height : 100% ;
6
+ min-height : 100% ;
7
7
}
8
8
9
9
body {
10
- position : relative;
11
- min-height : 100% ;
12
- font-family : 'Helvetica Neue' , 'Segoe UI' , Arial, sans-serif;
13
- font-size : 17px ;
14
- line-height : 1.4 ;
15
- color : # 202428 ;
16
- background : # fff ;
17
- -webkit-font-smoothing : antialiased;
18
- -moz-osx-font-smoothing : grayscale;
10
+ position : relative;
11
+ min-height : 100% ;
12
+ font-family : 'Helvetica Neue' , 'Segoe UI' , Arial, sans-serif;
13
+ font-size : 17px ;
14
+ line-height : 1.4 ;
15
+ color : # 202428 ;
16
+ background : # fff ;
17
+ -webkit-font-smoothing : antialiased;
18
+ -moz-osx-font-smoothing : grayscale;
19
19
}
20
20
21
21
main {
22
22
padding : 20px 0 ;
23
23
}
24
24
25
25
.container {
26
- position : relative;
27
- width : calc (100% - 60px );
28
- max-width : 1000px ;
29
- margin : auto;
26
+ position : relative;
27
+ width : calc (100% - 60px );
28
+ max-width : 1000px ;
29
+ margin : auto;
30
30
}
31
31
32
32
h2 {
33
- font-size : 22px ;
34
- font-weight : normal;
33
+ font-size : 22px ;
34
+ font-weight : normal;
35
35
}
36
36
37
37
@media (max-width : 768px ) {
38
-
39
- .container {
40
- width : calc (100% - 30px );
41
- }
42
-
38
+
39
+ .container {
40
+ width : calc (100% - 30px );
41
+ }
42
+
43
43
}
44
44
45
45
/* Target elements */
46
46
47
47
.targets-wrapper {
48
- margin : 0 -5px ;
49
- padding : 10px 0 20px ;
48
+ margin : 0 -5px ;
49
+ padding : 10px 0 20px ;
50
50
}
51
51
52
52
.targets-wrapper : after ,
62
62
.target ,
63
63
.target-click ,
64
64
.target-notice {
65
- cursor : default;
65
+ cursor : default;
66
66
font-size : 13px ;
67
67
line-height : 52px ;
68
68
height : 52px ;
@@ -75,159 +75,159 @@ h2 {
75
75
float : left;
76
76
width : calc (25% - 10px );
77
77
margin : 5px ;
78
- -webkit-user-select : none;
79
- -moz-user-select : none;
80
- -ms-user-select : none;
81
- user-select : none;
78
+ -webkit-user-select : none;
79
+ -moz-user-select : none;
80
+ -ms-user-select : none;
81
+ user-select : none;
82
82
}
83
83
84
84
.target-click ,
85
85
.target-notice {
86
- cursor : pointer;
86
+ cursor : pointer;
87
87
}
88
88
89
89
.target .active ,
90
90
.target-click .active ,
91
91
.target-notice .active {
92
- color : # 07d ;
92
+ color : # 07d ;
93
93
}
94
94
95
95
.demo-img {
96
- float : left;
96
+ float : left;
97
97
width : calc (25% - 10px );
98
98
margin : 5px ;
99
99
}
100
100
101
101
.demo-img > img {
102
- border : 4px solid # eee ;
103
- border-radius : 2px ;
104
- width : 100% ;
105
- height : auto;
106
- filter : grayscale (100% );
107
- transition : filter .2s , border-color .2s ;
102
+ border : 4px solid # eee ;
103
+ border-radius : 2px ;
104
+ width : 100% ;
105
+ height : auto;
106
+ filter : grayscale (100% );
107
+ transition : filter .2s , border-color .2s ;
108
108
}
109
109
110
110
.demo-img : hover > img {
111
- filter : none;
112
- border-color : # ddd ;
111
+ filter : none;
112
+ border-color : # ddd ;
113
113
}
114
114
115
115
@media (max-width : 768px ) {
116
-
117
- .target ,
118
- .target-click ,
119
- .target-notice {
120
- width : calc (50% - 10px );
121
- }
116
+
117
+ .target ,
118
+ .target-click ,
119
+ .target-notice {
120
+ width : calc (50% - 10px );
121
+ }
122
122
123
- .demo-img > img {
124
- border-width : 2px ;
125
- }
126
-
123
+ .demo-img > img {
124
+ border-width : 2px ;
125
+ }
126
+
127
127
}
128
128
129
129
/* jBox styles */
130
130
131
131
.ajax-sending {
132
- color : # 07d ;
132
+ color : # 07d ;
133
133
}
134
134
135
135
.ajax-complete {
136
- color : # 6c0 ;
136
+ color : # 6c0 ;
137
137
}
138
138
139
139
.ajax-success tt {
140
- color : # 666 ;
141
- display : block;
142
- padding-top : 10px ;
143
- font-size : 13px ;
140
+ color : # 666 ;
141
+ display : block;
142
+ padding-top : 10px ;
143
+ font-size : 13px ;
144
144
}
145
145
146
146
.ajax-error {
147
- color : # d00 ;
147
+ color : # d00 ;
148
148
}
149
149
150
150
/* Header */
151
151
152
152
header {
153
- height : 50px ;
154
- line-height : 50px ;
155
- font-size : 17px ;
156
- background : # 262c33 ;
157
- color : # 99a3ad ;
158
- box-shadow : 0 0 4px rgba (0 , 0 , 0 , .6 );
153
+ height : 50px ;
154
+ line-height : 50px ;
155
+ font-size : 17px ;
156
+ background : # 262c33 ;
157
+ color : # 99a3ad ;
158
+ box-shadow : 0 0 4px rgba (0 , 0 , 0 , .6 );
159
159
}
160
160
161
161
header a {
162
- margin-right : 20px ;
163
- color : # 99a3ad ;
164
- text-decoration : none;
162
+ margin-right : 20px ;
163
+ color : # 99a3ad ;
164
+ text-decoration : none;
165
165
}
166
166
167
167
header a : last-child ,
168
168
header a : nth-child (3 ) {
169
- margin-right : 0 ;
169
+ margin-right : 0 ;
170
170
}
171
171
172
172
header a .active ,
173
173
header a : hover {
174
- color : # fff ;
175
- text-decoration : none;
174
+ color : # fff ;
175
+ text-decoration : none;
176
176
}
177
177
178
178
# stephan {
179
- display : block;
180
- position : absolute;
181
- top : 50% ;
182
- right : 0 ;
183
- width : 40px ;
184
- height : 40px ;
185
- margin-top : -20px ;
186
- border-radius : 3px ;
187
- background : no-repeat -3px -2px url (http ://stephanwagner.me/img/stephan.jpg);
188
- background-size : 50px ;
189
- box-shadow : inset 0 1px 3px rgba (0 , 0 , 0 , .3 );
179
+ display : block;
180
+ position : absolute;
181
+ top : 50% ;
182
+ right : 0 ;
183
+ width : 40px ;
184
+ height : 40px ;
185
+ margin-top : -20px ;
186
+ border-radius : 3px ;
187
+ background : no-repeat -3px -2px url (https ://stephanwagner.me/img/stephan.jpg);
188
+ background-size : 50px ;
189
+ box-shadow : inset 0 1px 3px rgba (0 , 0 , 0 , .3 );
190
190
}
191
191
192
192
# stephan > span {
193
- font-size : 0 ;
194
- line-height : 0 ;
195
- white-space : nowrap;
196
- position : absolute;
197
- top : 50% ;
198
- right : 50% ;
199
- pointer-events : none;
200
- transition : font-size .2s , margin .2s , opacity .2s , line-height .2s ;
201
- opacity : 0 ;
193
+ font-size : 0 ;
194
+ line-height : 0 ;
195
+ white-space : nowrap;
196
+ position : absolute;
197
+ top : 50% ;
198
+ right : 50% ;
199
+ pointer-events : none;
200
+ transition : font-size .2s , margin .2s , opacity .2s , line-height .2s ;
201
+ opacity : 0 ;
202
202
}
203
203
204
204
# stephan : hover > span {
205
- opacity : 1 ;
206
- font-size : 17px ;
207
- margin-right : 40px ;
205
+ opacity : 1 ;
206
+ font-size : 17px ;
207
+ margin-right : 40px ;
208
208
}
209
209
210
210
@media (max-width : 500px ) {
211
-
212
- # stephan > span {
213
- display : none;
214
- }
211
+
212
+ # stephan > span {
213
+ display : none;
214
+ }
215
215
216
216
}
217
217
218
218
/* Common */
219
219
220
220
.truncate {
221
- text-overflow : ellipsis;
222
- white-space : nowrap;
223
- overflow : hidden;
221
+ text-overflow : ellipsis;
222
+ white-space : nowrap;
223
+ overflow : hidden;
224
224
}
225
225
226
226
.noselect {
227
- -webkit-user-select : none;
228
- -moz-user-select : none;
229
- -ms-user-select : none;
230
- user-select : none;
227
+ -webkit-user-select : none;
228
+ -moz-user-select : none;
229
+ -ms-user-select : none;
230
+ user-select : none;
231
231
}
232
232
233
233
.clearfix : after ,
@@ -673,52 +673,52 @@ ul, ol, li,
673
673
h1 , h2 , h3 , h4 , h5 , h6 ,
674
674
form , table , tr , td ,
675
675
div , p , img , pre , iframe {
676
- margin : 0 ;
677
- padding : 0 ;
678
- border : 0 ;
676
+ margin : 0 ;
677
+ padding : 0 ;
678
+ border : 0 ;
679
679
}
680
680
681
681
input , textarea , button , select {
682
- margin : 0 ;
682
+ margin : 0 ;
683
683
}
684
684
685
685
textarea , img {
686
- display : block;
686
+ display : block;
687
687
}
688
688
689
689
html , body {
690
- min-width : 100% ;
691
- min-height : 100% ;
690
+ min-width : 100% ;
691
+ min-height : 100% ;
692
692
}
693
693
694
694
header , nav , footer , section , img {
695
- display : block;
695
+ display : block;
696
696
}
697
697
698
698
ul , ol {
699
- list-style : none;
699
+ list-style : none;
700
700
}
701
701
702
702
table {
703
- border-collapse : collapse;
704
- border-spacing : 0 ;
703
+ border-collapse : collapse;
704
+ border-spacing : 0 ;
705
705
}
706
706
td {
707
- vertical-align : top;
707
+ vertical-align : top;
708
708
}
709
709
710
710
h1 , h2 , h3 , h4 , h5 , h6 {
711
- font-weight : normal;
711
+ font-weight : normal;
712
712
}
713
713
714
714
* {
715
- outline : none;
716
- box-sizing : border-box;
717
- -webkit-tap-highlight-color : rgba (0 , 0 , 0 , 0 );
718
- -webkit-text-size-adjust : none;
715
+ outline : none;
716
+ box-sizing : border-box;
717
+ -webkit-tap-highlight-color : rgba (0 , 0 , 0 , 0 );
718
+ -webkit-text-size-adjust : none;
719
719
}
720
720
721
721
input ::-moz-focus-inner ,
722
722
button ::-moz-focus-inner {
723
- border : 0 ;
723
+ border : 0 ;
724
724
}
0 commit comments