In altre lingue: Deutsch • English • Español • Français • Português do Brasil
Le modifiche ai file CSS e Javascript devono essere conformi alle regole di design del wiki.
Nota: dopo aver salvato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.
- Firefox / Safari: tenere premuto il tasto delle maiuscole Shift e fare clic su Ricarica, oppure premere Ctrl-F5 o Ctrl-R (⌘-R su Mac)
- Google Chrome: premere Ctrl-Shift-R (⌘-Shift-R su un Mac)
- Internet Explorer: tenere premuto il tasto Ctrl e fare clic su Aggiorna, oppure premere Ctrl-F5
- Opera: svuotare completamente la cache dal menu Strumenti → Preferenze
/* CSS placed here will be applied to all skins */
/* Dev Wiki imports */
@import "/load.php?mode=articles&articles=u:dev:MediaWiki:ModernGPAchievements.css&only=styles";
/* Custom fonts */
@font-face {
font-family: 'NMS-Glyphs-Mono';
src: local('NMS-Glyphs-Mono'), local('NMS-Glyphs-Mono'), url(/media/hydra/fonts/NMS-Glyphs-Mono.ttf) format('truetype');
}
@font-face {
font-family: 'NMS-Glyphs-Tight';
src: local('NMS-Glyphs-Tight'), local('NMS-Glyphs-Tight'), url(/media/hydra/fonts/NMS-Glyphs-Tight.ttf) format('truetype');
}
/* Style for horizontal lists (separator following item). */
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) " ";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) " ";
}
/*
* Allow limiting of which header levels are shown in a TOC;
* <div class="toclimit-3">, for instance, will limit to
* showing ==headings== and ===headings=== but no further.
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul,
.toclimit-8 .toclevel-7 ul {
display: none;
}
/* Item colors */
.blue,
.device {
background-color: #0063B7 !important;
}
.green,
.curiosity,
.trade_commodity {
background-color: #007951 !important;
}
.purple,
.anomalous {
background-color: #681676 !important;
}
.red,
.consumable {
background-color: #C01746 !important;
}
.yellow,
.component {
background-color: #F3A923 !important;
}
.technology {
background-color: #095C78 !important;
}
.grey,
.ammunition {
background-color: #b5c1d7 !important;
}
.darkblue {
background-color: #1B2E3F !important;
}
.olive {
background-color: #354A21 !important;
}
.brown {
background-color: #654321 !important;
}
.resource-isotope {
background-color: #BB3830 !important;
}
.resource-neutral {
background-color: #5FCC93 !important;
}
.resource-oxide {
background-color: #FFC356 !important;
}
.resource-precious {
background-color: #6F187E !important;
}
.resource-exotic {
background-color: #6F187E !important;
}
.resource-silicate {
background-color: #0149A3 !important;
}