MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
mNo edit summary
mNo edit summary
Tag: Manual revert
 
(63 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 */
 
html {
    --header-size: 5rem;
}
.mw-body-footer {
.mw-body-footer {
     display: flex;
     display: flex;
Line 214: Line 216:


/*
/*
  * Very important checkmark
  * FOOTER - Trig Icon
* Blue checkmark near wordmark
*/
*/
.mw-logo-wordmark {display: flex;align-items: center;gap: var( --space-sm );}
.mw-logo-wordmark {display: flex;align-items: center;gap: var( --space-sm );}
.mw-logo-wordmark:after {
.mw-logo-wordmark:after {
content: "";
content: "";
Line 224: Line 224:
     height: 38px;
     height: 38px;
     display: block;
     display: block;
     background: url('../../../../images/citizen-skin/triglavian-wordmark.png');
     background: url('../../../../images/citizen-skin/triglavian_wordmark.png');
}
}


Line 237: Line 237:




/* Side Menu-Drawer Icon */
/* SIDEBAR */
 
/* Drawer Menu - NEOCON EVE LOGO */
.citizen-drawer__buttonIcon{
.citizen-drawer__buttonIcon{
background: url('../../../../images/citizen-skin/neocom-sidebar-eve.png') center;
background: url('../../../../images/citizen-skin/icons/neocom_sidebar_eve.png') center no-repeat;
height:32px;
height:40px;
width:32px;
width:40px;
    border-bottom: 1px solid var(--border-color-base);
}
}
.citizen-drawer__buttonIcon div{display: none;}
.citizen-drawer__buttonIcon div{display: none;}
.citizen-drawer__button {
.citizen-drawer__button {
     position: relative;
     position: relative;
Line 253: Line 253:
     border-bottom: 1px solid var(--border-color-base);
     border-bottom: 1px solid var(--border-color-base);
}
}
/* Disable Sitename Small Font "From EVEDump" */
#siteSub{ display: none !important; }


/* Search Icon */
/* Search Icon */
.mw-ui-icon-wikimedia-articlesSearch:before {background-image: url(../../../../images/citizen-skin/search.png);}
.mw-ui-icon-wikimedia-articlesSearch:before {background-image: url(../../../../images/citizen-skin/icons/search.png);}
/* Search No Results */
/* Search No Results */
.mw-ui-icon-wikimedia-articleNotFound:before {background-image: url(../../../../images/citizen-skin/search_noresults.png);}
.mw-ui-icon-wikimedia-articleNotFound:before {background-image: url(../../../../images/citizen-skin/icons/search_noresults.png);}


/* User Preferences Gear */
/* User Preferences Gear */
.mw-ui-icon-wikimedia-settings:before {background-image: url(../../../../images/citizen-skin/sidebar-preferences.png);}
.mw-ui-icon-wikimedia-settings:before {background-image: url(../../../../images/citizen-skin/icons/sidebar_preferences.png);}
/* Invert Icons */
/* Invert Icons */
.mw-ui-icon-wikimedia-settings, .mw-ui-icon-wikimedia-articleNotFound, .mw-ui-icon-wikimedia-articlesSearch, .mw-logo-icon, .citizen-drawer__buttonIcon{
.mw-ui-icon-wikimedia-settings, .mw-ui-icon-wikimedia-articleNotFound, .mw-ui-icon-wikimedia-articlesSearch, .mw-logo-icon, .citizen-drawer__buttonIcon{
filter: var( --filter-invert );
filter: invert(1) hue-rotate(180deg);
}
}


/* CiteThisPage */
/* CiteThisPage */
pre, code, .mw-code, .mw-specialCiteThisPage-bibliographic {
.mw-specialCiteThisPage-bibliographic {
     background: hsla(var(--color-surface-1), 1);
    background: hsla(var(--color-primary__h), 25%, 12%, 0.4);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
}
.mw-specialCiteThisPage-bibliographic {
     background: hsla(var(--color-primary__h), 25%, 12%, 0.4);
     border: 1px solid var(--border-color-base);
     border: 1px solid var(--border-color-base);
     border-radius: 8px;
     border-radius: 8px;
     box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
     box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
    padding: var(--space-md);
}
}
/* End CiteThisPage */
/* End CiteThisPage */
pre, code, .mw-code  {
    background: hsla(var(--color-primary__h), 25%, 12%, 1 );
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
}




/* Category Collapsible Sections */
 
/* Category Collapsible Sections
.citizen-section-collapsible {
.citizen-section-collapsible {
background: hsla(var(--color-primary__h), 25%, 12%, 0.4);
     position: relative;
     position: relative;
     display: flex;
     display: flex;
     overflow: hidden;
     overflow: hidden;
     flex-direction: column;
     flex-direction: column;
    background: hsla(var(--color-primary__h), 100%, 100%, 0.9);
    /*background: hsl(from var(--color-surface-1));*/
     border: 1px solid var(--border-color-base);
     border: 1px solid var(--border-color-base);
     border-radius: 8px;
     border-radius: 8px;
     box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
     box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
     padding: var(--space-md);
     padding: var(--space-md);
}
*/
/*------------------------------------------------------------------------------------------------------*/
/*** Content */
.main-page-box {
width: 100%;
display: inline-block;
position: relative;
background-color: #000;
color: white;
background: url(https://evedump.com/images/citizen-skin/templates/main_page_content_bg.png)
}
.nomobile::after {
box-shadow: 0px -8px 5px -8px #86f5eb;
display: block;
content: '';
position: absolute;
top: 0px;  right: 0px;  bottom: 0px;  left: 0px;
color: white;
border: 17px solid transparent;
border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
-moz-border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
    -o-border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
    -webkit-border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
}
}

Latest revision as of 08:14, 9 March 2024

/* All CSS here will be loaded for users of the Citizen skin */
html {
    --header-size: 5rem;
}
.mw-body-footer {
    display: flex;
    flex-direction: column;
    grid-area: footer;
    gap: var(--space-xl);
    line-height: var(--line-height-sm);
    border-radius: 18px;
    padding: 20px;
    /*background-color: hsla(var(--color-primary__h), 25%, 15%, 0.9);*/
    width: 100%;
}

/* Hide main page header for page EVE_Dump
.page-EVE_Dump .mw-body-header {
	display: none;
}*/

.mw-parser-output .home-header__search {
    padding: var(--space-md);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-color: var(--border-color-base--darker);
    border-radius: var(--border-radius--pill);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
}

a {--color-link: hsl(205deg 78.9% 40.13%); --color-link--hover: hsl(205deg 77.53% 49.31%); --color-link--active: var(--color-primary--active);
}

.wikitable [id^='sv-credits-'] {font-weight: var(--font-weight-semibold);line-height: var(--line-height-xs);color: var(--color-base--emphasized);}



/* Log in button on Special:Userlogin page */
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive{
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: var(--border-radius--medium);
    color: var(--color-base);
}
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover{
    background-color: var(--color-primary--hover);
    border-color: var(--color-primary);
    border-radius: var(--border-radius--medium);
}

.cdx-text-input__input:enabled {
    background-color: transparent;
    color: var(--color-base);
    border-color: #a2a9b1;
    box-shadow: inset 0 0 0 1px transparent;
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: .25s;
}

#mw-createaccount-join {
    /*color: var(--color-primary);*/
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: var(--border-radius--medium);
    color: var(--color-base);
}

#mw-createaccount-join:hover {
    /*color: var(--color-primary);*/
    background-color: var(--color-primary--hover);
    border-color: var(--color-primary);
    border-radius: var(--border-radius--medium);
    color: var(--color-base);
}

