8,290
edits
m (style wikitable captions) |
m (similar button color fix for Cargo Table page) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 112: | Line 112: | ||
tt { | tt { | ||
font-family: monospace; | font-family: monospace; | ||
color: var(--code-color); | color: var(--code-color); | ||
} | } | ||
Line 280: | Line 279: | ||
opacity: 1; | opacity: 1; | ||
visibility: visible; | visibility: visible; | ||
} | |||
/* "More" dropdown menu styles */ | |||
#mw-head #p-cactions.vector-menu-dropdown .vector-menu-heading { | |||
font-size: 1em; | |||
font-weight: bold; | |||
color: var(--navigation-tab-active-color); | |||
padding: 0.4em 1.8em 0.4em 0.4em; | |||
background: var(--navigation-tab-background); | |||
margin: 0 0.4em 0 0.4em; | |||
height: auto; | |||
} | |||
#mw-head #p-cactions.vector-menu-dropdown .vector-menu-heading:after { | |||
filter: invert(100%);-webkit-filter: invert(100%); | |||
top: 0; | |||
right: 0.5em; | |||
bottom: 0; | |||
} | |||
#mw-head #p-cactions.vector-menu-dropdown .vector-menu-content { | |||
background: var(--body-background-color); | |||
border: 1px solid var(--wikitable-header-background); | |||
} | |||
#mw-head #p-cactions.vector-menu-dropdown .vector-menu-content ul li a { | |||
background: none; | |||
} | |||
#mw-head #p-cactions.vector-menu-dropdown .vector-menu-content ul li:hover { | |||
background: var(--navigation-tab-active-background); | |||
} | } | ||
Line 516: | Line 544: | ||
margin: 0.25em; | margin: 0.25em; | ||
} | } | ||
#mw-panel .vector-menu-portal label.vector-menu-heading { | |||
font-weight: bold; | |||
background-image: linear-gradient(to right,var(--qud-border-bg-color) 0, var(--qud-border-bg-color) 100%); | |||
} | |||
/* ------- front page ------- */ | /* ------- front page ------- */ | ||
.fp-container { | .fp-container { | ||
display: grid; | |||
grid-template-areas:"a" "c" "b" "d" "e" "f"; | |||
grid-template-columns: 100%; | |||
align-items:flex-start; | |||
} | } | ||
@media screen and (min-width: 990px) { | @media screen and (min-width: 990px) { | ||
.fp-container { | |||
grid-template-areas: "c a" "c b" "c d" "c f" "e e"; | |||
grid-template-columns: 60% 40%; | |||
grid-template-rows: auto auto 1fr; | |||
} | |||
} | } | ||
@media screen and (min-width: | @media screen and (min-width: 1565px) { | ||
.fp-container { | .fp-container { | ||
grid-template-areas:"a b" "c b" "c d" "e e"; | |||
grid-template-columns: | grid-template-rows: auto 1f; | ||
grid-template-columns: 800px auto | |||
} | } | ||
} | } | ||
@media screen and (min-width: 1820px) { | |||
.fp-container { | |||
grid-template-areas:"a b" "c b" "c d" "e e" "f f"; | |||
grid-template-rows:auto auto 1f; | |||
grid-template-columns: auto 520px | |||
} | |||
} | |||
.fp-section { | .fp-section { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | |||
#fp-welcome { | |||
grid-area: a; | |||
} | |||
#fp-main { | |||
grid-area: c; | |||
} | |||
#fp-miscwiki { | |||
grid-area: b; | |||
} | |||
#fp-extlinks { | |||
grid-area: d; | |||
} | |||
#fp-bottom { | |||
grid-area: e; | |||
} | } | ||
Line 600: | Line 663: | ||
text-align: center; | text-align: center; | ||
} | } | ||
/** wiki help box **/ | /** wiki help box **/ | ||
.wikihelp { | .wikihelp { | ||
Line 621: | Line 685: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: space-evenly; | justify-content: space-evenly; | ||
text-align: center; | text-align: center; | ||
align-items: flex-start; | |||
} | } | ||
.fplink-outer { | .fplink-outer { | ||
padding: 5px; | |||
flex-basis: calc(12.5% - 10px); | |||
width: calc(12.5% - 15px); | |||
min-width: 115px; | |||
display: inline-block; | |||
} | } | ||
Line 676: | Line 739: | ||
.fplink img { | .fplink img { | ||
max-width: | max-width: 100px; | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
} | } | ||
/** rss scrollbar **/ | |||
.mw-parser-output ::-webkit-scrollbar { | |||
background: transparent; | |||
width:6px; | |||
} | |||
.mw-parser-output ::-webkit-scrollbar-thumb { | |||
background: #b1c9c3; | |||
border-radius:2px; | |||
} | |||
/** Miscellaneous front page fixes **/ | /** Miscellaneous front page fixes **/ | ||
.fpbox .embedvideo, | .fpbox .embedvideo, | ||
Line 804: | Line 878: | ||
border-left-color: var(--ambox-green); | border-left-color: var(--ambox-green); | ||
} | } | ||
.ambox-qud-c { | .ambox-qud-c { | ||
border-left-color: var(--qud-color-c); | border-left-color: var(--qud-color-c); | ||
} | } | ||
.ambox-qud-w-dark { | |||
border-left-color: var(--qud-color-w-dark); | |||
} | |||
/* Ambox small text */ | /* Ambox small text */ | ||
.amsmalltext { | .amsmalltext { | ||
Line 884: | Line 964: | ||
margin-bottom: 1ex; | margin-bottom: 1ex; | ||
} | } | ||
/* ------- pixel sprite scaling ------- */ | |||
.pixel-image, | |||
.moduleinfobox .infobox-imagearea img, | |||
.ambox-image img, | |||
.qud-image .qud-image-link-image-container img { | |||
image-rendering: pixelated; | |||
} | |||
/* ------- tables ------- */ | /* ------- tables ------- */ | ||
table.wikitable { | table.wikitable { | ||
Line 975: | Line 1,064: | ||
color: var(--body-color); | color: var(--body-color); | ||
} | } | ||
/** Main Cargo table admin page **/ | |||
table.cargo-tablelist .oo-ui-iconElement-icon { | |||
/* make button icons visible against our theme's dark background */ | |||
filter: invert(86%) sepia(24%) saturate(124%) hue-rotate(140deg) brightness(98%) contrast(82%); | |||
} | |||
/** Cargo Pages**/ | |||
.cargo-pagevalues-tableinfo { | |||
background-color:transparent; | |||
} | |||
/** Cargo Drilldown **/ | /** Cargo Drilldown **/ | ||
div.drilldown-filters-wrapper { | div.drilldown-filters-wrapper { | ||
Line 1,203: | Line 1,304: | ||
border-top: var(--editor-border); | border-top: var(--editor-border); | ||
color: var(--body-color); | color: var(--body-color); | ||
} | |||
div.wikiEditor-ui-toolbar .oo-ui-iconElement-icon { | |||
/* change icon color to white to make visible on dark background */ | |||
filter: invert(100%) sepia(5%) saturate(21%) hue-rotate(204deg) brightness(107%) contrast(109%); | |||
} | |||
div.wikiEditor-ui-toolbar .tabs span.tab a { | |||
color: var(--link-color); | |||
font-weight: bold; | |||
} | } | ||
Line 1,828: | Line 1,939: | ||
*/ | */ | ||
span.CategoryTreeEmptyBullet, | span.CategoryTreeEmptyBullet, | ||
span.CategoryTreePageBullet, | |||
span.CategoryTreeToggle { | span.CategoryTreeToggle { | ||
position: relative; | position: relative; | ||
padding-right: | padding-right: 26px; | ||
color: transparent; | color: transparent; | ||
border-left: 5px solid transparent !important; | |||
border-right: 5px solid transparent !important; | |||
border-top: 10px solid transparent !important; | |||
border-bottom: 5px solid transparent !important; | |||
} | } | ||
span.CategoryTreeToggle { | span.CategoryTreeToggle { | ||
color: transparent; | color: transparent; | ||
position: relative; | position: relative; | ||
line-height: | line-height: 0px; | ||
} | } | ||
span.CategoryTreeEmptyBullet:before, | span.CategoryTreeEmptyBullet:before, | ||
span.CategoryTreePageBullet:before, | |||
span.CategoryTreeToggle:before { | span.CategoryTreeToggle:before { | ||
position: absolute; | position: absolute; | ||
Line 1,854: | Line 1,971: | ||
content: "[+]"; | content: "[+]"; | ||
} | } | ||
span.CategoryTreeEmptyBullet:before { | span.CategoryTreeEmptyBullet:before, | ||
span.CategoryTreePageBullet:before { | |||
color: var(--qud-color-k); | color: var(--qud-color-k); | ||
content: "\00a0>"; | content: "\00a0>"; | ||
line-height: | line-height: 0px; | ||
} | } | ||
#mw-pages .mw-category li { | #mw-pages .mw-category li { | ||
Line 2,485: | Line 2,603: | ||
font-size: calc(0.23em + 7px); | font-size: calc(0.23em + 7px); | ||
position: absolute; | position: absolute; | ||
z-index: | z-index: 12; | ||
width: 120px; | width: 120px; | ||
bottom: 100%; | bottom: 100%; | ||
Line 3,102: | Line 3,220: | ||
padding-bottom: 0.2em; | padding-bottom: 0.2em; | ||
margin-bottom: -0.3em; | margin-bottom: -0.3em; | ||
} | |||
/* INVENTORY: POPULATION TABLES */ | |||
.qud-inv-poptable-icon { | |||
font-family: var(--qud-font-terminal1); | |||
font-weight: bold; | |||
font-size: 1.25em; | |||
display: inline-block; | |||
margin: 0 5px; | |||
line-height: 1.5em; | |||
} | } | ||
Line 3,353: | Line 3,481: | ||
} | } | ||
} | } | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* This governs the sections on the Community portal */ | /* This governs the sections on the Community portal */ | ||
Line 3,453: | Line 3,582: | ||
/* Template:FP links styles */ | /* Template:FP links styles */ | ||
.fplink-fullwidth { | .fplink-fullwidth { | ||
Line 3,631: | Line 3,739: | ||
/* End main page layout */ | /* End main page layout */ | ||
/* ******************** */ | /* ******************** */ | ||
/* Cryptogull CSS */ | |||
summary:hover { | |||
cursor:pointer; | |||
} | |||
.build-side-header { | |||
position: relative; | |||
width: auto; | |||
height: 1.8em; | |||
border: none; | |||
text-align: center; | |||
padding:0em; | |||
} | |||
.build-side-header::before, | |||
.build-side-header::after { | |||
position: absolute; | |||
width: 1px; | |||
height: 1.2em; | |||
content: ""; | |||
} | |||
.build-side-header::before { | |||
left: 0; | |||
top: 0.6em; | |||
border-left: 2px solid #4A757E; | |||
} | |||
.build-side-header::after { | |||
right: 0; | |||
bottom: 0em; | |||
border-right: 2px solid #4A757E; | |||
} | |||
#content legend { | |||
text-align:center; | |||
color:#cfc041; | |||
font-size:100%; | |||
} |