discourse/app/assets/stylesheets/desktop/header.scss

51 lines
932 B
SCSS
Raw Normal View History

2013-09-06 03:37:07 +08:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
.d-header {
left: 0;
height: 4em;
margin-bottom: 15px;
2018-11-23 22:04:42 +08:00
#site-logo {
height: 2.57em;
}
#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;
}
h1 {
margin: 0 0 0.125em 0;
}
2016-03-18 12:12:55 +08:00
}
2013-09-06 03:37:07 +08:00
}
@media all and (max-width: 570px) {
.extra-info-wrapper {
display: none;
}
}
2013-09-06 03:37:07 +08:00
#main {
position: relative;
}
#main-outlet {
2018-07-28 04:49:28 +08:00
padding-top: 5.8572em;
2013-09-06 03:37:07 +08:00
}
.search-link .blurb {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-high, $secondary-medium);
display: block;
2014-09-19 10:55:15 +08:00
word-wrap: break-word;
2018-01-13 06:27:38 +08:00
font-size: $font-down-2;
line-height: $line-height-large;
.search-highlight {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-high, $secondary-low);
}
}