Difference between revisions of "Template:UNITN-Trento/CSSreset"

m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* http://meyerweb.com/eric/tools/css/reset/
+
abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:;content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:0 0}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}li,ol,ul{list-style:none;}
  v2.0 | 20110126
+
  License: none (public domain)
+
*/
+
  
html, body, div, span, applet, object, iframe,
+
#content{width:auto; margin:0px; padding:0px;}
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+
a, abbr, acronym, address, big, cite, code,
+
del, dfn, em, img, ins, kbd, q, s, samp,
+
small, strike, strong, sub, sup, tt, var,
+
b, u, i, center,
+
dl, dt, dd, ol, ul, li,
+
fieldset, form, label, legend,
+
table, caption, tbody, tfoot, thead, tr, th, td,
+
article, aside, canvas, details, embed,
+
figure, figcaption, footer, header, hgroup,
+
menu, nav, output, ruby, section, summary,
+
time, mark, audio, video {
+
margin: 0;
+
padding: 0;
+
border: 0;
+
font-size: 100%;
+
font: inherit;
+
vertical-align: baseline;
+
}
+
/* HTML5 display-role reset for older browsers */
+
article, aside, details, figcaption, figure,
+
footer, header, hgroup, menu, nav, section {
+
display: block;
+
}
+
body {
+
line-height: 1;
+
}
+
ol, ul {
+
list-style: none;
+
}
+
blockquote, q {
+
quotes: none;
+
}
+
blockquote:before, blockquote:after,
+
q:before, q:after {
+
content: '';
+
content: none;
+
}
+
table {
+
border-collapse: collapse;
+
border-spacing: 0;
+
}
+
 
+
#content{width:auto;}
+
 
.firstHeading{display:none;}
 
.firstHeading{display:none;}
 +
 +
#bodyContent p:first-child{margin:0px;}

Latest revision as of 15:11, 18 September 2015

abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:;content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:0 0}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}li,ol,ul{list-style:none;}

  1. content{width:auto; margin:0px; padding:0px;}

.firstHeading{display:none;}

  1. bodyContent p:first-child{margin:0px;}