mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge remote-tracking branch 'cyberalien/feature/prosilver-cleanup/css-reset-v2' into develop
* cyberalien/feature/prosilver-cleanup/css-reset-v2: [feature/prosilver-cleanup/css-reset-v2] CSS reset
This commit is contained in:
commit
fb51bc487a
1 changed files with 77 additions and 4 deletions
|
@ -1,12 +1,51 @@
|
||||||
/* General Markup Styles
|
/* CSS Reset http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
|
html, body, div, span, applet, object, iframe,
|
||||||
* {
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||||
/* Reset browsers default margin, padding and font sizes */
|
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;
|
margin: 0;
|
||||||
padding: 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* General Markup Styles
|
||||||
|
---------------------------------------- */
|
||||||
html {
|
html {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
|
/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
|
||||||
|
@ -20,6 +59,7 @@ body {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
/*font-size: 62.5%; This sets the default font size to be equivalent to 10px */
|
/*font-size: 62.5%; This sets the default font size to be equivalent to 10px */
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
line-height: normal;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
}
|
}
|
||||||
|
@ -99,6 +139,39 @@ p.right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b, strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
i, em {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
u {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol {
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul ul, ol ul {
|
||||||
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol ol ul, ol ul ul, ul ol ul, ul ul ul {
|
||||||
|
list-style-type: square;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Main blocks
|
/* Main blocks
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
#wrap {
|
#wrap {
|
||||||
|
|
Loading…
Add table
Reference in a new issue