.cdx-checkbox__input:enabled:checked+.cdx-checkbox__icon, .cdx-checkbox__input:enabled:indeterminate+.cdx-checkbox__icon {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
/* End Login Stuff */

/*Create Account Page */
.mw-number-text.icon-edits {
    background: url('../../../../images/citizen-skin/icons/edits.png') no-repeat left center; 
}

.mw-number-text.icon-pages {
    background: url('../../../../images/citizen-skin/icons/pages.png') no-repeat left center;
}

.mw-number-text.icon-contributors {
    background: url('../../../../images/citizen-skin/icons/contributors.png') no-repeat left center;
}

/* Edit Page Button */
:root #ca-edit  {--color-primary: hsl(205, 25%, 15%); --color-primary--hover: hsl(205, 50%, 30%);}

#footer-places-disclaimers { display: none !important}

:root {--width-layout: 1280px !important;--color-primary__h: 205;}

/* Adjust contrast since we changed primary color */
:root.skin-citizen-dark {--color-primary__l: 35% ;}

.citizen-footer {opacity: 90%;}

body {
	min-height: 100vh;
	padding: 0;
	margin: 0;
	color: var( --color-base );
	accent-color: var( --color-primary );
	/*background: var( --color-surface-0 );*/
	background: url('../../../../images/citizen-skin/background.jpg') fixed no-repeat top center;
	}

/* Footer */
/*.mw-body-footer {
    width: 1080px;
    background-color: rgb(33, 40, 46, 0.9);
    border-radius: 18px;
    padding: 10px 20px 10px;
    display: flex;
    flex-direction: column;
    grid-area: footer;
    gap: var(--space-xl);
    line-height: var(--line-height-sm);

}
*/
/* Header Padding-Left */
.page-heading {flex-grow: 1;padding-left: 20px;}

/* Center Content Body Border/Round Radius */
.citizen-body {
    grid-area: content;
    background-color: hsla(var(--color-primary__h), 25%, 15%, 0.9);
    border-radius: 18px;
    padding: 20px;
}

#preferences .mw-htmlform-submit-buttons {background-color: hsla(var(--color-primary__h), 25%, 15%, 0.9); border-top-color: var(--border-color-base);
}


/* Align icon opacity with skin default */
.mw-logo-icon {opacity: var( --opacity-icon-base );}

