-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
styles.css
219 lines (196 loc) · 3.98 KB
/
styles.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
217
218
219
/*
* -- BASE STYLES --
* Most of these are inherited from Base, but I want to change a few.
*/
body {
color: #526066;
}
h2,
h3 {
letter-spacing: 0.25em;
text-transform: uppercase;
font-weight: 600;
}
p {
line-height: 1.6em;
}
/*
* -- Layout Styles --
*/
.l-content {
margin: 0 auto;
}
.l-box {
padding: 0.5em 2em;
}
/*
* -- MENU STYLES --
* Make the menu have a very faint box-shadow.
*/
.pure-menu {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.pure-menu-link {
padding: 0.5em 0.7em;
}
/*
* -- BANNER --
* The top banner with the headings. By using a combination
* of `display: table;` and `display: table-cell;`, we can
* vertically center the text.
*/
.banner {
background: transparent
url("https://24.media.tumblr.com/ccb268832580ac12951828a1c179de69/tumblr_mo2xbk8JUK1st5lhmo1_1280.jpg")
0 0 no-repeat fixed;
text-align: center;
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://24.media.tumblr.com/ccb268832580ac12951828a1c179de69/tumblr_mo2xbk8JUK1st5lhmo1_1280.jpg', sizingMethod='scale');
height: 200px;
width: 100%;
margin-bottom: 3em;
display: table;
}
.banner-head {
display: table-cell;
vertical-align: middle;
margin-bottom: 0;
font-size: 2em;
color: white;
font-weight: 500;
text-shadow: 0 1px 1px black;
}
/*
* -- PRICING TABLE WRAPPER --
* This element wraps up all the pricing table elements
*/
.pricing-tables,
.information {
max-width: 980px;
margin: 0 auto;
}
.pricing-tables {
margin-bottom: 3.125em;
text-align: center;
}
/*
* -- PRICING TABLE --
* Every pricing table has the .pricing-table class
*/
.pricing-table {
border: 1px solid #ddd;
margin: 0 0.5em 2em;
padding: 0 0 3em;
}
/*
* -- PRICING TABLE HEADER COLORS --
* Choose a different color based on the type of pricing table.
*/
.pricing-table-free .pricing-table-header {
background: #519251;
}
.pricing-table-biz .pricing-table-header {
background: #2c4985;
}
/*
* -- PRICING TABLE HEADER --
* By default, a header is black/white, and has some styles for its <h2> name.
*/
.pricing-table-header {
background: #111;
color: #fff;
}
.pricing-table-header h2 {
margin: 0;
padding-top: 2em;
font-size: 1em;
font-weight: normal;
}
/*
* -- PRICING TABLE PRICE --
* Styles for the price and the corresponding <span>per month</span>
*/
.pricing-table-price {
font-size: 6em;
margin: 0.2em 0 0;
font-weight: 100;
}
.pricing-table-price span {
display: block;
text-transform: uppercase;
font-size: 0.2em;
padding-bottom: 2em;
font-weight: 400;
color: rgba(255, 255, 255, 0.5);
*color: #fff;
}
/*
* -- PRICING TABLE LIST --
* Each pricing table has a <ul> which is denoted by the .pricing-table-list class
*/
.pricing-table-list {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
/*
* -- PRICING TABLE LIST ELEMENTS --
* Styles for the individual list elements within each pricing table
*/
.pricing-table-list li {
padding: 0.8em 0;
background: #f7f7f7;
border-bottom: 1px solid #e7e7e7;
}
/*
* -- PRICING TABLE BUTTON --
* Styles for the "Choose" button at the bottom of a pricing table.
* This inherits from Pure Button.
*/
.button-choose {
border: 1px solid #ccc;
background: #fff;
color: #333;
border-radius: 2em;
font-weight: bold;
position: relative;
bottom: -1.5em;
}
.information-head {
color: black;
font-weight: 500;
}
.footer {
background: #111;
color: #888;
text-align: center;
}
.footer a {
color: #ddd;
}
/*
* -- TABLET MEDIA QUERIES --
* On tablets, we want to slightly adjust the size of the banner
* text and add some vertical space between the various pricing tables
*/
@media (min-width: 767px) {
.banner-head {
font-size: 4em;
}
.pricing-table {
margin-bottom: 0;
}
}
/*
* -- PHONE MEDIA QUERIES --
* On phones, we want to reduce the height and font-size of the banner further
*/
@media (min-width: 480px) {
.banner {
height: 400px;
}
.banner-head {
font-size: 3em;
}
}