ldc-legaulois/resources/sass/front/_reset.scss
2020-11-04 15:07:21 +01:00

86 lines
1.9 KiB
SCSS
Vendored

/*------------------*/
/* 2 RESET */
/*------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin : 0;
padding : 0;
border : 0;
outline : 0;
font-weight : normal;
font-style : inherit;
font-family : inherit;
vertical-align : top;
}
/* remember to define focus styles! */
:focus { outline : 0; }
/* FF pour enlever pointillés autour des liens */
a {
text-decoration : none;
cursor : pointer;
outline : none;
/*transition : all .3s ease;
-webkit-transition : all .3s ease;*/
}
body {
font : 62.5% 'arial','sans-serif'; /*10px*/
color : #292929;
-webkit-text-size-adjust: none;
}
h1, h2, h3, h4, h5, h6 { font-size : 1em; }
ol, ul { list-style : none; }
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse : separate;
border-spacing : 0;
}
table tr { vertical-align : top; }
caption, th, td {
text-align : left;
font-weight : normal;
}
blockquote:before,
blockquote:after,
q:before,
q:after { content : ""; }
blockquote, q { quotes : "" ""; }
.offscreen { display : none; }
/*----------------------*/
/* 3 CLEARFIX */
/*----------------------*/
.clearfix:after {
content : ".";
display : block;
height : 0;
clear : both;
visibility : hidden;
}
.clearfix { display : inline-block; }
/* Hides from IE-mac \*/
* html .clearfix { height : 1%; }
.clearfix { display : block; }
/* End hide from IE-mac */
.clear { clear: both; }
/*------------------*/
/* 4 HTML5 */
/*------------------*/
main, article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
display : block;
margin : 0;
padding : 0;
font-weight : normal;
font-style : inherit;
font-family : inherit;
}