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

59 lines
925 B
SCSS
Raw Normal View History

2013-09-06 03:37:07 +08:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
2018-01-13 07:30:14 +08:00
#site-text-logo {
2018-01-18 05:26:14 +08:00
font-size: $font-up-3;
2018-01-13 07:30:14 +08:00
}
2016-03-18 12:12:55 +08:00
@media only screen and (max-width: 320px) {
#site-text-logo {
2018-01-13 06:27:38 +08:00
font-size: $font-up-2;
2016-03-18 12:12:55 +08:00
}
}
2013-09-06 03:37:07 +08:00
.d-header {
#site-logo {
2015-10-20 14:02:32 +08:00
max-width: 130px;
}
// some protection for text-only site titles
.title {
2016-03-18 12:12:55 +08:00
max-width: 50%;
height: 39px;
overflow: hidden;
padding: 0;
text-overflow: clip;
display: table;
a {
display: table-cell;
vertical-align: middle;
}
2013-09-06 03:37:07 +08:00
}
2017-09-06 23:29:43 +08:00
button.sign-up-button {
display:none;
}
}
2017-09-06 23:29:43 +08:00
.d-header-icons {
2018-01-13 06:27:38 +08:00
.d-icon {
line-height: $line-height-medium;
}
2017-09-06 23:29:43 +08:00
.active .icon {
&:after { margin-top: -1px; }
2013-09-06 03:37:07 +08:00
}
}
2013-09-06 03:37:07 +08:00
#main-outlet {
padding-top: 60px;
}
.search-link .badge-category {
display: none;
}
.search-link .topic-statuses .topic-status i {
2018-01-13 06:27:38 +08:00
font-size: $font-0;
}