MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Bordo) |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* <syntaxhighlight lang=css> */ | |||
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans'); | |||
/* from https://www.wikidata.org/wiki/User:Nikki/colour_icons.css */ | |||
@import url("https://www.wikidata.org//w/index.php?title=User:Nikki/colour_icons.css&action=raw&ctype=text/css"); | |||
/* Font */ | |||
body { | |||
font-family: "Open Sans", sans-serif | |||
} | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: "Fjalla One" | |||
} | |||
.mw-body-content h1, .mw-body-content h2, .mw-body h1 { | |||
font-family: "Fjalla One" | |||
} | |||
.mw-body h1, .mw-body-content h1 { | |||
font-size: 2.5em; | |||
font-weight: bold; | |||
} | |||
.mw-body-content h2 { | |||
font-size: 2em; | |||
font-weight: bold; | |||
} | |||
.mw-body-content h3 { | |||
font-size: 1.7em; | |||
font-weight: bold; | |||
} | |||
.mw-body-content h4 { | |||
font-size: 1.5em; | |||
font-weight: normal; | |||
} | |||
.mw-body-content h5 { | |||
font-size: 1em; | |||
} | |||
.mw-body-content h6 { | |||
font-size: 0.8em; | |||
} | |||
/* Pagina principale */ | |||
.trecolonnecontenitore { | |||
display: flex; | |||
flex-flow: row wrap; | |||
justify-content: space-between; | |||
margin: 1em 0; | |||
} | |||
.trecolonnefuori { | |||
box-sizing: border-box; | |||
float: left; | |||
width: 32%; | |||
padding: 0; | |||
border: none; | |||
background-color: #f9f9f9; | |||
} | |||
.trecolonnedentro { | |||
padding: 8px; | |||
} | |||
.trecolonnedentro h2 { | |||
margin-bottom: 0; | |||
background: linear-gradient(white, grey); | |||
} | |||
/* See https://github.com/wikimedia/Vector/blob/0c27e8deb820e89fc5773cb535aebc029e84961a/.storybook/icons.less */ | /* See https://github.com/wikimedia/Vector/blob/0c27e8deb820e89fc5773cb535aebc029e84961a/.storybook/icons.less */ | ||
Line 6: | Line 78: | ||
} | } | ||
/* | /* Bordino del contenuto */ | ||
.mw-body { | .mw-body { | ||
border: 1px solid # | border: 1px solid #00a300; | ||
border-right-width: 0; | border-right-width: 0; | ||
} | } | ||
/* | .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 { | ||
background-image: url(/wt/skins/Vector/resources/skins.vector.styles/images/tab-separator.png?09d4b); | |||
background-image: linear-gradient(to bottom,#BDE6CE 0,#00a300 100%); | |||
background-repeat: no-repeat; | |||
background-size: 1px 100%; | |||
font-family: "Open Sans", sans-serif; | |||
} | |||
.vector-menu-tabs li { | |||
background-image: linear-gradient(to top,#00a300 0,#BDE6CE 1px,#ffffff 100%); | |||
} | |||
.titolobox { | |||
/*padding: 5px;*/ | |||
background-color: #225643; | |||
text-align: center; | |||
color: white; | |||
font-size: 18px; | |||
position: relative; | |||
z-index: 1; | |||
padding:0.5em; | |||
font-family: "Fjalla One" | |||
} | |||
.separatorebox { | |||
clear:both; | |||
width:100%; | |||
text-align:center; | |||
background-color: #00a300; | |||
} | |||
.titolobox img { | |||
left: 10px; | |||
position: absolute; | |||
z-index: 2; | |||
} | |||
/* Override standard badge icon for redirects (see Q1208) */ | |||
.wb-badge-Q12028 { | |||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/8d/Symbol_redirect_arrow_blue.svg); | |||
background-repeat: no-repeat; | |||
background-position: 0 center; | |||
background-size: 1em; | |||
/* | |||
display: inline-block; | |||
height: 19px; | |||
vertical-align: middle; | |||
width: 12px; | |||
*/ | |||
} |
Latest revision as of 00:35, 10 January 2025
/* CSS placed here will be applied to all skins */
/* <syntaxhighlight lang=css> */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans');
/* from https://www.wikidata.org/wiki/User:Nikki/colour_icons.css */
@import url("https://www.wikidata.org//w/index.php?title=User:Nikki/colour_icons.css&action=raw&ctype=text/css");
/* Font */
body {
font-family: "Open Sans", sans-serif
}
h1, h2, h3, h4, h5, h6 {
font-family: "Fjalla One"
}
.mw-body-content h1, .mw-body-content h2, .mw-body h1 {
font-family: "Fjalla One"
}
.mw-body h1, .mw-body-content h1 {
font-size: 2.5em;
font-weight: bold;
}
.mw-body-content h2 {
font-size: 2em;
font-weight: bold;
}
.mw-body-content h3 {
font-size: 1.7em;
font-weight: bold;
}
.mw-body-content h4 {
font-size: 1.5em;
font-weight: normal;
}
.mw-body-content h5 {
font-size: 1em;
}
.mw-body-content h6 {
font-size: 0.8em;
}
/* Pagina principale */
.trecolonnecontenitore {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin: 1em 0;
}
.trecolonnefuori {
box-sizing: border-box;
float: left;
width: 32%;
padding: 0;
border: none;
background-color: #f9f9f9;
}
.trecolonnedentro {
padding: 8px;
}
.trecolonnedentro h2 {
margin-bottom: 0;
background: linear-gradient(white, grey);
}
/* See https://github.com/wikimedia/Vector/blob/0c27e8deb820e89fc5773cb535aebc029e84961a/.storybook/icons.less */
.mw-wiki-logo{
background-size: 135px auto;
}
/* Bordino del contenuto */
.mw-body {
border: 1px solid #00a300;
border-right-width: 0;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
background-image: url(/wt/skins/Vector/resources/skins.vector.styles/images/tab-separator.png?09d4b);
background-image: linear-gradient(to bottom,#BDE6CE 0,#00a300 100%);
background-repeat: no-repeat;
background-size: 1px 100%;
font-family: "Open Sans", sans-serif;
}
.vector-menu-tabs li {
background-image: linear-gradient(to top,#00a300 0,#BDE6CE 1px,#ffffff 100%);
}
.titolobox {
/*padding: 5px;*/
background-color: #225643;
text-align: center;
color: white;
font-size: 18px;
position: relative;
z-index: 1;
padding:0.5em;
font-family: "Fjalla One"
}
.separatorebox {
clear:both;
width:100%;
text-align:center;
background-color: #00a300;
}
.titolobox img {
left: 10px;
position: absolute;
z-index: 2;
}
/* Override standard badge icon for redirects (see Q1208) */
.wb-badge-Q12028 {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/8d/Symbol_redirect_arrow_blue.svg);
background-repeat: no-repeat;
background-position: 0 center;
background-size: 1em;
/*
display: inline-block;
height: 19px;
vertical-align: middle;
width: 12px;
*/
}