mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 14:33:46 +08:00
d14851e552
* Removes unused styles This commit only removes unnecessary / duplicate styles. It does not cause any visual changes. * adds class to `<h1>` tag in header topic info. This is much better to target than `h1` * removes unused styles * header title margin adjustment * minor header-title margin adjustments * One more header-title margin adjustment
48 lines
925 B
SCSS
48 lines
925 B
SCSS
// --------------------------------------------------
|
|
// Discourse header
|
|
// --------------------------------------------------
|
|
|
|
.d-header {
|
|
left: 0;
|
|
height: 4em;
|
|
margin-bottom: 15px;
|
|
#site-logo {
|
|
height: 2.667em; // 40px with default 15px font size
|
|
}
|
|
#site-text-logo {
|
|
font-size: $font-up-3;
|
|
margin: 0;
|
|
}
|
|
.extra-info {
|
|
// header title should not be centered if there's no tags / categories
|
|
&:not(.two-rows) {
|
|
min-height: 2.75em;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media all and (max-width: 570px) {
|
|
.extra-info-wrapper {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#main {
|
|
position: relative;
|
|
}
|
|
|
|
#main-outlet {
|
|
padding-top: 5.8572em;
|
|
}
|
|
|
|
.search-link .blurb {
|
|
color: dark-light-choose($primary-high, $secondary-medium);
|
|
display: block;
|
|
word-wrap: break-word;
|
|
font-size: $font-down-2;
|
|
line-height: $line-height-large;
|
|
.search-highlight {
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
|
}
|
|
}
|