MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 86: | Line 86: | ||
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 { | .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: url(/wt/skins/Vector/resources/skins.vector.styles/images/tab-separator.png?09d4b); | ||
background-image: linear-gradient(to bottom,# | background-image: linear-gradient(to bottom,#A3CCB4 0,#00a300 100%); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: 1px 100%; | background-size: 1px 100%; | ||
Line 93: | Line 93: | ||
.vector-menu-tabs li { | .vector-menu-tabs li { | ||
background-image: linear-gradient(to top,#00a300 0,# | background-image: linear-gradient(to top,#00a300 0,#A3CCB4 1px,#ffffff 100%); | ||
} | } | ||
Revision as of 11:12, 8 November 2020
/* CSS placed here will be applied to all skins */
/* <syntaxhighlight lang=css> */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans');
/* 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, .mw-body-content h4 {
font-weight: normal;
}
.mw-body-content h3 {
font-size: 1.6em;
}
.mw-body-content h4 {
font-size: 1.5em;
}
.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,#A3CCB4 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,#A3CCB4 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;
}