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

66 lines
1,012 B
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 {
color: var( --color-base--emphasized );
font-size: 16px;
text-overflow: ellipsis;
transition: @transition-opacity;
white-space: nowrap;
2021-03-04 20:08:32 +00:00
&: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
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;
}
}
2021-03-04 20:08:32 +00:00
}
.skin-citizen-dark {
img.mw-logo-wordmark {
filter: invert( 1 ) hue-rotate( 180deg );
}
}