MediaWiki:Common.css
Nota: dopo aver pubblicato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.
- Firefox / Safari: tieni premuto il tasto delle maiuscole Shift e fai clic su Ricarica, oppure premi Ctrl-F5 o Ctrl-R (⌘-R su Mac)
- Google Chrome: premi Ctrl-Shift-R (⌘-Shift-R su un Mac)
- Edge: tieni premuto il tasto Ctrl e fai clic su Aggiorna, oppure premi Ctrl-F5.
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
body {
font-family: 'Source Sans Pro',Helvetica,Arial,sans-serif;
}
img {
image-rendering: pixelated;
}
/* Tasti EditTools */
#mw-edittools-charinsert {
text-align:center;
}
.editOptions {
margin-bottom:0.5em;
}
.mw-edittools-section {
margin: 0;
font-size:14px
}
.mw-edittools-section a {
background: -moz-linear-gradient(top, rgb(246,246,246) 1%,rgb(222,222,222) 100%);
background: -webkit-linear-gradient(top, rgb(246,246,246) 1%,rgb(222,222,222) 100%);
background: linear-gradient(to bottom, rgb(246,246,246) 1%,rgb(222,222,222) 100%);
border: #939393 1px solid;
border-radius: 4px;
text-align: center;
color: buttontext;
box-sizing: border-box;
padding: 2px 4px 3px;
line-height: 2em;
}
.mw-edittools-section a:hover {
text-decoration:none;
background: -moz-linear-gradient(top, rgb(255,255,255) 1%, rgb(240,240,240) 100%);
background: -webkit-linear-gradient(top, rgb(255,255,255) 1%,rgb(240,240,240) 100%);
background: linear-gradient(to bottom, rgb(255,255,255) 1%,rgb(240,240,240) 100%);
border: #777 1px solid;
}
.mw-enhanced-rc td {padding-left:6px;}
.mw-collapsible div {min-width: 64px;}
.portlet #t-upload,.portlet #t-print{display:none;}
.pattern {
background: url(/resources/assets/pattern.png);
background-size: 32px 32px;
background-attachment: fixed;
}
.lingue tr:first-child th, .lingue tr:first-child th a {
color: #E5FFE5;
}
.lingue tr:first-child th:hover, .lingue tr:first-child th a:hover {
color: #FFF;
}
.lingue td:first-child {
padding-left: 5px;
}
.lingue td {
background: #DDFFDD
}
/* Gallerie centrate */
ul.gallery {
text-align: center;
margin: 2px auto 0;
padding-bottom: 0;
}
/* Mainpage */
#mainpage-container {
display: flex;
flex-direction: row;
}
.mainpage-box, .mainpage-box-header, .mainpage-box-content {
margin: 3px;
}
.mainpage-box {
border: 2px solid #083028;
background: #F0FFF0;
}
.mainpage-box-header {
background: #508838;
font-weight: bold;
color: #FFF;
}
.mainpage-box-content {
background: #E0FFE0;
}