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

52 lines
725 B
Plaintext
Raw Normal View History

.mw-header {
position: fixed;
z-index: 10;
top: 0;
width: 100%;
height: @header-height;
display: flex;
justify-content: space-between;
&-tools {
display: inherit;
}
ul {
list-style: none;
}
ul,
li {
margin: 0;
display: block;
}
}
#mw-header {
&-background {
position: absolute;
2020-06-07 05:31:34 +00:00
left: 0;
right: 0;
box-shadow: 0 0 50px @header-height @header-background-color-light;
z-index: -1;
transition: @transition-box-shadow;
}
}
// User icon bar
#p-personal-extra {
ul {
height: 56px;
display: flex;
align-items: center;
}
}
@media ( prefers-color-scheme: dark ) {
#mw-header {
&-background {
box-shadow: 0 0 50px @header-height @header-background-color-dark !important;
}
}
2020-06-07 05:31:34 +00:00
}