Differenze tra le versioni di "MediaWiki:Common.css"
Jump to navigation
Jump to search
Zoe (discussione | contributi) |
Zoe (discussione | contributi) |
||
Riga 15: | Riga 15: | ||
} | } | ||
+ | /* Links */ | ||
+ | a { | ||
+ | text-decoration: none; | ||
+ | color: #555; | ||
+ | background: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | a:visited {} | ||
+ | a:active { | ||
+ | } | ||
+ | a:hover { | ||
+ | color: #333; | ||
+ | } | ||
+ | a.stub { | ||
+ | color: #555; | ||
+ | } | ||
+ | a.new, #p-personal a.new { | ||
+ | color: #555; | ||
+ | } | ||
+ | a.new:visited, #p-personal a.new:visited { | ||
+ | color: #555; | ||
+ | } | ||
+ | |||
+ | /* Inline Elements */ | ||
+ | img { | ||
+ | border: none; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | hr { | ||
+ | height: 1px; | ||
+ | color: #aaa; | ||
+ | background-color: #aaa; | ||
+ | border: 0; | ||
+ | margin: .2em 0 .2em 0; | ||
+ | } | ||
+ | |||
/* Structural Elements */ | /* Structural Elements */ | ||
h1, | h1, |
Versione delle 10:39, 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;
}
/* Links */
a {
text-decoration: none;
color: #555;
background: none;
}
a:visited {}
a:active {
}
a:hover {
color: #333;
}
a.stub {
color: #555;
}
a.new, #p-personal a.new {
color: #555;
}
a.new:visited, #p-personal a.new:visited {
color: #555;
}
/* Inline Elements */
img {
border: none;
vertical-align: middle;
}
hr {
height: 1px;
color: #aaa;
background-color: #aaa;
border: 0;
margin: .2em 0 .2em 0;
}
/* 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;
}