Geometry Dash Wiki
Geometry Dash Wiki
No edit summary
No edit summary
Line 135: Line 135:
   
 
/* Article Table of Contents */
 
/* Article Table of Contents */
.toc {display: none;}
+
.WikiaMainContent .toc {display: none;}
   
 
/* Talk Page / Rename Page Dropdown Menu Item Links (tailored to management operational preferences) */
 
/* Talk Page / Rename Page Dropdown Menu Item Links (tailored to management operational preferences) */
Line 141: Line 141:
   
 
/* 'Icon Kit', 'Map Components' Article Selective Image Border-Radius Suppression */
 
/* 'Icon Kit', 'Map Components' Article Selective Image Border-Radius Suppression */
.page-Icon_Kit .WikiaArticle .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .thumb .gallery-image-wrapper .image .thumbimage, .page-Level_Components .WikiaArticle .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .thumb .gallery-image-wrapper .image .thumbimage {border-radius: 0;}
+
.page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .thumb .gallery-image-wrapper .image .thumbimage, .page-Level_Components .WikiaArticle .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .thumb .gallery-image-wrapper .image .thumbimage {border-radius: 0;}
   
 
/* 'Icon Kit' Article Popover Caption Configuration */
 
/* 'Icon Kit' Article Popover Caption Configuration */
.page-Icon_Kit .WikiaArticle .tabberlive, .page-Icon_Kit .WikiaArticle .tabberlive .tabbertab {overflow: visible;}
+
.page-Icon_Kit .WikiaMainContent .tabberlive, .page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab {overflow: visible;}
.page-Icon_Kit .WikiaArticle .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .lightbox-caption {display: none;}
+
.page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .lightbox-caption {display: none;}
.page-Icon_Kit .WikiaArticle .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item:hover .lightbox-caption {
+
.page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item:hover .lightbox-caption {
 
display: block;
 
display: block;
 
position: absolute;
 
position: absolute;

Revision as of 05:43, 31 March 2021

/* Any CSS here will affect the default Wikia skin */

/* CSS Main Import - https://geometry-dash.fandom.com/wiki/MediaWiki:Wikia.css/yotta.css */
@import "/load.php?articles=MediaWiki:Wikia.css/yotta.css&only=styles&mode=articles";

/***************************/
/** CUSTOM COLOUR THEMING **/
/***************************

The entire site may be customised by modifying the colour variables below. This is fully centralised, and should override the vast majority of element stylings which would normally be influenced by the settings configured using the Theme Designer for as high consistency as possible. Note that the main exceptions are instances where some old icons still use preset images that cannot be easily replaced, which are determined by a judgement as to whether a light or dark theme is active. A simple specification of '#FFF' for a light theme or '#000' for a dark theme is sufficient to maintain control over this. It is configured using the following setting from the Theme Designer:
* Page > main

The Discussions platform also uses various settings from the Theme Designer. The platform itself is not MediaWiki-based and as such cannot be customised using local CSS. However, the Discussions platform is able adopt its own theme, distinct from what is specified here, using the following settings from the Theme Designer:
* Background > main : the lower portion of the gradient background
* Background > graphic : is overlaid by the gradient background
* Page > header : the upper portion of the gradient background
* Page > links : processed into a similar related colour for links and other contrasting elements

Also note that because some pages have custom CSS disabled for security purposes, for example Special:Preferences, it is preferable to configure the remaining settings from the Theme Designer to match the customisations of the CSS specified further below where applicable:
* Background > graphic > tile
* Background > graphic > fix
* Page > buttons
* Page > toolbar
* Page > main > transparency


Use an edit summary to specify any significant changes to the current theme.


/******** Variables ********/

:root {
    --text-page: #3A3A3A;
    --text-accent: #3A3A3A;
    --text-contrast: #FFF;
    --text-table: #FFF;
    --text-module: #FFF;
    --text-heavy: #666;
    --link-header: #FFF;
    --link-headerhover: #0AF;
    --link-page: #00A;
    --link-contrast: #FFF;
    --link-contrasthover: #0AF;
    --link-table: #0F0;
    --link-module: #0F0;
    --link-buttonprimary: #FFF;
    --link-buttonsecondary: #3A3A3A;
    --link-dropdownmenu: #3A3A3A;
    --link-dropdownmenuhover: #00A;
    --link-administrator: #0FF;
    --link-moderator: #0F0;
    --link-wikimanager: #60F;
    --shadow-page: transparent;
    --border-page: transparent;
    --border-general: #FFF9;
    --border-accent: #0003;
    --border-module: #FFF;
    --border-menubuttondivide: #FFF6;
    --background-main: url(https://vignette.wikia.nocookie.net/geometry-dash/images/5/50/Wiki-background), linear-gradient(to bottom, #006, #6AC), #359; /* this link does not need to be changed, replace the image by uploading a different one */ /* 800px, #006 to #359 midpoint to #6AC */
    --background-header: #00A;
    --background-headertransparent: #00A6;
    --background-page: #8CF6;
    --background-accent: #D9D9F299;
    --background-accenthover: #FFF9;
    --background-accentheavy: #D9D9F2;
    --background-popover: #D9D9F2DD;
    --background-popoverhover: #FFFD;
    --background-contrast: #00A;
    --background-contrastalternate: #08F;
    --background-tableheader: #444C;
    --background-tablecell: #000C;
    --background-module: linear-gradient(to bottom, #000, transparent);
    --background-buttonprimary: #00A;
    --background-buttonprimaryhover: #00D;
    --background-buttonsecondary: #EEE;
    --background-buttonsecondaryhover: #F7F7F7;
    --background-footertoolbar: linear-gradient(to right, #000D 0, #00AD 50%, #000D 100%);
    --background-notification: #00AD;
    --background-overlay: #0003;
    --background-overlaydark: #0009;
    --background-overlaygradient: linear-gradient(to bottom, transparent, #000);
    --colour-red: #C00;
    --colour-green: #0C0;
    --colour-lightblue: #08F;
    --colour-darkblue: #00A;
    --colour-purple: #60F;
    --colour-redtransparent: #F009;
    --colour-greentransparent: #0F09;
    --colour-lightbluetransparent: #0AF9;
    --colour-darkbluetransparent: #00C9;
    --colour-purpletransparent: #60F9;
    --colour-whitetransparent: #FFF9;
    --fontsize-header: 24px;
    --fontsize-h1: 28px;
    --fontsize-h2: 20px;
    --fontsize-h3: 17px;
    --fontsize-large: 14px;
    --fontsize-page: 13px;
    --fontsize-small: 12px;
    --fontsize-sub: 10px;
    --lineheight-h1: 32px;
    --lineheight-h2: 24px;
    --lineheight-page: 22px;
    --lineheight-sub: 16px;
    --fontfamily: 'Trebuchet MS', Helvetica, sans-serif;
}

/***************************/
/***** Staff Highlight *****/
/***************************/

/* Administrator Usernames */
.WikiaPage a[href$="Hackey5"], .modalContent a[href$="Hackey5"],
.WikiaPage a[href$="Sonar553"], .modalContent a[href$="Sonar553"] {
    font-weight: bold !important;
    color: var(--link-administrator) !important;
}
 
/* Moderator Usernames */
.WikiaPage a[href$="DXL444"], .modalContent a[href$="DXL444"],
.WikiaPage a[href$="88304a"], .modalContent a[href$="88304a"] {
    font-weight: bold !important;
    color: var(--link-moderator) !important;
}

/* Wiki Manager Usernames */
.WikiaPage a[href$="Atvelonis"], .modalContent a[href$="Atvelonis"] {
    font-weight: bold !important;
    color: var(--link-wikimanager) !important;
}

/***************************/
/** Local Configurations ***/
/***************************/

/* Article Table of Contents */
.WikiaMainContent .toc {display: none;}

/* Talk Page / Rename Page Dropdown Menu Item Links (tailored to management operational preferences) */
.wds-dropdown__content .wds-list li #ca-talk, .wds-dropdown__content .wds-list li #ca-move {display: none;}

/* 'Icon Kit', 'Map Components' Article Selective Image Border-Radius Suppression */
.page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .thumb .gallery-image-wrapper .image .thumbimage, .page-Level_Components .WikiaArticle .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .thumb .gallery-image-wrapper .image .thumbimage {border-radius: 0;}

/* 'Icon Kit' Article Popover Caption Configuration */
.page-Icon_Kit .WikiaMainContent .tabberlive, .page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab {overflow: visible;}
.page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item .lightbox-caption {display: none;}
.page-Icon_Kit .WikiaMainContent .tabberlive .tabbertab .wikia-gallery .wikia-gallery-item:hover .lightbox-caption {
    display: block;
    position: absolute;
    top: 20px;
    right: 0;
    left: 0;
    z-index: 1;
    background-color: var(--background-popover);
}

/* Special:Community - Header + Rail + Content Body + Module Section + Announcement Section + Contents & Heading */
.community-page-header {display: none;}
.CommunityPageContainer .community-page-rail {display: none;}
.CommunityPageContainer .CommunityPageMainContent {padding: 0;}
.CommunityPageContainer .CommunityPageMainContent .community-page-cards-module {display: none;}
.CommunityPageContainer .CommunityPageMainContent .community-page-todo-list-module {
    max-width: none;
    margin: 0;
    padding: 0;
}
.CommunityPageContainer .CommunityPageMainContent .community-page-todo-list-module > div {
    margin: 0;
    padding: 0;
    border: none;
    font-weight: inherit;
}
.CommunityPageContainer .CommunityPageMainContent .community-page-todo-list-module .community-page-todo-list-module-header-wrapper {display: none;}

/* View_Source Module (View_Source script) */
#source-toc {display: none;}