MediaWiki:Vector.css

Da Pikipedia.
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: tieni premuto il tasto Ctrl e fai clic su Aggiorna, oppure premi Ctrl-F5
  • Opera: premi Ctrl-F5.
/* Sfondo della pagina */

body {
    background: #e6f1e1 linear-gradient(0, #e6f1e1 89%, #ccf8df 100%);
    background-repeat: no-repeat;
}
#mw-page-base {
	background: none;
}

/* Sfondo del contenuto */

#content, .vector-menu-tabs-legacy .selected, .vector-menu-tabs li.selected, .vector-menu-portal, #p-personal ul {
    background: #f2f7f0;
}

/* Proprietà del contenuto e dei menu */

#content {
    margin-top: 6px;
    margin-right: 6px;
}
#content, .vector-menu-portal, #p-personal ul, .vector-search-box-input {
    border: 2px solid #a7c197;
    border-radius: 12px;
    box-shadow: 0 3px #00000010;
}
#p-personal ul {
    padding: 1px 10px 0 0;
    margin-right: -10px;
    height: 27px;
}

/* Menu a sinistra */

.vector-menu-portal {
    margin: 0 3px 8px 3px;
    padding: 5px 3px;
}
.vector-menu-portal .vector-menu-heading {
    background: none;
    border-bottom: 1px solid #d2d5d0;
    margin: 0 8px;
}

/* Tab in alto */

#left-navigation, #right-navigation {
    margin-top: 47px;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
	background: none;
}
ul.vector-menu-content-list {
    margin-left: 10px;
}
.vector-menu-tabs li {
	background: #e6f1e1;
    border: 2px solid #a7c197;
    margin-top: -3px;
    margin-left: -2px;
}
.vector-menu-tabs li a {
    padding-top: 13px;
}
.vector-menu-tabs .selected {
    border-bottom: 2px solid #f2f7f0;
}
.vector-menu-content-list li:first-child {
    border-top-left-radius: 10px;
}
.vector-menu-content-list li:last-child {
    border-top-right-radius: 10px;
}
#pt-userpage a {
    background-position: 0 5px!important;
}
.vector-menu-content .mw-echo-notifications-badge {
    top: -3px!important;
}
.vector-search-box {
    margin-right: 16px;
}
.vector-search-box-input {
    height: 30px;
    background: #fff;
    padding: 6px;
}
.vector-search-box form {
    margin: 0 -10px 0 0;
}

/* Non voglio uno sfondo diverso per l'anteprima */

#wikiPreview.ontop {
    background: transparent;
}

/* Link */

a, a:visited, .wikiEditor-ui-toolbar .tabs span.tab a, .vector-menu-portal .vector-menu-content li a, .vector-menu-portal .vector-menu-content li a:visited, .mw-footer a, .mw-footer a:visited, .vector-menu-tabs li a, .vector-menu-dropdown li a, .toctogglelabel, .oo-ui-window-frame a, .oo-ui-window-frame a:visited, .oo-ui-widget a, .oo-ui-widget a:visited, .ui-menu a, .ui-menu a:visited, .vector-menu-dropdown .mw-list-item a {
	color: #557449;
}
a.new, .vector-menu-tabs .new a, .vector-menu-tabs .new a:visited, .vector-menu-tabs .new a:before {
    color: #b13100!important;
}
.mw-parser-output a.extiw, .mw-parser-output a.external {
    color: #616fd5;
}