MediaWiki:Citizen.css
MediaWiki interface page
Ansichten
Aktionen
Namensräume
Varianten
Werkzeuge
Version vom 6. Juni 2021, 15:03 Uhr von Admin (Diskussion | Beiträge)
Hinweis: Leere nach dem Speichern den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Strg+F5
/* All CSS here will be loaded for users of the Citizen skin */
@media screen and (min-width: 1300px) {
.fadeOut {
visibility: hidden;
}
#searchform {
z-index: 10;
pointer-events: auto;
transform: none;
position: absolute;
left: 30%;
right: 30%;
}
#searchInput {
width: 100%;
transition: visibility 1s ease-in-out !important;
}
#search-toggle {
right: calc(30% - 10px);
transition: visibility 1s ease-in-out !important;
}
#search-toggle-icon {
position: absolute;
right: calc(30% - 10px);
transition: visibility 1s ease-in-out !important;
}
#mw-header-tools {
margin-right: 8px;
}
#mw-drawer {
z-index: 30;
}
#mw-drawer-button {
z-index: 32;
}
#mw-drawer-button-icon {
z-index: 31;
}
}
.toc {
background-color: transparent;
border: navajowhite;
}
.toc .toctitle {
text-align: left;
}
#siteSub {
display: none;
}
#n-upload > a::after {
background-image: url(/load.php?modules=skins.citizen.icons.t&image=upload&format=rasterized&skin=citizen&version=34l68);
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E upload %3C/title%3E%3Cg fill=%22%23000%22%3E %3Cpath d=%22M17 12v5H3v-5H1v5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5z%22/%3E %3Cpath d=%22M10 1 5 7h4v8h2V7h4z%22/%3E %3C/g%3E%3C/svg%3E");
}
/** --------- CHANGE ME --------- **/
body.skin-citizen .mw-parser-output a.new {
color: var( --color-base ) !important;
}
/** Purge URL: https://star-citizen.wiki/load.php?lang=de&modules=site.styles&only=styles&skin=citizen */
/** --------- CHANGE ME --------- **/
body.skin-citizen > .suggestions {
display: none !important;
}
body.skin-citizen table.wikitable tr th,
body.skin-citizen table.wikitable tr td,
body.skin-citizen table.broadtable tr td,
body.skin-citizen table.broadtable tr th {
padding-left: 10px;
}
/** Logo SVG Style **/
html.skin-citizen-light body.skin-citizen .mw-logo-icon {
filter: opacity(0.55);
}
html.skin-citizen-dark body.skin-citizen .mw-logo-icon {
filter: invert(1) opacity(0.55);
}
body.skin-citizen .hatnote {
max-width: var(--width-layout);
margin-right: auto;
margin-left: auto;
margin-top: 0.6rem;
border-radius: 8px;
padding: 10px 15px;
font-size: 0.875rem;
line-height: 1.4;
background-color: var( --background-color-framed );
color: var( --base-color );
}
/** Table Style **/
body.skin-citizen table {
overflow-x: scroll;
}
body.skin-citizen .mw-capiunto-infobox {
/*display: table;*/
width: clamp( 280px, 400px, 90vw );
color: var( --color-base--subtle );
background: var( --background-color-framed );
border-color: var( --border-color-base );
padding: 0;
border-spacing: 0;
border-radius: 1rem;
clear: left;
margin-bottom: 1rem;
}
body.skin-citizen .mw-capiunto-infobox .mw-capiunto-infobox-header.table-image {
background: var( --background-color-framed--active );
}
body.skin-citizen .mw-capiunto-infobox tr th,
body.skin-citizen .mw-capiunto-infobox tr td {
border-bottom: 0;
}
table.mw-capiunto-infobox tbody {
display: flex;
flex-wrap: wrap;
padding-bottom: 10px;
}
table.mw-capiunto-infobox tbody tr td,
table.mw-capiunto-infobox tbody tr th {
padding: 0 20px;
}
table.mw-capiunto-infobox tbody tr {
margin-top: 10px;
display: flex;
flex-direction: column;
}
table.mw-capiunto-infobox tbody .row-image {
margin-top: 0;
margin-bottom: 5px;
flex-basis: 100%;
}
table.mw-capiunto-infobox tbody .row-image.padded {
padding: 0.5rem 1rem 0 1rem;
}
table.mw-capiunto-infobox tbody .row-image td {
padding: 0 !important;
}
table.mw-capiunto-infobox tbody .row-image img {
width: 100%;
object-fit: cover;
}
table.mw-capiunto-infobox tbody .row-image .placeholder img {
max-height: 224px;
}
table.mw-capiunto-infobox tbody .row-header {
flex-basis: 100%;
padding-top: 15px;
border-top: 1px solid var(--border-color-base--darker);
}
table.mw-capiunto-infobox tbody .row-header td {
font-size: 1rem;
text-align: left;
font-weight: bold;
color: var(--color-base);
}
table.mw-capiunto-infobox tbody .row-subheader {
flex-basis: 100%;
margin-bottom: 10px;
text-align: left;
}
table.mw-capiunto-infobox tbody .row-title {
color: var(--color-base--emphasized);
margin-top: 20px;
padding-top: 0;
border-top: 0;
flex-basis: 100%;
}
table.mw-capiunto-infobox tbody > .row-title {
margin-top: 10px;
}
table.mw-capiunto-infobox tbody .row-title td {
text-align: left;
font-size: 1.4rem;
line-height: 1.4;
font-weight: bold;
color: var(--color-base);
}
table.mw-capiunto-infobox tbody .row-title + .row-header {
border-top: 0;
margin-top: 0;
}
table.mw-capiunto-infobox tbody .row {
min-width: 25%;
}
table.mw-capiunto-infobox tbody .row.col-full {
width: 100%;
flex-direction: row;
flex-wrap: wrap;
}
table.mw-capiunto-infobox tbody .row.col-full th,
table.mw-capiunto-infobox tbody .row.col-full td {
width: 100%;
}
table.mw-capiunto-infobox tbody .row.col1 {
width: 100%;
flex-direction: row;
}
table.mw-capiunto-infobox tbody .row.col1 th {
width: 35%;
}
table.mw-capiunto-infobox tbody .row.col1 td {
width: 65%;
}
table.mw-capiunto-infobox tbody .row.col2 {
width: 50%;
}
table.mw-capiunto-infobox tbody .row.col3 {
width: calc(100%/3);
}
table.mw-capiunto-infobox tbody .row.col4 {
width: 25%;
}
table.mw-capiunto-infobox tbody .row td,
table.mw-capiunto-infobox tbody .row th {
text-align: left;
}
table.mw-capiunto-infobox tbody .row th {
font-weight: 400;
}
table.mw-capiunto-infobox tbody .row td {
font-weight: bold;
color: var(--color-base);
}
/** Input fix **/
.mw-parser-output .mw-ui-input {
box-shadow: inset 0 0 0 1px var( --color-base );
}
/** Darkmode **/
html.skin-citizen-dark .invert-if-dark {
filter: invert(1) hue-rotate(180deg) !important;
}
html.skin-citizen-dark body.skin-citizen .hatnote {
background: var( --background-color-dp-01 );
border: none;
}
/** KBD style */
kbd {
padding: 0.25rem 0.45rem;
background-color: var(--background-color-dp-06);
border: 1px solid var(--border-color-base);
border-radius: 0.25rem;
box-shadow: inset 0 -3px 0 var(--background-color-framed--active);
/*margin-right: 0.25rem;*/
}
/** Scrollbar Style */
* {
scrollbar-color: var( --scrollbar-color ) transparent;
scrollbar-width: thin;
}
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
border: 4px solid transparent;
background-color: var( --background-color-icon );
}
@media only screen and (max-width: 720px) {
body.skin-citizen .hatnote {
margin: 0.4rem -20px 0 -20px;
border-radius: 0;
padding: 10px 20px;
}
}
@media only screen and (max-width: 600px) {
body.skin-citizen table.mw-capiunto-infobox.floatright {
float: none;
margin: 0 auto;
display: block;
}
}
@media screen and (max-width: 460px) {
body.skin-citizen table.wikitable.sortable {
display: block;
}
table.mw-capiunto-infobox {
margin: 0;
}
table.mw-capiunto-infobox tbody .row {
flex-basis: 50%;
}
table.mw-capiunto-infobox tbody .row.col1 {
flex-basis: 100%;
}
}
@media screen and (min-width: 1300px) {
/** Drawer */
body.skin-citizen #mw-drawer-menu {
justify-content: left;
}
}