More actions
m Experiment with color settings |
Add magnifying glass icon to Paragraph Finder in sidebar |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Citizen skin */ | /* All CSS here will be loaded for users of the Citizen skin */ | ||
:root { | :root { | ||
/* | --color-primary__h: 285; | ||
--color- | } | ||
/* ========= */ | |||
/* HOME PAGE */ | |||
/* ========= */ | |||
.home-nav { | |||
background-color: var(--color-surface-1); | |||
} | |||
.home-search { | |||
border: 1px solid var(--border-color-base); | |||
} | |||
.home-search:hover { | |||
background-color: var(--color-surface-1); | |||
} | |||
.category-bar-button { | |||
background-color: var(--color-surface-1); | |||
border: 1px solid var(--border-color-base); | |||
} | |||
.category-bar-button:hover { | |||
background-color: var(--background-color-button-quiet--hover); | |||
} | |||
/* Sidebar icons */ | |||
.citizen-drawer__menu a:before { | |||
display: block; | |||
content: ""; | |||
width: var(--size-icon); | |||
height: var(--size-icon); | |||
background: transparent center/contain no-repeat; | |||
opacity: var(--opacity-icon-base); | |||
filter: var(--filter-invert); | |||
} | |||
.citizen-drawer__menu .citizen-ui-icon { | |||
display: none; | |||
} | |||
.citizen-drawer__menu #n-mainpage-description a:before { background-image: url(/resources/assets/nav-icons/home.svg); } | |||
.citizen-drawer__menu #n-recentchanges a:before { background-image: url(/resources/assets/nav-icons/clipboard.svg); } | |||
.citizen-drawer__menu #n-randompage a:before { background-image: url(/resources/assets/nav-icons/dice-five.svg); } | |||
.citizen-drawer__menu #n-help-mediawiki a:before { background-image: url(/resources/assets/nav-icons/question.svg); } | |||
.citizen-drawer__menu #n-upload a:before { background-image: url(/resources/assets/nav-icons/upload.svg); } | |||
.citizen-drawer__menu #n-randompage a:before { background-image: url(/resources/assets/nav-icons/dice-five.svg); } | |||
.citizen-drawer__menu #t-specialpages a:before { background-image: url(/resources/assets/nav-icons/alternate-file.svg); } | |||
.citizen-drawer__menu #n-About a:before { background-image: url(/resources/assets/nav-icons/info-circle.svg); } | |||
.citizen-drawer__menu #n-Contribute a:before { background-image: url(/resources/assets/nav-icons/pen.svg); } | |||
.citizen-drawer__menu #n-Paragraph-Finder a:before { background-image: url(/resources/assets/nav-icons/magnifying-glass-solid.svg); } | |||
.citizen-drawer__menu #n-Forum a:before { background-image: url(/resources/assets/nav-icons/comments.svg); } | |||
.citizen-drawer__menu #n-Status a:before { background-image: url(/resources/assets/nav-icons/alternate-tachometer.svg); } | |||
.citizen-drawer__menu #n-Characters a:before { background-image: url(/resources/assets/nav-icons/dragon.svg); } | |||
.citizen-drawer__menu #n-Books a:before { background-image: url(/resources/assets/nav-icons/book.svg); } | |||
.citizen-drawer__menu #n-Locations a:before { background-image: url(/resources/assets/nav-icons/alternate-map-marker.svg); } | |||
/* Icon invert helper class */ | |||
.skin-invert-image img, | |||
.skin-invert { | |||
filter: var(--filter-invert); | |||
} | |||
.skin-invert .skin-invert, | |||
.skin-invert .skin-invert-image img { | |||
filter: none; | |||
} | |||
/* Make infoboxes fix with theme */ | |||
.infobox { | |||
border: 1px solid var(--border-color-base); | |||
padding: 0.4em; | |||
border-radius: var(--border-radius--large); | |||
} | |||
/* Bigger wordmark */ | |||
img.mw-logo-wordmark { | |||
height: 2.5rem; | |||
} | } | ||
Latest revision as of 10:13, 31 May 2025
/* All CSS here will be loaded for users of the Citizen skin */
:root {
--color-primary__h: 285;
}
/* ========= */
/* HOME PAGE */
/* ========= */
.home-nav {
background-color: var(--color-surface-1);
}
.home-search {
border: 1px solid var(--border-color-base);
}
.home-search:hover {
background-color: var(--color-surface-1);
}
.category-bar-button {
background-color: var(--color-surface-1);
border: 1px solid var(--border-color-base);
}
.category-bar-button:hover {
background-color: var(--background-color-button-quiet--hover);
}
/* Sidebar icons */
.citizen-drawer__menu a:before {
display: block;
content: "";
width: var(--size-icon);
height: var(--size-icon);
background: transparent center/contain no-repeat;
opacity: var(--opacity-icon-base);
filter: var(--filter-invert);
}
.citizen-drawer__menu .citizen-ui-icon {
display: none;
}
.citizen-drawer__menu #n-mainpage-description a:before { background-image: url(/resources/assets/nav-icons/home.svg); }
.citizen-drawer__menu #n-recentchanges a:before { background-image: url(/resources/assets/nav-icons/clipboard.svg); }
.citizen-drawer__menu #n-randompage a:before { background-image: url(/resources/assets/nav-icons/dice-five.svg); }
.citizen-drawer__menu #n-help-mediawiki a:before { background-image: url(/resources/assets/nav-icons/question.svg); }
.citizen-drawer__menu #n-upload a:before { background-image: url(/resources/assets/nav-icons/upload.svg); }
.citizen-drawer__menu #n-randompage a:before { background-image: url(/resources/assets/nav-icons/dice-five.svg); }
.citizen-drawer__menu #t-specialpages a:before { background-image: url(/resources/assets/nav-icons/alternate-file.svg); }
.citizen-drawer__menu #n-About a:before { background-image: url(/resources/assets/nav-icons/info-circle.svg); }
.citizen-drawer__menu #n-Contribute a:before { background-image: url(/resources/assets/nav-icons/pen.svg); }
.citizen-drawer__menu #n-Paragraph-Finder a:before { background-image: url(/resources/assets/nav-icons/magnifying-glass-solid.svg); }
.citizen-drawer__menu #n-Forum a:before { background-image: url(/resources/assets/nav-icons/comments.svg); }
.citizen-drawer__menu #n-Status a:before { background-image: url(/resources/assets/nav-icons/alternate-tachometer.svg); }
.citizen-drawer__menu #n-Characters a:before { background-image: url(/resources/assets/nav-icons/dragon.svg); }
.citizen-drawer__menu #n-Books a:before { background-image: url(/resources/assets/nav-icons/book.svg); }
.citizen-drawer__menu #n-Locations a:before { background-image: url(/resources/assets/nav-icons/alternate-map-marker.svg); }
/* Icon invert helper class */
.skin-invert-image img,
.skin-invert {
filter: var(--filter-invert);
}
.skin-invert .skin-invert,
.skin-invert .skin-invert-image img {
filter: none;
}
/* Make infoboxes fix with theme */
.infobox {
border: 1px solid var(--border-color-base);
padding: 0.4em;
border-radius: var(--border-radius--large);
}
/* Bigger wordmark */
img.mw-logo-wordmark {
height: 2.5rem;
}