default.css
2.03 KB
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
/* General Demo Style */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
body, html { font-size: 100%; padding: 0; margin: 0;}
/* Reset */
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
body {
font-family: 'Lato', Calibri, Arial, sans-serif;
color: #fff;
background: #91cfa1;
font-weight: 300;
}
a {
color: #f0f0f0;
text-decoration: none;
}
a:hover {
color: #fff;
}
.main,
.container > header {
width: 100%;
margin: 0 auto;
padding: 0 1.875em 3.125em 1.875em;
}
.main {
max-width: 69em;
min-height: 600px;
padding: 2em 0 0 0;
}
.side {
float: right;
width: 30%;
padding-right: 20px;
min-width: 320px;
box-shadow: 1px 0 rgba(0,0,0,0.1);
}
.main p {
font-size: 2em;
padding: 0 1em;
margin: 0;
line-height: 1.5;
float: right;
width: 70%;
}
.container > header {
padding: 2.875em 1.875em 2.875em;
text-align: center;
background: rgba(0,0,0,0.02);
}
.container > header h1 {
font-size: 2.625em;
line-height: 1.3;
margin: 0;
color: #fff;
font-weight: 300;
}
.container > header span {
display: block;
font-size: 60%;
color: rgba(255,255,255,0.7);
padding: 0 0 0.6em 0.1em;
}
/* Header Style */
.codrops-top {
background: #fff;
background: rgba(255, 255, 255, 0.85);
text-transform: uppercase;
position: relative;
font-size: 0.68em;
box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
line-height: 2.2;
}
.codrops-top a {
padding: 0 1em;
letter-spacing: 0.1em;
color: #333;
display: inline-block;
}
.codrops-top a:hover {
background: rgba(255,255,255,0.99);
color: #000;
}
.codrops-top span.right {
float: right;
}
.codrops-top span.right a {
float: left;
display: block;
}
@media screen and (max-width: 66.9375em) {
.side, .main p {
float: none;
width: 100%;
box-shadow: none;
padding: 1em;
}
.main p {
font-size: 130%;
}
}