forked from kennashka/mdcbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
274 lines (246 loc) · 7.11 KB
/
style.css
File metadata and controls
274 lines (246 loc) · 7.11 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
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
/*
THE BASIC STYLES
Below are the styles that control most of the visuals for this page. They are the best place to start
if you want to make the page your own. Try changing images, colours, fonts and text sizes to create your own look.
You'll be amazed how different you can make this page look by only changing a few values.
Some of the styles are explained here, some in other tutorials. Don't be afraid to change values, experimentation is one of
the best ways to learn!
*/
body {
font-family:Georgia;
font-size:13px;
line-height:1.5;
color:#999999;
background:url('http://farm2.staticflickr.com/1379/1347700125_671c3e035f_b.jpg') top center;
background-size:cover;
}
header {
}
h1.logo {
color:white;
padding:4%;
border-radius:50%;
font-size:50px;
font-style:italic;
/* Shadow behind text */
text-shadow: 1px 1px 2px #6f828f;
filter: dropshadow(color=#6f828f, offx=1, offy=1);
}
h2.title {
font-weight:normal;
font-style:italic;
color:white;
line-height:26px;
font-size:34px;
}
/* Intro */
.intro-block p {
font-size:18px;
font-style:italic;
color:#595959;
margin:40px 0;
}
/* Photo */
.image {
-webkit-box-shadow: 0px 0px 2px 4px rgba(0, 0, 0, 0.1);
box-shadow: 0px 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.image h2 {
font-size: 16px;
}
.image img {
min-height:230px;
max-height:230px;
border-left:10px solid white;
border-right:10px solid white;
border-top:10px solid white;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
.zoom-on-hover {
transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
}
.zoom-on-hover:hover {
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
-o-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}
/* Rotate the images */
.rotate-right {
-moz-transform:rotate(2deg);
-webkit-transform: rotate(2deg);
-o-transform:rotate(2deg);
-ms-transform:rotate(2deg);
transform:rotate(2deg);
}
.rotate-left {
-moz-transform:rotate(-2deg);
-webkit-transform: rotate(-2deg);
-o-transform:rotate(-2deg);
-ms-transform:rotate(-2deg);
transform:rotate(-2deg);
}
.caption {
color:#999999;
background: white;
font-style:italic;
}
.caption h2 {
font-size:15px;
}
/* Footer */
.footer-wrap {
margin: 0 2%;
padding: 30px 0 50px 0;
border-top: 1px solid white;
color: white;
/* Shadow behind text */
text-shadow: 1px 1px 1px #6f828f;
filter: dropshadow(color=#6f828f, offx=1, offy=1);
}
footer a {
color: white;
}
footer small {
font-size: 12px;
}
/*
ARE YOU FEELING AMBITIOUS?
The CSS below controls all the advanced aspects of the page and its design.
You're not expected to edit it but you are free to have a play. An ace
reference resource to help you understand it can me found here:
https://developer.mozilla.org/en-US/docs/Web/CSS
Be aware though, you can break your page quite easily with this part of CSS.
*/
body, html {
margin: 0;
padding: 0
}
a {
color: #000000;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
ul {
margin-left: 0;
padding-left: 1em;
line-height: 1.5em;
}
hr {
clear: both;
}
/* Layout */
footer, .wrapper {
width: 80%;
max-width: 708px;
min-width: 550px;
margin: 0 auto;
}
section {
width: 100%;
}
/* Header */
header {
padding: 30px 0;
text-align: left;
}
header h1.logo {
display: inline-block;
margin: 0;
}
header h2.title {
display: inline-block;
float: right;
padding: 4%;
}
/* Footer */
footer {
text-align: center;
}
.footer-wrap {
margin: 0 2%;
padding: 30px 0 50px 0;
}
/* Grids */
ul.grid {
margin: 20px 0;
padding: 0;
list-style: none;
}
ul.grid li {
position: relative;
margin: 3% 2%;
}
ul.grid li:last-child {
margin: 0 2%;
}
ul.grid li a {
display: block;
cursor: pointer;
text-decoration: none;
}
ul.grid.half-width li {
width: 46%;
margin: 2%;
float: left;
}
ul.third-width li {
width:29.3%;
margin:0 2% 2%;
float:left;
}
/* Photo */
.image {
z-index: 2;
position: relative;
overflow: hidden;
}
.image img {
position: relative;
display: block;
width: 100%;
height: auto;
}
.image h2 {
margin: 0;
}
/* Caption */
.caption {
margin: 0;
padding: 20px;
width: 100%;
display: block;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
/* Column */
.column {
width:96%;
margin:2%;
float:none;
clear:both;
}
/* Group / Clear floating */
.group:after {
visibility: hidden;
display: block;
content: "";
clear: both;
height: 0;
}