Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 33: Line 33:
/* Add UI icon styling */
/* Add UI icon styling */
.wikitable .mw-ui-icon-wikimedia-collapse::before {
.wikitable .mw-ui-icon-wikimedia-collapse::before {
width: 0.875rem;
content: '\f077'; /* Down arrow for collapsed state */
height: 0.875rem;
font-family: "WikimediaUI"; /* Assuming the icon font is WikimediaUI */
transition: 250ms cubic-bezier( 0.4, 0, 0.2, 1 );
font-size: 16px;
padding-right: 5px;
transition-property: transform;
}
}



Revision as of 22:12, 16 October 2024

/* Hide title and edit tools on main page */
/*.page-Main_Page .citizen-page-header,
.page-Main_Page #siteSub {
	display: none!important;
} */
/* .citizen-page-header */

.wikitable img{
	border-radius: 7px;
}

/* Style for collapsible toggle */
.wikitable .mw-collapsible-toggle {
    cursor: pointer;
    padding: 5px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    text-align: left;
    font-weight: bold;
}

.wikitable .mw-collapsible-content {
    display: none; /* Initially hide the collapsible content */
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.wikitable .mw-collapsible.expanded .mw-collapsible-content {
    display: table-row-group; /* Show table content when expanded */
}

/* Add UI icon styling */
.wikitable .mw-ui-icon-wikimedia-collapse::before {
	width: 0.875rem;
    height: 0.875rem;
    transition: 250ms cubic-bezier( 0.4, 0, 0.2, 1 );
    transition-property: transform;
}

.wikitable .mw-collapsible.expanded .mw-ui-icon-wikimedia-collapse::before {
    content: '\f078'; /* Up arrow for expanded state */
}


.citizen-body img{
	border-radius: 6px;
}

.citizen-footer{
	margin-top: 0;
	background-color: rgb(50 70 109);
}

.citizen-page-footer{
	gap: var(--space-sm);
	padding-top: 0;
	margin-bottom: var(--space-xxl);
}

.citizen-ui-icon {
	filter: brightness(0) saturate(100%) invert(87%) sepia(26%) saturate(742%) hue-rotate(339deg) brightness(102%) contrast(94%);
}

.citizen-header__button .citizen-ui-icon::before,
.citizen-ui-icon::before{
	opacity: 1;
}

.page-Main_Page .citizen-page-header .citizen-page-heading{
	display: none;
}
.page-Main_Page .citizen-page-header{
	justify-content: flex-end;
}

.page-Main_Page .citizen-body-container{
	grid-template-areas: 'content''header''afterHeader''footer';
	margin: 0px;
}

.citizen-body-container{
	margin: 0px;
	background-color: rgb(38 45 69);
}

.home-logo-aomr{
	pointer-events: none; /* Disable clicking */
    transform: none !important; /* Disable zoom effect */
    cursor: default !important; /* Change cursor to default */
    transition: none !important; /* Disable any transition effects */
} 

.citizen-header{
	background-color: #262d45;
	border-right-width: 1px;
	border-color: #32466d;
}

  .page-Main_Page .citizen-body-container{
	background-image: url('/wiki/images/c/c1/Main-BG.webp');
	background-position: top center;
    background-size: 1920px;
    background-repeat: repeat;
    background-attachment: scroll; 
   
} 

/* Force override until skin is updated */
.skin-citizen blockquote {
	margin: 0.8rem 20px;
	padding: 0;
}
/*
.citizen-search .citizen-dropdown-summary .citizen-ui-icon span:nth-child(1),
.citizen-drawer .citizen-dropdown-summary .citizen-ui-icon span:nth-child(1){

    background-color: #e88510;
} 

.citizen-search .citizen-dropdown-summary .citizen-ui-icon span:nth-child(2),
.citizen-drawer .citizen-dropdown-summary .citizen-ui-icon span:nth-child(2){

    border-color: #e88510;
}

.citizen-drawer .citizen-dropdown-summary .citizen-ui-icon span{
    background-color: #e88510;
}
*/
.citizen-search .citizen-dropdown-summary .citizen-ui-icon span,
.citizen-drawer .citizen-dropdown-summary .citizen-ui-icon span{
    opacity: 1; 
    filter: brightness(100%);
} 

/* :root.skin-theme-clientpref-night {   
    --background-color-button-quiet--hover: lightblue;
} */
Cookies help us deliver our services. By using our services, you agree to our use of cookies. We only use cookie to make the site function and save your preferences, nothing else.