1
|
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
|
2
|
@font-face {
|
3
|
font-weight: normal;
|
4
|
font-style: normal;
|
5
|
font-family: 'codropsicons';
|
6
|
src:url('../fonts/codropsicons/codropsicons.eot');
|
7
|
src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
|
8
|
url('../fonts/codropsicons/codropsicons.woff') format('woff'),
|
9
|
url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
|
10
|
url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
|
11
|
}
|
12
|
|
13
|
body {
|
14
|
background: #444;
|
15
|
color: #48a770;
|
16
|
font-weight: 300;
|
17
|
font-family: 'Lato', Calibri, Arial, sans-serif;
|
18
|
}
|
19
|
|
20
|
a, button {
|
21
|
outline: none;
|
22
|
}
|
23
|
|
24
|
a {
|
25
|
text-decoration: none;
|
26
|
color: #48a770;
|
27
|
}
|
28
|
|
29
|
a:hover, a:focus {
|
30
|
color: #2c774b;
|
31
|
outline: none;
|
32
|
}
|
33
|
|
34
|
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
|
35
|
.clearfix:before,
|
36
|
.clearfix:after {
|
37
|
display: table;
|
38
|
content: " ";
|
39
|
}
|
40
|
|
41
|
.clearfix:after {
|
42
|
clear: both;
|
43
|
}
|
44
|
|
45
|
.codrops-header,
|
46
|
.codrops-top {
|
47
|
font-family: 'Lato', Arial, sans-serif;
|
48
|
}
|
49
|
|
50
|
.codrops-header {
|
51
|
margin: 0 auto 3em;
|
52
|
padding: 3em;
|
53
|
text-align: center;
|
54
|
}
|
55
|
|
56
|
.codrops-header h1 {
|
57
|
margin: 0;
|
58
|
font-weight: 300;
|
59
|
font-size: 2.625em;
|
60
|
line-height: 1.3;
|
61
|
}
|
62
|
|
63
|
.codrops-header span {
|
64
|
display: block;
|
65
|
padding: 0 0 0.6em 0.1em;
|
66
|
font-size: 60%;
|
67
|
color: #aca89a;
|
68
|
}
|
69
|
|
70
|
/* To Navigation Style */
|
71
|
.codrops-top {
|
72
|
width: 100%;
|
73
|
text-transform: uppercase;
|
74
|
font-size: 0.69em;
|
75
|
line-height: 2.2;
|
76
|
font-weight: 400;
|
77
|
background: rgba(255,255,255,0.3);
|
78
|
}
|
79
|
|
80
|
.codrops-top a {
|
81
|
display: inline-block;
|
82
|
padding: 0 1em;
|
83
|
text-decoration: none;
|
84
|
letter-spacing: 0.1em;
|
85
|
}
|
86
|
|
87
|
.codrops-top a:hover {
|
88
|
background: rgba(255,255,255,0.4);
|
89
|
color: #333;
|
90
|
}
|
91
|
|
92
|
.codrops-top span.right {
|
93
|
float: right;
|
94
|
}
|
95
|
|
96
|
.codrops-top span.right a {
|
97
|
display: block;
|
98
|
float: left;
|
99
|
}
|
100
|
|
101
|
.codrops-icon:before {
|
102
|
margin: 0 4px;
|
103
|
text-transform: none;
|
104
|
font-weight: normal;
|
105
|
font-style: normal;
|
106
|
font-variant: normal;
|
107
|
font-family: 'codropsicons';
|
108
|
line-height: 1;
|
109
|
speak: none;
|
110
|
-webkit-font-smoothing: antialiased;
|
111
|
}
|
112
|
|
113
|
.codrops-icon-drop:before {
|
114
|
content: "\e001";
|
115
|
}
|
116
|
|
117
|
.codrops-icon-prev:before {
|
118
|
content: "\e004";
|
119
|
}
|
120
|
|
121
|
.main {
|
122
|
max-width: 69em;
|
123
|
margin: 0 auto;
|
124
|
}
|
125
|
|
126
|
.column {
|
127
|
float: left;
|
128
|
width: 50%;
|
129
|
padding: 0 2em;
|
130
|
min-height: 300px;
|
131
|
position: relative;
|
132
|
text-align: right;
|
133
|
}
|
134
|
|
135
|
.column:nth-child(2) {
|
136
|
box-shadow: -1px 0 0 rgba(0,0,0,0.1);
|
137
|
text-align: left;
|
138
|
}
|
139
|
|
140
|
.column p {
|
141
|
font-weight: 300;
|
142
|
font-size: 2em;
|
143
|
padding: 0 0 0.5em;
|
144
|
margin: 0;
|
145
|
line-height: 1.5;
|
146
|
}
|
147
|
|
148
|
button {
|
149
|
border: none;
|
150
|
padding: 0.6em 1.2em;
|
151
|
background: #388a5a;
|
152
|
color: #fff;
|
153
|
font-family: 'Lato', Calibri, Arial, sans-serif;
|
154
|
font-size: 1em;
|
155
|
letter-spacing: 1px;
|
156
|
text-transform: uppercase;
|
157
|
cursor: pointer;
|
158
|
display: inline-block;
|
159
|
margin: 3px 2px;
|
160
|
border-radius: 2px;
|
161
|
}
|
162
|
|
163
|
button:hover {
|
164
|
background: #2c774b;
|
165
|
}
|
166
|
|
167
|
.info {
|
168
|
text-align: center;
|
169
|
font-size: 1.5em;
|
170
|
margin-top: 3em;
|
171
|
clear: both;
|
172
|
padding: 3em 0;
|
173
|
opacity: 0.7;
|
174
|
color: #aca89a;
|
175
|
}
|
176
|
|
177
|
.info a {
|
178
|
font-weight: 700;
|
179
|
font-size: 0.9em;
|
180
|
}
|
181
|
|
182
|
@media screen and (max-width: 46.0625em) {
|
183
|
.column {
|
184
|
width: 100%;
|
185
|
min-width: auto;
|
186
|
min-height: auto;
|
187
|
padding: 2em;
|
188
|
text-align: center;
|
189
|
}
|
190
|
|
191
|
.column p {
|
192
|
font-size: 1.5em;
|
193
|
}
|
194
|
|
195
|
.column:nth-child(2) {
|
196
|
text-align: center;
|
197
|
box-shadow: 0 -1px 0 rgba(0,0,0,0.1);
|
198
|
}
|
199
|
}
|
200
|
|
201
|
@media screen and (max-width: 25em) {
|
202
|
|
203
|
.codrops-header {
|
204
|
font-size: 80%;
|
205
|
}
|
206
|
|
207
|
.codrops-top {
|
208
|
font-size: 120%;
|
209
|
}
|
210
|
|
211
|
.codrops-icon span {
|
212
|
display: none;
|
213
|
}
|
214
|
|
215
|
}
|