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

58 lines
892 B
SCSS
Raw Normal View History

2013-09-06 03:37:07 +08:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
2016-03-18 12:12:55 +08:00
@media only screen and (max-width: 320px) {
#site-text-logo {
font-size: 18px;
}
}
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
}
2013-09-06 03:37:07 +08:00
.icons {
.badge-notification {
top: -5px;
2014-07-26 11:06:14 +08:00
color: $secondary;
2013-09-06 03:37:07 +08:00
}
.active .icon {
&:after { margin-top: -1px; }
2014-08-14 18:25:48 +08:00
}
}
button.sign-up-button {
display:none;
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 {
font-size: 1em;
}