mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-16 19:10:34 +00:00
32 lines
707 B
Plaintext
32 lines
707 B
Plaintext
/*
|
|
* Citizen - Sidebar styles
|
|
* https://starcitizen.tools
|
|
*/
|
|
|
|
// Sidebar site title
|
|
.mw-sidebar-sitename {
|
|
position: fixed;
|
|
visibility: visible;
|
|
top: @header-height;
|
|
left: @margin-side;
|
|
font-size: 11px;
|
|
transform: translateY( 100% ) translateX( -100% ) rotate( -90deg );
|
|
transform-origin: top right;
|
|
transition: @transition-transform, @transition-opacity;
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
.mw-wiki-title {
|
|
letter-spacing: 4px;
|
|
}
|
|
}
|
|
|
|
// Bypass calculation
|
|
@mw-sidebar-sitename-max-width: @margin-side * 5 + @page-width;
|
|
|
|
@media only screen and ( max-width: @mw-sidebar-sitename-max-width ) {
|
|
.mw-sidebar-sitename {
|
|
z-index: -1; // remove link
|
|
opacity: 0; // hide visual
|
|
}
|
|
}
|