2011-11-26 06:34:55 +01:00
|
|
|
// Reset.less
|
|
|
|
// Props to Eric Meyer (meyerweb.com) for his CSS reset file.
|
|
|
|
// We're using an adapted version here that cuts out some of the reset HTML
|
|
|
|
// elements we will never need here (i.e., dfn, samp, etc).
|
|
|
|
// ------------------------------------------------------------------------
|
2011-08-17 07:58:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
// ERIC MEYER RESET
|
2011-08-25 09:13:40 +02:00
|
|
|
// --------------------------------------------------
|
2011-05-04 03:09:25 +02:00
|
|
|
|
2011-06-28 20:56:49 +02:00
|
|
|
html, body { margin: 0; padding: 0; }
|
|
|
|
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 { margin: 0; padding: 0; border: 0; font-weight: normal; font-style: normal; font-size: 100%; line-height: 1; font-family: inherit; }
|
2011-12-09 21:51:54 +01:00
|
|
|
table {
|
|
|
|
max-width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
2011-06-28 20:56:49 +02:00
|
|
|
ol, ul { list-style: none; }
|
|
|
|
q:before, q:after, blockquote:before, blockquote:after { content: ""; }
|
2011-06-28 23:24:02 +02:00
|
|
|
|
2011-08-17 07:58:01 +02:00
|
|
|
|
2011-08-25 09:13:40 +02:00
|
|
|
// Normalize.css
|
|
|
|
// Pulling in select resets form the normalize.css project
|
|
|
|
// --------------------------------------------------
|
2011-08-17 07:58:01 +02:00
|
|
|
|
2011-08-25 09:13:40 +02:00
|
|
|
// Display in IE6-9 and FF3
|
|
|
|
// -------------------------
|
|
|
|
// Source: http://github.com/necolas/normalize.css
|
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
|
|
|
font-size: 100%;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
|
}
|
|
|
|
// Focus states
|
|
|
|
a:focus {
|
|
|
|
outline: thin dotted;
|
|
|
|
}
|
2011-09-13 18:35:43 +02:00
|
|
|
// Hover & Active
|
|
|
|
a:hover,
|
|
|
|
a:active {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2011-08-25 09:13:40 +02:00
|
|
|
|
|
|
|
// Display in IE6-9 and FF3
|
|
|
|
// -------------------------
|
|
|
|
// Source: http://github.com/necolas/normalize.css
|
|
|
|
article,
|
|
|
|
aside,
|
|
|
|
details,
|
|
|
|
figcaption,
|
|
|
|
figure,
|
|
|
|
footer,
|
|
|
|
header,
|
|
|
|
hgroup,
|
|
|
|
nav,
|
|
|
|
section {
|
2011-06-28 20:56:49 +02:00
|
|
|
display: block;
|
2011-08-25 09:13:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Display block in IE6-9 and FF3
|
|
|
|
// -------------------------
|
|
|
|
// Source: http://github.com/necolas/normalize.css
|
|
|
|
audio,
|
|
|
|
canvas,
|
|
|
|
video {
|
|
|
|
display: inline-block;
|
|
|
|
*display: inline;
|
|
|
|
*zoom: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Prevents modern browsers from displaying 'audio' without controls
|
|
|
|
// -------------------------
|
|
|
|
// Source: http://github.com/necolas/normalize.css
|
|
|
|
audio:not([controls]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Prevents sub and sup affecting line-height in all browsers
|
|
|
|
// -------------------------
|
|
|
|
// Source: http://github.com/necolas/normalize.css
|
|
|
|
sub,
|
|
|
|
sup {
|
2011-11-17 10:28:42 +01:00
|
|
|
position: relative;
|
2011-08-25 09:13:40 +02:00
|
|
|
font-size: 75%;
|
|
|
|
line-height: 0;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
sup {
|
|
|
|
top: -0.5em;
|
|
|
|
}
|
|
|
|
sub {
|
|
|
|
bottom: -0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Img border in a's and image quality
|
|
|
|
// -------------------------
|
|
|
|
// Source: http://github.com/necolas/normalize.css
|
|
|
|
img {
|
2011-12-09 21:10:01 +01:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2011-11-17 10:28:42 +01:00
|
|
|
border: 0;
|
|
|
|
-ms-interpolation-mode: bicubic;
|
2011-08-25 09:13:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Forms
|
|
|
|
// -------------------------
|
|
|
|
// Source: http://github.com/necolas/normalize.css
|
|
|
|
|
|
|
|
// Font size in all browsers, margin changes, misc consistency
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
margin: 0;
|
2011-11-17 10:28:42 +01:00
|
|
|
font-size: 100%;
|
2011-08-25 09:13:40 +02:00
|
|
|
vertical-align: baseline;
|
|
|
|
*vertical-align: middle;
|
|
|
|
}
|
|
|
|
button,
|
|
|
|
input {
|
|
|
|
*overflow: visible; // Inner spacing ie IE6/7
|
2011-11-17 10:28:42 +01:00
|
|
|
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
|
2011-08-25 09:13:40 +02:00
|
|
|
}
|
|
|
|
button::-moz-focus-inner,
|
|
|
|
input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
|
|
|
|
padding: 0;
|
2011-11-17 10:28:42 +01:00
|
|
|
border: 0;
|
2011-08-25 09:13:40 +02:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
2012-01-19 22:02:00 +01:00
|
|
|
input[type="search"]::-webkit-search-decoration,
|
|
|
|
input[type="search"]::-webkit-search-cancel-button {
|
2011-08-25 09:13:40 +02:00
|
|
|
-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
|
2012-01-19 22:02:00 +01:00
|
|
|
}
|