mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-30 00:55:25 +00:00
51ac47691e
allow visitor to adjust theme, font size, and page width
66 lines
1,018 B
Plaintext
66 lines
1,018 B
Plaintext
#mw-header-siteinfo {
|
|
position: relative;
|
|
display: inherit;
|
|
overflow: hidden;
|
|
flex-grow: 1;
|
|
align-items: center;
|
|
margin-right: 10px;
|
|
|
|
a {
|
|
color: var( --color-base--emphasized );
|
|
font-size: 16px;
|
|
text-overflow: ellipsis;
|
|
transition: @transition-opacity-quick;
|
|
white-space: nowrap;
|
|
|
|
&:hover {
|
|
opacity: var( --opacity-icon-base--hover );
|
|
}
|
|
|
|
&:active {
|
|
opacity: var( --opacity-icon-base--active );
|
|
}
|
|
}
|
|
}
|
|
|
|
#header {
|
|
&-sitetitle {
|
|
img.mw-logo-wordmark {
|
|
width: auto;
|
|
height: 14px;
|
|
}
|
|
}
|
|
|
|
&-pagetitle {
|
|
overflow: hidden;
|
|
color: var( --color-base--emphasized );
|
|
font-weight: 500;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
.skin-citizen--titlehidden {
|
|
#header {
|
|
&-sitetitle {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
&-pagetitle {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
visibility: visible;
|
|
}
|
|
}
|
|
}
|
|
|
|
.skin-citizen-dark {
|
|
img.mw-logo-wordmark {
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
|
}
|
|
}
|