/*
 * Menu
 * Rich format menu to have more hierarchy
*/
.mw-portlet-External {
	margin-top: var( --space-md );
    padding-top: var( --space-sm );
	border-top: 1px solid var( --border-color-base );
	font-size: 0.8125rem;
	grid-column: 1 / -1;
	white-space: nowrap;
}

.mw-portlet-External .citizen-menu__heading {display: none;}

.mw-portlet-External ul {display: flex;	overflow: auto;}

.mw-portlet-External .mw-list-item a {gap: 0;}

/* Label */
.citizen-drawer__menu [id^="n-sidebar-label-"] a {
	pointer-events: none;
    margin-left: var( --space-xs );
    padding-left: var( --space-md );
	padding-right: var( --space-xs );
	border-left: 1px solid var( --border-color-base );
    border-radius: 0;
    letter-spacing: 0.05em;
    font-weight: var( --font-weight-normal );
    color: var( --color-base--subtle ) !important;
}



/*
 * Footer icons
 * We use custom footer icons so we need to fine tune it
*/
#footer-icons a {opacity: var( --opacity-icon-base );transition: opacity 250ms ease;}

#footer-icons a:hover {opacity: var( --opacity-icon-base--hover );}

#footer-icons a:active {opacity: var( --opacity-icon-base--active );}

/* More space between icons */
#footer-icons ul,#footer-icons li {gap: var( --space-md );}

/* Divide footer links into two columns */
#footer-places {column-count: 2;}

/* Fix misalignment in Safari and Firefox when using two columns */
#footer-places ul {display: initial;}

/* Darken the footer icon in light mode */
.skin-citizen-light #footer-icons a {filter: invert( 1 ) hue-rotate( 180deg );}

/* Lighten the icon in dark mode */
.skin-citizen-dark .mw-logo-icon {filter: invert( 1 ) hue-rotate( 180deg );}

/* Hide main page header */
.page-Star_Citizen_Wiki .mw-body-header {display: none;}

/*
 * FOOTER - Trig Icon
*/
.mw-logo-wordmark {display: flex;align-items: center;gap: var( --space-sm );}
.mw-logo-wordmark:after {
	content: "";
    width: 38px;
    height: 38px;
    display: block;
    background: url('../../../../images/citizen-skin/triglavian_wordmark.png');
}

.wikitable th {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-normal);
    color: var(--color-base--subtle);
    text-align: start;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* SIDEBAR */
/* Drawer Menu - NEOCON EVE LOGO */
.citizen-drawer__buttonIcon{
	background: url('../../../../images/citizen-skin/icons/neocom_sidebar_eve.png') center no-repeat;
	height:40px;
	width:40px;
    border-bottom: 1px solid var(--border-color-base);
}
.citizen-drawer__buttonIcon div{display: none;}
.citizen-drawer__button {
    position: relative;
    padding: 0 10 var(--space-xs) 0;
    margin: var(--space-xxs) 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-color-base);
}

/* Search Icon */
.mw-ui-icon-wikimedia-articlesSearch:before {background-image: url(../../../../images/citizen-skin/icons/search.png);}
/* Search No Results */
.mw-ui-icon-wikimedia-articleNotFound:before {background-image: url(../../../../images/citizen-skin/icons/search_noresults.png);}

/* User Preferences Gear */
.mw-ui-icon-wikimedia-settings:before {background-image: url(../../../../images/citizen-skin/icons/sidebar_preferences.png);}
/* Invert Icons */
.mw-ui-icon-wikimedia-settings, .mw-ui-icon-wikimedia-articleNotFound, .mw-ui-icon-wikimedia-articlesSearch, .mw-logo-icon, .citizen-drawer__buttonIcon{
	filter: invert(1) hue-rotate(180deg);
}



/* CiteThisPage */
.mw-specialCiteThisPage-bibliographic {
    background: hsla(var(--color-primary__h), 25%, 12%, 0.4);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
}
.mw-specialCiteThisPage-bibliographic {
    background: hsla(var(--color-primary__h), 25%, 12%, 0.4);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
}
/* End CiteThisPage */

pre, code, .mw-code  {
    background: hsla(var(--color-primary__h), 25%, 12%, 1 );
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
}



/* Category Collapsible Sections
.citizen-section-collapsible {
	background: hsla(var(--color-primary__h), 25%, 12%, 0.4);
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
    padding: var(--space-md);
} 
*/
/*------------------------------------------------------------------------------------------------------*/

 /*** Content */
.main-page-box {
	width: 100%;
	display: inline-block;
	position: relative;
	background-color: #000; 
	color: white; 
	background: url(https://evedump.com/images/citizen-skin/templates/main_page_content_bg.png) 
	
}

.nomobile::after {
	box-shadow: 0px -8px 5px -8px #86f5eb;
	display: block;
	content: '';
	position: absolute;
	top: 0px;  right: 0px;  bottom: 0px;  left: 0px;
	color: white;
	border: 17px solid transparent;
	border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
	-moz-border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
    -o-border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
    -webkit-border-image: url(https://evedump.com/images/citizen-skin/templates/main_page_content_border.png) 17 repeat;
}