Differenze tra le versioni di "MediaWiki:Common.css"
Jump to navigation
Jump to search
Zoe (discussione | contributi) (Pagina sostituita con '→Gli stili CSS inseriti qui si applicano a tutte le skin: →Framework: html, body { height: 100%; margin: 0; padding: 0; font-family: "HelveticaNeue", Helvetic...') |
Zoe (discussione | contributi) |
||
Riga 14: | Riga 14: | ||
background-color: #DCDCDC; | background-color: #DCDCDC; | ||
+ | } | ||
+ | /* Structural Elements */ | ||
+ | h1, | ||
+ | h2, | ||
+ | h3, | ||
+ | h4, | ||
+ | h5, | ||
+ | h6 { | ||
+ | color: black; | ||
+ | background: none; | ||
+ | font-weight: normal; | ||
+ | margin: 0; | ||
+ | padding-top: .5em; | ||
+ | padding-bottom: .17em; | ||
+ | border-bottom: 1px solid #aaa; | ||
+ | width: auto; | ||
+ | } | ||
+ | h1 { font-size: 188%; } | ||
+ | h1 .editsection { font-size: 53%; } | ||
+ | h2 { font-size: 150%; } | ||
+ | h2 .editsection { font-size: 67%; } | ||
+ | h3, | ||
+ | h4, | ||
+ | h5, | ||
+ | h6 { | ||
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | h3 { font-size: 132%; } | ||
+ | h3 .editsection { font-size: 76%; font-weight: normal; } | ||
+ | h4 { font-size: 116%; } | ||
+ | h4 .editsection { font-size: 86%; font-weight: normal; } | ||
+ | h5 { font-size: 100%; } | ||
+ | h5 .editsection { font-weight: normal; } | ||
+ | h6 { font-size: 80%; } | ||
+ | h6 .editsection { font-size: 125%; font-weight: normal; } | ||
+ | p { | ||
+ | margin: .4em 0 .5em 0; | ||
+ | line-height: 1.5em; | ||
+ | } | ||
+ | p img { | ||
+ | margin: 0; | ||
+ | } | ||
+ | abbr, | ||
+ | acronym, | ||
+ | .explain { | ||
+ | border-bottom: 1px dotted black; | ||
+ | color: black; | ||
+ | background: none; | ||
+ | cursor: help; | ||
+ | } | ||
+ | q { | ||
+ | font-family: Times, "Times New Roman", serif; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | /* Disabled for now | ||
+ | blockquote { | ||
+ | font-family: Times, "Times New Roman", serif; | ||
+ | font-style: italic; | ||
+ | }*/ | ||
+ | code { | ||
+ | background-color: #f9f9f9; | ||
+ | } | ||
+ | pre { | ||
+ | padding: 1em; | ||
+ | border: 1px dashed #2f6fab; | ||
+ | color: black; | ||
+ | background-color: #f9f9f9; | ||
+ | line-height: 1.1em; | ||
+ | } | ||
+ | ul { | ||
+ | line-height: 1.5em; | ||
+ | list-style-type: square; | ||
+ | margin: .3em 0 0 1.5em; | ||
+ | padding: 0; | ||
+ | list-style-image: url(images/sub.png); | ||
+ | } | ||
+ | ol { | ||
+ | line-height: 1.5em; | ||
+ | margin: .3em 0 0 3.2em; | ||
+ | padding: 0; | ||
+ | list-style-image: none; | ||
+ | } | ||
+ | li { | ||
+ | margin-bottom: .1em; | ||
+ | } | ||
+ | dt { | ||
+ | font-weight: bold; | ||
+ | margin-bottom: .1em; | ||
+ | } | ||
+ | dl { | ||
+ | margin-top: .2em; | ||
+ | margin-bottom: .5em; | ||
+ | } | ||
+ | dd { | ||
+ | line-height: 1.5em; | ||
+ | margin-left: 2em; | ||
+ | margin-bottom: .1em; | ||
+ | } | ||
+ | /* Tables */ | ||
+ | table { | ||
+ | font-size: 100%; | ||
+ | color: black; | ||
+ | /* we don't want the bottom borders of <h2>s to be visible through | ||
+ | * floated tables */ | ||
+ | background-color: white; | ||
+ | } | ||
+ | fieldset table { | ||
+ | /* but keep table layouts in forms clean... */ | ||
+ | background: none; | ||
} | } |
Versione delle 10:37, 27 apr 2014
/* Gli stili CSS inseriti qui si applicano a tutte le skin */
/* Framework */
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
font-size: 1em;
}
body {
background-color: #DCDCDC;
}
/* Structural Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
color: black;
background: none;
font-weight: normal;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
border-bottom: 1px solid #aaa;
width: auto;
}
h1 { font-size: 188%; }
h1 .editsection { font-size: 53%; }
h2 { font-size: 150%; }
h2 .editsection { font-size: 67%; }
h3,
h4,
h5,
h6 {
border-bottom: none;
font-weight: bold;
}
h3 { font-size: 132%; }
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 { font-size: 116%; }
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 { font-size: 100%; }
h5 .editsection { font-weight: normal; }
h6 { font-size: 80%; }
h6 .editsection { font-size: 125%; font-weight: normal; }
p {
margin: .4em 0 .5em 0;
line-height: 1.5em;
}
p img {
margin: 0;
}
abbr,
acronym,
.explain {
border-bottom: 1px dotted black;
color: black;
background: none;
cursor: help;
}
q {
font-family: Times, "Times New Roman", serif;
font-style: italic;
}
/* Disabled for now
blockquote {
font-family: Times, "Times New Roman", serif;
font-style: italic;
}*/
code {
background-color: #f9f9f9;
}
pre {
padding: 1em;
border: 1px dashed #2f6fab;
color: black;
background-color: #f9f9f9;
line-height: 1.1em;
}
ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
list-style-image: url(images/sub.png);
}
ol {
line-height: 1.5em;
margin: .3em 0 0 3.2em;
padding: 0;
list-style-image: none;
}
li {
margin-bottom: .1em;
}
dt {
font-weight: bold;
margin-bottom: .1em;
}
dl {
margin-top: .2em;
margin-bottom: .5em;
}
dd {
line-height: 1.5em;
margin-left: 2em;
margin-bottom: .1em;
}
/* Tables */
table {
font-size: 100%;
color: black;
/* we don't want the bottom borders of <h2>s to be visible through
* floated tables */
background-color: white;
}
fieldset table {
/* but keep table layouts in forms clean... */
background: none;
}