-
Notifications
You must be signed in to change notification settings - Fork 5
/
Reset.less
105 lines (97 loc) · 3.63 KB
/
Reset.less
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
/* Reset
------------------------------------------------------------------------------------------- */
.vco-storyjs {
/* Reset tags and common classes
Display in IE6-9 and FF3
Based on: http://github.com/necolas/normalize.css
------------------------------------------------------------------------------------------- */
div * {
-webkit-box-sizing:content-box;
-moz-box-sizing:content-box;
box-sizing:content-box;
}
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong,
sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td,
.vco-container, .content-container, .media, .text, .vco-slider, .slider, .date, .title, .messege, .map, .credit, .caption, .vco-feedback, .vco-feature, .toolbar,
.marker, .dot, .line, .flag, .time, .era, .major, .minor, .vco-navigation, .start, .active {
margin: 0; padding: 0; border: 0; font-weight: normal; font-style: normal; font-size: 100%; line-height: 1; font-family: inherit; width: auto;
}
table { border-collapse: collapse; border-spacing: 0;}
ol, ul { list-style: none;}
q:before, q:after, blockquote:before, blockquote:after { content: ""; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block;
}
audio, canvas, video {
display: inline-block;
*display: inline;
*zoom: 1;
}
/* Prevents modern browsers from displaying 'audio' without controls
Based on: http://github.com/necolas/normalize.css
------------------------------------------------------------------------------------------- */
audio:not([controls]) {
display: none;
}
div {
max-width:none;
}
/* Prevents sub and sup affecting line-height in all browsers
Based on: http://github.com/necolas/normalize.css
------------------------------------------------------------------------------------------- */
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Img border in a's and image quality
Based on: http://github.com/necolas/normalize.css
------------------------------------------------------------------------------------------- */
img {
border: 0;
-ms-interpolation-mode: bicubic;
}
/* Forms
Based on: http://github.com/necolas/normalize.css
------------------------------------------------------------------------------------------- */
button, input, select, textarea {
font-size: 100%;
margin: 0;
vertical-align: baseline;
*vertical-align: middle;
}
button, input {
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
*overflow: visible; // Inner spacing ie IE6/7
}
button::-moz-focus-inner, input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
border: 0;
padding: 0;
}
button, input[type="button"], input[type="reset"], input[type="submit"] {
cursor: pointer; // Cursors on all buttons applied consistently
-webkit-appearance: button; // Style clicable inputs in iOS
}
input[type="search"] { // Appearance in Safari/Chrome
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
}
textarea {
overflow: auto; // Remove vertical scrollbar in IE6-9
vertical-align: top; // Readability and alignment cross-browser
}
}