MediaWiki:Citizen.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Manual revert
wikitable box shadow note
 
(8 intermediate revisions by the same user not shown)
Line 50:
.citizen-table-wrapper {
overflow-x: initial;
}
 
@media {
.citizen-overflow-wrapper {
overflow-x: initial;
}
}
 
Line 258 ⟶ 264:
color:var(--color-base-emphasized);
border-radius: var( --border-radius--medium ); /*8px*/
box-shadow: 0 3px1px 6px3px rgba( 0, 0, 0, 0.0403 ), 0 3px1px 6px2px rgba( 0, 0, 0, 0.057506 );
transition: box-shadow 0.2s ease;
padding: 16px;
margin: 5px;
flex: 33.3%;
box-sizing: border-box;
font-size: 0.875em;
}
 
.flex-item:hover {
box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.0475 ), 0 6px 6px rgba( 0, 0, 0, 0.0575 );
}
.flex-title {
margin-top: 0;
Line 354 ⟶ 366:
table.wikitable th {
background-color: var(--color-surface-2);
}
/* The box-shadow looks like the border. Having border:none
still gives appearance of having a border. This will hide
the box-shadow of the wikitable so there are no outer edges */
table.wikitable {
box-shadow: none;
}
 
Line 450 ⟶ 468:
display: none;
}
/*
* Menu
* Rich format menu to have more hierarchy
*/
/* Remove bottom spacing as it is handled in footer portlet */
 
/*********************************************************
* Menu for horizontal links. Credit Star Citizen Wiki
********************************************************/
.citizen-drawer__menu {
margin-bottom: 0;
padding-bottom: 0;
}
 
.mw-portlet-External {
position: sticky;
bottom: 0;
margin-top: var( --space-md );
padding: var( --space-xs ) 0;
border-top: 1px solid var( --border-color-base );
background: var( --color-surface-1 );
font-size: var( --font-size-x-small );
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;
}
 
/* Icons */
.citizen-drawer__menu [id^="n-sidebar-icon-"] a {
font-size: 0;
}
 
.citizen-drawer__menu [id^="n-sidebar-icon-"] 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 );*/
}
 
#n-sidebar-icon-poppy a:before {
background-image: url( https://static.miraheze.org/thelonsdalebattalionwiki/2/21/Poppy_135px.png )
}
 
/******************************************************
Hide the Managewiki links in the sidebar
*******************************************************/
#p-managewiki-sidebar-header {
display: none;
}