MediaWiki:Common.css: Difference between revisions

From Gigantic Wiki
Content added Content deleted
(- characontainer)
No edit summary
Line 292: Line 292:
color: white; }
color: white; }
/* Succesful edit */
/* Succesful edit */
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not(.oo-ui-messageWidget-block) {
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not(.oo-ui-messageWidget-block) { /* Message */
color: #5DEB5D; }
color: #5DEB5D; }
.oo-ui-image-success.oo-ui-icon-check, .mw-ui-icon-check-success::before { /* Icon */
filter: brightness(130%) hue-rotate(335deg) saturate(250%); }


/** Recent Changes UI **/
/** Recent Changes UI **/

Revision as of 22:34, 17 October 2023

/***** CSS placed here will be applied to all skins on the entire site. *****/
/** Imports **/
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
/* font-family: 'Poppins', sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
/* font-family: 'Montserrat', sans-serif; */

/** Links **/
/* Normal */
a {
	color: #FFF8A1 !important; }
a:visited {
	color: #FFF37A !important; }
a:hover {
	color: #9FDDDF !important;
	text-decoration: none;
	text-shadow: 2px 2px 5px black; }
/* Red */
a.new {
    color: #DA3030 !important; }
a.new:visited {
    color: #DC6161 !important; }

/** Headers **/
/* Page title */	
.mw-body h1.firstHeading {
	border-bottom: solid 4px #3FB9BE;
    padding-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    color: #FFFDDF; }

/** Icons **/
/* Alert and Notice */
#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
	filter: invert(1);
	opacity:unset !important;
	background-color: transparent !important; }
/* MediaWiki icons */
.mw-content-ltr .redirectText li:first-child {
	background-image: url("https://static.miraheze.org/gogiganticwiki/d/db/Wiki_Icon_Redirect_Dark.svg"); }
#mw-indicator-mw-helplink a {
	background-image: url("https://static.miraheze.org/gogiganticwiki/0/02/Wiki_Icon_Help_Notice_Dark.svg"); }
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
	background-image: url("https://static.miraheze.org/gogiganticwiki/a/af/Wiki_Icon_Sort_Both_Dark.svg"); }
.jquery-tablesorter th.headerSortUp {
	background-image: url("https://static.miraheze.org/gogiganticwiki/a/a5/Wiki_Icon_Sort_Up_Dark.svg"); }
.jquery-tablesorter th.headerSortDown {
	background-image: url("https://static.miraheze.org/gogiganticwiki/5/56/Wiki_Icon_Sort_Down_Dark.svg"); }
.postedit:after {
    background-image: url("https://static.miraheze.org/gogiganticwiki/1/1a/Wiki_Icon_Close_Dark.svg"); }
/* .mw-parser-output a.external {
	background-image: url(""); } */

/** References **/
.references {
    font-size: 90%;
    line-height: 1.2; }

/** Tables **/
/* Default table class */
.wikitable {
	background: transparent;
	color: #E6E6E6;
	border: 1px solid #3FB9BE; }
.wikitable th {
	background: #177082 !important;
	color: #E6E6C5; }
.wikitable th, .wikitable td {
	border: 1px solid #3FB9BE !important; }
/* "Gigantic" table */
.gigtable {
	text-align: center;
	width: 95%;
	margin: 10px auto;
	border-collapse: collapse;
	border: 2px solid #3FB9BE; }
.gigtable th, .gigtable td {
	padding: 3px 5px;
	border-left: 2px solid #3FB9BE; }
.gigtable th {
	background: #1A7D93; }
.gigtable tr {
	background: #0D5467; }
.gigtable tr:nth-child(odd) {
	background-color: #154352; }
@media only screen and (max-width: 1100px) { /* On smaller screens */
  .gigtable {
	width: 100%; }
}

/** Gallery **/
.mw-body li.gallerybox div.thumb {
	background: transparent;
	border: none; }
div.gallerytext {
	text-align: center; }

/** Tabber **/
.tabber {
	margin-bottom: 10px; }
/* Tabs */
.tabber__header {
	border-bottom: 3px solid #3FB9BE;
	box-shadow: none; }
.tabber__tab {
	padding: 0.3em 0.75em; }
/* Selected tab */
.tabber__tab[aria-selected="true"], .tabber__tab[aria-selected="true"]:visited {
	background: #3FB9BE;
	color: white !important; }
.tabber__tab[aria-selected="true"]:hover {
	text-shadow: none;
	cursor: default; }
.tabber__indicator {
	background: #3FB9BE; }

/** Tooltips (Template:Tooltip; see also Tooltips.js; doesn't work as /styles.css) **/
.main-tooltip {
	background-color: #053849;
	border: 3px solid #3FB9BE;
	color: #F2FEFE;
	width: 300px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	margin-bottom: 5px;
	padding: 7px; }
.tooltips-init-complete {
    cursor: help; }
.tooltiphead { /* Header inside tooltip */
	color: #FBFAD9;
	font-family: 'Poppins', sans-serif;
	font-size: 110%; }

/* Inline code block */
code {
    color: #CCFDFF;
    background-color: #06212A;
    border: 1px solid #005C5F; }

/** File page **/
/* Header */
#filetoc {
	background: #177082 !important;
	border: none !important; }
/* Metadata table */
#mw_metadata {
	color: inherit; }
.mw_metadata th {
	background: #1A7D93; }
.mw_metadata td {
	background: #0A4557; }

/** General UI elements **/
/* Buttons */
.oo-ui-buttonElement-button {
	background-color: #3FB9BE !important;
	border-color: #3FB9BE !important;
	border-radius: 0 !important;
	color: #FFF !important; }
.oo-ui-buttonElement-button:hover {
	background-color: #179FA4 !important;
	border-color: #179FA4 !important;
	color: #FFF37A !important;
	text-shadow: none; }
/* Text input fields */
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	border-color: #37A1A5;
	border-radius: 0; }
.oo-ui-textInputWidget .oo-ui-inputWidget-input:hover {
	border-color: #37A1A5 !important; }
/* Container */
.oo-ui-panelLayout-framed {
	border: 1px solid #37A1A5;
	border-radius: 0;
	background: #094254; }
/* Flags/check boxes */
.oo-ui-checkboxInputWidget [type="checkbox"] + span { /* Unchecked */
	border-color: #3FB9BE;
	border-radius: 0;
	background-color: #093340; }
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:hover + span { /* Hover on unchecked */
	background-color: #177082;
	border-color: #3FB9BE; }
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked + span, /* Checked */
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate + span { 
	background-color: #3FB9BE;
	border-color: #3FB9BE; }
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked:hover + span, /* Hover on checked */
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate:hover + span {
	background-color: #1A7D93;
	border-color: #3FB9BE; }
/* Dialog window */
.oo-ui-window-frame { /* Outer border */
	border-color: #3FB9BE !important;
	border-radius: 0 !important; }
.oo-ui-window-body { /* Window */
	background: #177082; }
.oo-ui-messageDialog-content > .oo-ui-window-foot { /* Annoying border */
	outline: none; }
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget { /* Borders of buttons */
	border-color: #3FB9BE !important; }
/* Notifs (Echo) window */
.oo-ui-popupWidget-popup { /* Container */
	background-color: #1A7D93;
	border: 3px solid #3FB9BE;
	border-radius: 0; }
.oo-ui-popupWidget-head,
.oo-ui-popupWidget-footer { /* Header and big buttons */
	border: none !important; }
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > 
.oo-ui-popupWidget-popup > /* Removing border from buttons */
.oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child {
	border: none; }
.mw-echo-ui-placeholderItemWidget,
.mw-echo-ui-notificationItemWidget { /* Content */
	background-color: #177082;
	border: none ; }
.mw-echo-ui-notificationItemWidget:hover {
	background-color: #3AA9AE; }
.mw-echo-ui-notificationItemWidget .oo-ui-buttonElement-button { /* Button flag in Notices */
	background: transparent !important;
	border: none !important; }
.mw-echo-ui-notificationItemWidget-content-message-header { /* Messages in Notices */
	color:#E6E6E6 !important; }
.mw-echo-ui-notificationItemWidget-icon { /* Icons in notices */
	filter:invert(1) brightness(130%) saturate(20%); }

/** Editor UI **/
/* Outer border */
.wikiEditor-ui .wikiEditor-ui-view { 
	border: 2px solid #3FB9BE;
	border-bottom: none; }
/* Bringing back (kinda) default coloring */
.wikiEditor-ui-toolbar a {
	color: initial !important; }
.wikiEditor-ui-toolbar .oo-ui-buttonElement-button {
	background-color: transparent !important;
	border-color: transparent !important; }
.wikiEditor-ui-toolbar .booklet > .index > div {
	color: initial !important; }
.wikiEditor-ui-toolbar .booklet > .index > .current {
	background-color: #d7e8ff; }
/* Bottom box */
div.editOptions { /* Container */
	padding: 1.25em 1.75em;
	border: 2px solid #3FB9BE;
	border-radius: 0 !important;}
div .editOptions {
	background: #0A4557 !important;
	color: #E9E6E8 !important; }
.cancelLink .oo-ui-buttonElement-button { /* Cancel button */
	background-color: unset !important;
	border-color: transparent !important; }
.cancelLink .oo-ui-buttonElement-button:hover {
	background-color: unset !important;
	border-color: transparent !important;
	color: white !important; }
	
/** Edittools CharInsert **/
/* Container */
.charinsert-container { 
	border: 2px solid #3FB9BE;
	background: #0A4557;
	padding: 3px 0 0;
	text-align: center; }
/* Buttons */
.mw-charinsert-buttons a { 
	background-color: #1A7D93;
	padding: 0 2px 2px;
	margin: 2px 1px; }
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background: #3FB9BE;
	color: white !important; 
	text-shadow: none; }
	
/** Changes preview **/
.diff-deletedline { /* - */
	border-color: #b98200; }
.diff-deletedline .diffchange {
	background: #b98200; }
.diff-addedline { /* + */
	border-color: #2582db; }
.diff-addedline .diffchange {
	background: #2582db; }

/** Notifications **/
.mw-notification {
    background-color: #1A7D93;
    border: 2px solid #3FB9BE;
    border-radius: 0;
    color: white; }
/* Succesful edit */
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not(.oo-ui-messageWidget-block) { /* Message */
	color: #5DEB5D; }
.oo-ui-image-success.oo-ui-icon-check, .mw-ui-icon-check-success::before { /* Icon */
	filter: brightness(130%) hue-rotate(335deg) saturate(250%); }

/** Recent Changes UI **/
/* Top block */
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { /* Main visible block */
    background-color: #0A4557 !important;
    border: 2px solid #3FB9BE !important; }
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { /* Its header */
    color:#E9E6E8 !important; }
/* Filter bar */
.mw-rcfilters-head .oo-ui-textInputWidget .oo-ui-inputWidget-input { 
    background-color: #177082;
    border: 2px solid #3FB9BE;
    border-top:none;
    border-radius: 0;
    color: white; }
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input::placeholder {
    color: #B9B9B9; }
/* Filter buttons (on the right) */
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { 
    background-color: #0A4557;
    border: 2px solid #3FB9BE;
    border-top:none;
    border-left:none;
    border-radius: 0; }
/* List of abbreviations */
.mw-changeslist-legend { 
    background-color: #0A4557 !important;
    border: 2px solid #3FB9BE !important;
    color: #E9E6E8 !important; }
/* Buttons (to no-buttons) */
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle .oo-ui-buttonElement-button,
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-buttonElement-button { 
    background-color: transparent !important;
    border-color: transparent !important; }
/* Icons */
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle .oo-ui-iconElement-icon,
.oo-ui-textInputWidget.oo-ui-widget-enabled > .oo-ui-iconElement-icon,
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-iconElement-icon,
.mw-changesList-watchlistExpiry.oo-ui-iconElement-icon { 
    opacity: unset;
    filter: invert(1); }

/** Other changes elements **/
.mw-plusminus-pos { /* + */
	color: #5DEB5D; }
.mw-plusminus-neg { /* - */
	color: #FF5F5F; }
/* Recent changes table */
.client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc {
	margin-left: 0; }
.mw-changeslist h4 { /* Date headers */
	font-family: 'Segoe UI';
	color: #FFFDDF; }
/* Page history */
#pagehistory li.selected { /* Revision select */
	background: #177082;
	color: inherit; }

/** Search results **/
.mw-search-profile-tabs {
	border: 2px solid #3FB9BE !important;
	border-radius: 0;
	background: #1A7D93 !important; }
#mw-searchoptions {
	border: 2px solid #3FB9BE !important;
	background: #0A4557 !important;
	border-top: none !important; }
.results-info, #mw-searchoptions {
	color: inherit !important; }
.mw-search-result-data {
	color: #C4C4C4; }
	
/** Warning box **/
div.mw-warning-with-logexcerpt {
	border-color: #3FB9BE; }
.mw-message-box-warning {
	background-color: #FFFDDF; }
.mw-message-box-warning a {
	color: #177082 !important; }

/** ManageWiki UI (coloring) **/
/* Subheaders */
.oo-ui-fieldLayout-disabled > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header > .oo-ui-labelElement-label {
	color: #E6E6E6; }
/* Descriptions */
.oo-ui-labelWidget.oo-ui-inline-help {
	color: #C4C4C4; }
/* Select */
.managewiki-search-highlight {
	background: #177082 !important;
	outline: 3px solid #177082 !important; }

/*******************/ 
/** Navboxes **/
/* General */
.navbox {
     background:#1A7D93;
     border-collapse:collapse;
     width:100%;
     text-align:center; 
     border:5px solid #3FB9BE; }
/* Headers */
.navbox th {
     color:white;
     padding:2px 5px; }
/* Title header */
.navbox-title {
     background:#1A7D93; 
     border-bottom:5px solid #3FB9BE; }
/*.navbox-title a {
     color:#42E1BF; }*/ /* цвет ссылок */
/*.navbox-title a:hover {
     color:#C7FFF3; }*/ /* ховер ссылок */
/* groups */
.navbox-group {
     background:#0D5467;
     max-width:150px;
     text-align:right;
     padding-right: 10px !important;}
/* Lists */
.navbox-list {
     border-collapse:collapse;
     background-color: #154352; }
/* Section and subheader - to fix */
.navbox-section {
     width:100%;
     margin-left:-3px;
     margin-top: -5px; }
.navbox-header {
     width:100% !important;
     background:#0D5467;
     margin:0; }

/** Creatures stats table styles **/
/* General */
.crea {
     margin:auto;
     vertical-align:middle;
     text-align:center;
     border-collapse:collapse; 
     border: 3px solid #3FB9BE; }
/* Header */
.crea th {
     text-align:right;
     padding:5px 10px 6px 0;
     font-weight:bold;
     font-size:16px;
     color:#F2FEFE;
     line-height: 1.1;
     background-color:#154352; }
.crea tr {
     background-color:#0D5467; }
.crea tr:nth-child(even) {
     background-color:#1A7D93; } /* фон четных строк */
.crea td {
     padding:3px; }

/** Grid for icons **/
/* container (no widht and paddings here) */
.iconbox {
     display: flex;
     flex-wrap: wrap; 
     justify-content: space-around;
     white-space: pre-wrap;
     text-align: center;
     margin: auto; }
/* bg for heroes on Mainpage */
.mainpageicon {
     background: url(https://vignette.wikia.nocookie.net/gigantic5722/images/3/3f/Mainpage-icon-background.png/revision/latest?cb=20171105170614&path-prefix=ru);
     display: block;
     width: 112px; height: 112px; 
     margin: 8px; }
.mainpageicon:hover {
     background-position: 0 -112px; }

/* bg for maps on Mainpage */
.mainpagemap {
     background: url(https://vignette.wikia.nocookie.net/gigantic5722/images/4/42/Mainpage-map-background.png/revision/latest?cb=20171105200729&path-prefix=ru);
     display: block;
     width: 180px; height: 135px; 
     margin: 10px 5px; }
.mainpagemap:hover {
     background-position: 0 -135px; }
     
/* bg for heroes in articles */
.normpageicon {
     background: url(https://vignette.wikia.nocookie.net/gigantic5722/images/6/63/Normpage-icon-background.png/revision/latest?cb=20171105171109&path-prefix=ru);
     display: block;
     width: 100px; height: 100px; 
     margin: 5px; 
     padding-bottom: 15px; 
     font-size: 90%; }
.normpageicon:hover {
     background-position: 0 -115px; }

/* ------------------------------------------------------------------------------- */
/** Mainpahe containers/blocks **/
.mainpagediv {
     border: 5px solid #3FB9BE;
     background: url(https://vignette.wikia.nocookie.net/gigantic5722/images/8/87/Mainpage_div_bg.png/revision/latest?cb=20171104232441&path-prefix=ru);
     background-color: #002B36; }

/* [[Category:Styling pages]] */