mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:51:36 +08:00
da5841de0b
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.
44 lines
774 B
SCSS
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);
|
|
}
|
|
}
|