More languages
More actions
m (Began navbox adaptation for Citizen-dark. It's quite a mess) |
m (More navbox config) |
||
Line 12: | Line 12: | ||
--color-base: #1c2431; | --color-base: #1c2431; | ||
} | } | ||
/* EDITOR CONFIGURATION */ | |||
.skin-citizen-light .wikiEditor-ui { | .skin-citizen-light .wikiEditor-ui { | ||
box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0, 0.5); | box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0, 0.5); | ||
} | } | ||
.skin-citizen-dark .wikiEditor-ui { | .skin-citizen-dark .wikiEditor-ui { | ||
box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0); | box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0); | ||
} | } | ||
.skin-citizen-dark .ace-tm { | .skin-citizen-dark .ace-tm { | ||
Line 31: | Line 27: | ||
background: var(--background-color-dp-00); | background: var(--background-color-dp-00); | ||
} | } | ||
.skin-citizen-dark .ace-tm .ace_gutter { | .skin-citizen-dark .ace-tm .ace_gutter { | ||
background: var(--color-surface-1); | background: var(--color-surface-1); | ||
} | } | ||
.skin-citizen-dark .ace-tm .ace_gutter-active-line { | .skin-citizen-dark .ace-tm .ace_gutter-active-line { | ||
background-color: var(--color-surface-2--active); | background-color: var(--color-surface-2--active); | ||
} | } | ||
.skin-citizen-dark .codeEditor-status { | .skin-citizen-dark .codeEditor-status { | ||
background-color: var(--color-surface-2); | background-color: var(--color-surface-2); | ||
border-top:0; | border-top:0; | ||
} | } | ||
.skin-citizen-dark .editOptions { | .skin-citizen-dark .editOptions { | ||
background-color: var(--color-surface-1); | background-color: var(--color-surface-1); | ||
Line 51: | Line 43: | ||
border:0; | border:0; | ||
} | } | ||
.skin-citizen-light .editOptions { | .skin-citizen-light .editOptions { | ||
border:0; | border:0; | ||
Line 58: | Line 49: | ||
} | } | ||
/* TOC CONFIGURATION */ | |||
@media screen { | @media screen { | ||
.skin-citizen-dark #toc { | .skin-citizen-dark #toc { | ||
Line 78: | Line 70: | ||
} | } | ||
/* INFOBOX CONFIGURATION */ | |||
.skin-citizen-dark .infobox { | .skin-citizen-dark .infobox { | ||
color: var(--color-base); | color: var(--color-base); | ||
Line 85: | Line 77: | ||
border: 0; | border: 0; | ||
} | } | ||
.skin-citizen-light .infobox { | .skin-citizen-light .infobox { | ||
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5); | box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5); | ||
border: 0; | border: 0; | ||
} | } | ||
.skin-citizen-dark .sidebar { | .skin-citizen-dark .sidebar { | ||
background-color: var(--color-surface-2) !important; | background-color: var(--color-surface-2) !important; | ||
Line 96: | Line 86: | ||
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0) !important; | box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0) !important; | ||
} | } | ||
.skin-citizen-light .sidebar { | .skin-citizen-light .sidebar { | ||
border: 0 !important; | border: 0 !important; | ||
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5) !important; | box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5) !important; | ||
} | } | ||
.skin-citizen-dark .sidebar-list-title { | .skin-citizen-dark .sidebar-list-title { | ||
border-bottom: 1px solid var(--background-color-dp-24) !important; | border-bottom: 1px solid var(--background-color-dp-24) !important; | ||
} | } | ||
/* NAVBOX CONFIGURATION */ | |||
.skin-citizen-dark .navbox { | .skin-citizen-dark .navbox { | ||
background-color: var(--color-surface-2); | background-color: var(--color-surface-2); | ||
Line 111: | Line 100: | ||
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0) | box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0) | ||
} | } | ||
.skin-citizen-light .navbox { | .skin-citizen-light .navbox { | ||
border:0; | border:0; | ||
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5) | box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5) | ||
} | } | ||
.skin-citizen-dark .navbox-title { | .skin-citizen-dark .navbox-title { | ||
background-color: var(--color-surface-4); | background-color: var(--color-surface-4); | ||
} | } | ||
.skin-citizen-dark th.navbox-group { | .skin-citizen-dark th.navbox-group { | ||
background-color: var(--color-surface-4); | background-color: var(--color-surface-4); | ||
} | } | ||
.skin-citizen-dark .navbox-even { | |||
.skin-citizen-dark .navbox- | background-color: var(--color-surface-2); | ||
} | |||
.skin-citizen-dark .navbox-odd { | |||
background-color: var(--color-surface-2); | background-color: var(--color-surface-2); | ||
} | } | ||
.skin-citizen-dark tr + tr > .navbox-group { | .skin-citizen-dark tr + tr > .navbox-group { | ||
border-top: | border-top: 2px solid var(--border-color-base); | ||
} | |||
.skin-citizen-dark tr + tr > .navbox-list { | |||
border-top: 2px solid var(--border-color-base); | |||
} | |||
.skin-citizen-dark .navbox-list { | |||
border-color: var(--border-color-base); | |||
} | } |
Revision as of 19:10, 14 January 2022
/* All CSS here will be loaded for users of the Citizen skin */
blockquote {
padding: 8px 16px;
font-family: var(--font-family-base);
font-size: 100%;
font-style: inherit;
color: var(--color-base)
}
.skin-citizen-light {
--color-base: #1c2431;
}
/* EDITOR CONFIGURATION */
.skin-citizen-light .wikiEditor-ui {
box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0, 0.5);
}
.skin-citizen-dark .wikiEditor-ui {
box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0);
}
.skin-citizen-dark .ace-tm {
background-color: var(--background-color-dp-01);
color: var(--color-base)
}
.skin-citizen-dark .ace-tm .ace_print-margin {
background: var(--background-color-dp-00);
}
.skin-citizen-dark .ace-tm .ace_gutter {
background: var(--color-surface-1);
}
.skin-citizen-dark .ace-tm .ace_gutter-active-line {
background-color: var(--color-surface-2--active);
}
.skin-citizen-dark .codeEditor-status {
background-color: var(--color-surface-2);
border-top:0;
}
.skin-citizen-dark .editOptions {
background-color: var(--color-surface-1);
color: var(--color-base);
box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0);
border:0;
}
.skin-citizen-light .editOptions {
border:0;
box-shadow: 0px 0px 0.6em -0.15em rgba(0, 0, 0, 0.5);
}
/* TOC CONFIGURATION */
@media screen {
.skin-citizen-dark #toc {
box-shadow: 0px 2.25em 1em -0.15em rgb(0, 0, 0);
}
.skin-citizen-light #toc {
box-shadow: 0px 2.25em 1em -0.15em rgb(0, 0, 0,0.5);
}
}
@media screen and (max-width: 1300px) {
.skin-citizen-dark #toc {
box-shadow: none;
}
.skin-citizen-light #toc {
box-shadow: none;
}
}
/* INFOBOX CONFIGURATION */
.skin-citizen-dark .infobox {
color: var(--color-base);
background-color: var(--color-surface-2);
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0);
border: 0;
}
.skin-citizen-light .infobox {
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5);
border: 0;
}
.skin-citizen-dark .sidebar {
background-color: var(--color-surface-2) !important;
border: 0 !important;
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0) !important;
}
.skin-citizen-light .sidebar {
border: 0 !important;
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5) !important;
}
.skin-citizen-dark .sidebar-list-title {
border-bottom: 1px solid var(--background-color-dp-24) !important;
}
/* NAVBOX CONFIGURATION */
.skin-citizen-dark .navbox {
background-color: var(--color-surface-2);
border:0;
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0)
}
.skin-citizen-light .navbox {
border:0;
box-shadow: 0px 0px 0.6em -0.15em rgb(0,0,0,0.5)
}
.skin-citizen-dark .navbox-title {
background-color: var(--color-surface-4);
}
.skin-citizen-dark th.navbox-group {
background-color: var(--color-surface-4);
}
.skin-citizen-dark .navbox-even {
background-color: var(--color-surface-2);
}
.skin-citizen-dark .navbox-odd {
background-color: var(--color-surface-2);
}
.skin-citizen-dark tr + tr > .navbox-group {
border-top: 2px solid var(--border-color-base);
}
.skin-citizen-dark tr + tr > .navbox-list {
border-top: 2px solid var(--border-color-base);
}
.skin-citizen-dark .navbox-list {
border-color: var(--border-color-base);
}