mediawiki-skins-Citizen/resources/skins.citizen.styles/Siteinfo.less

70 lines
1 KiB
Plaintext
Raw Normal View History

#mw-header-siteinfo {
2021-03-04 20:08:32 +00:00
position: relative;
display: inherit;
2021-03-04 21:25:38 +00:00
overflow: hidden;
2021-03-04 20:08:32 +00:00
flex-grow: 1;
align-items: center;
margin-right: 10px;
a {
2021-03-04 20:08:32 +00:00
transition: @transition-opacity-quick;
&:hover {
opacity: var( --opacity-icon-base--hover );
}
&:active {
opacity: var( --opacity-icon-base--active );
}
}
}
2021-03-04 20:08:32 +00:00
#header {
&-sitetitle {
2021-03-04 20:08:32 +00:00
.mw-logo-wordmark {
2021-04-17 01:22:09 +00:00
color: var( --color-base--emphasized );
2021-04-18 01:01:24 +00:00
font-size: 16px;
2021-03-04 20:08:32 +00:00
white-space: nowrap;
}
img.mw-logo-wordmark {
width: auto;
height: 14px;
}
}
&-pagetitle {
overflow: hidden;
color: var( --color-base--emphasized );
font-weight: 500;
opacity: 0;
pointer-events: none;
text-overflow: ellipsis;
visibility: hidden;
white-space: nowrap;
}
}
.skin-citizen--titlehidden {
#header {
&-sitetitle {
position: absolute;
opacity: 0;
pointer-events: none;
visibility: hidden;
}
&-pagetitle {
opacity: 1;
pointer-events: auto;
visibility: visible;
}
}
2021-03-04 20:08:32 +00:00
}
.skin-citizen-dark {
img.mw-logo-wordmark {
filter: invert( 1 ) hue-rotate( 180deg );
}
}