discourse/app/assets/stylesheets/desktop/header.scss
Kris da5841de0b
REFACTOR: Remove position fixed from the header and use sticky instead (#10781)
This removes fixed positioning from d-header and the topic timeline.

Plugins, themes and components that use the above/below header plugin outlet will likely need some margin/padding adjustments.
2020-10-19 17:26:38 -04:00

44 lines
774 B
SCSS

// --------------------------------------------------
// Discourse header
// --------------------------------------------------
.d-header {
left: 0;
height: 4em;
#site-logo {
height: 2.667em; // 40px with default 15px font size
}
#site-text-logo {
font-size: $font-up-3;
margin: 0;
}
.extra-info {
&:not(.two-rows) {
.header-title {
margin-bottom: 0;
}
}
}
}
@media all and (max-width: 570px) {
.extra-info-wrapper {
display: none;
}
}
#main {
position: relative;
}
.search-link .blurb {
color: var(--secondary-medium);
display: block;
word-wrap: break-word;
font-size: $font-down-2;
line-height: $line-height-large;
.search-highlight {
color: var(--primary-high-or-secondary-low);
}
}