127 lines
2.0 KiB
SCSS
127 lines
2.0 KiB
SCSS
.head {
|
|
display: table;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
.head-inner {
|
|
display: table-row;
|
|
}
|
|
|
|
.head-logo-wrap {
|
|
display: table-cell;
|
|
padding: 10px 0;
|
|
}
|
|
.head-logo {
|
|
padding: 10px 14px;
|
|
margin-left: -14px;
|
|
z-index: 5;
|
|
font-weight: bold;
|
|
font-size: $fs + 2px;
|
|
left: 0;
|
|
background-color: transparent;
|
|
display: inline-block;
|
|
|
|
> a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
&-title {
|
|
color: $fg;
|
|
padding-bottom: 3px;
|
|
&-author {
|
|
font-weight: normal;
|
|
color: $grey;
|
|
}
|
|
}
|
|
|
|
&-subtitle {
|
|
font-size: 14px;
|
|
color: $fg;
|
|
font-weight: normal;
|
|
padding-top: 2px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
}
|
|
.head.no-subtitle .head-logo {
|
|
padding-bottom: 0;
|
|
|
|
> a {
|
|
border-bottom: 1px transparent solid;
|
|
display: inline-block;
|
|
|
|
&:hover {
|
|
border-bottom: 1px $border-color solid;
|
|
}
|
|
|
|
.head-logo-subtitle,
|
|
.head-logo-title {
|
|
display: block;
|
|
float: left;
|
|
}
|
|
|
|
.head-logo-subtitle {
|
|
margin-left: 10px;
|
|
font-size: $fs;
|
|
}
|
|
|
|
.head-logo-subtitle > br {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
//body:not(.theme-changing) .head-logo {
|
|
// @include transition(background-color, 0.03s);
|
|
//}
|
|
|
|
.head-items {
|
|
text-align: right;
|
|
display: table-cell;
|
|
vertical-align: top;
|
|
color: $dark-grey; // color of separators
|
|
padding-top: 15px;
|
|
}
|
|
a.head-item {
|
|
@include no-underline();
|
|
color: $fg;
|
|
font-size: $fs;
|
|
display: inline-block;
|
|
padding: 8px 12px;
|
|
vertical-align: middle;
|
|
|
|
&.is-theme-switcher,
|
|
&.is-settings {
|
|
padding: 8px;
|
|
}
|
|
&.is-settings {
|
|
font-size: 0;
|
|
> svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
}
|
|
|
|
&:hover, &.is-selected {
|
|
border-radius: 4px;
|
|
background-color: $hover-hl;
|
|
text-decoration: none;
|
|
}
|
|
|
|
//&:last-child > span {
|
|
// border-right: 0;
|
|
// padding-right: 1px;
|
|
//}
|
|
}
|
|
|
|
body a.head-item.is-theme-switcher svg path,
|
|
body a.head-item.is-settings svg path {
|
|
fill: $fg;
|
|
}
|
|
|
|
|
|
#svgicon_moon_light_18,
|
|
#svgicon_moon_dark_18,
|
|
#svgicon_moon_auto_18 {
|
|
display: none;
|
|
} |