mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-29 00:31:09 +00:00
Make mw-sidebar-sitename flexible
This removes the need to overwrite the 'top' property in the global css.
This commit is contained in:
parent
4fe581fb46
commit
987fb23125
|
@ -201,6 +201,7 @@ a {
|
|||
|
||||
#mw-wrapper {
|
||||
overflow: hidden;
|
||||
perspective: 1px; // Antialiasing fix
|
||||
}
|
||||
|
||||
#siteNotice {
|
||||
|
|
|
@ -279,19 +279,21 @@
|
|||
#mw-sidebar-sitename {
|
||||
position: fixed;
|
||||
visibility: visible;
|
||||
top: @sidebar-sitename-height + @header-height + @margin-side;
|
||||
top: 0;
|
||||
left: @margin-side;
|
||||
font-size: 11px;
|
||||
letter-spacing: 4px;
|
||||
transform: translateY( 0 ) rotate( -90deg );
|
||||
transform-origin: top left;
|
||||
transform: translateY( 100% ) translateX( -100% ) rotate( -90deg );
|
||||
transform-origin: top right;
|
||||
transition: @transition-transform, @transition-opacity;
|
||||
padding-right: 90px;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
}
|
||||
|
||||
// Nav up stuff
|
||||
.nav-up {
|
||||
~ #mw-sidebar-sitename {
|
||||
transform: translateY( -54px ) rotate( -90deg );
|
||||
transform: translateY( -54px ) translateX( -100% ) rotate( -90deg );
|
||||
}
|
||||
|
||||
#mw-header-menu-drawer-container {
|
||||
|
|
Loading…
Reference in a new issue