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
|
// Credits: [HTML Boilerplate[(https://github.com/h5bp/html5-boilerplate)
// HTML5 display definitions
article, figcaption, figure, footer, header, nav, section, time {
display: block;
}
// Base
html {
font-size: 100%;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
// Remove text-shadow in selection highlight: h5bp.com/i
::-moz-selection {
background: #fd7; // This color should play well with any design
color: #000;
text-shadow: none;
}
::selection {
background: #fd7;
color: #000;
text-shadow: none;
}
// Improve readability when focused and hovered in all browsers: h5bp.com/h
a:hover, a:active {
outline: 0;
}
// Code
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
// Lists
ol, ul{
margin: 0;
padding: 0;
}
// Embedded content
img {
border: 0;
-ms-interpolation-mode: bicubic;
vertical-align: middle;
}
// Contain floats: h5bp.com/q
.clearfix:before, .clearfix:after {
content: "";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1;
}
// Simple fluid media
figure {
margin: 0 0 (@line * 1px) 0;
position: relative;
}
figure img, figure object, figure embed, figure video {
display: block;
height: auto;
max-width: 100%;
}
figcaption{
color: lighten(@black, 60%);
margin-top: @line * 1px;
}
// Elastic Object & Iframe Embedded Videos http://webdesignerwall.com/tutorials/css-elastic-videos
.video-container {
height: 0;
margin-bottom: @line * 1px;
padding-bottom: 56.25%;
padding-top: 30px;
position: relative;
overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
|