clean up portrait .topic-list CSS media query stuff

This commit is contained in:
Jeff Atwood 2015-10-23 17:15:13 -07:00
parent 56c9b4b6e2
commit 2b64ccb98c
1 changed files with 7 additions and 32 deletions

View File

@ -298,6 +298,7 @@ button.dismiss-read {
@media all @media all
and (max-width : 850px) { and (max-width : 850px) {
// slightly smaller font, tighten spacing on nav pills
.nav-pills { .nav-pills {
> li > a { > li > a {
font-size: 1em; font-size: 1em;
@ -305,58 +306,32 @@ and (max-width : 850px) {
} }
} }
.list-controls {
.btn {
font-size: 1em
}
.category-dropdown-menu {
min-width: 139px;
}
a.badge-category {
font-size: 1em;
}
}
.topic-list { .topic-list {
.categories td.category {
padding-left: 10px; // tighter table header spacing
}
th:first-of-type { th:first-of-type {
padding: 12px 5px; padding: 12px 5px;
} }
th { // smaller table cell font and cell spacing
.btn .fa {
margin-right: 2px;
}
}
th, td { th, td {
padding: 12px 2px; padding: 12px 2px;
font-size: 0.929em; font-size: 0.929em;
} }
.main-link { .main-link {
font-size: 1.071em; font-size: 1.071em;
padding: 12px 8px 12px 0px;
} }
.category { .category {
min-width: 0; min-width: 0;
padding: 0; padding: 0;
} }
.topic-excerpt { // suppress views column
padding-right: 20px;
}
th.views { th.views {
display: none; display: none;
} }
td.views { td.views {
display: none; display: none;
} }
th.posters { // show only the first poster
text-align: center;
}
.posters { .posters {
min-width: 0; min-width: 0;
width: 50px; width: 50px;
@ -366,6 +341,6 @@ and (max-width : 850px) {
a.latest { a.latest {
padding: 0 8px; padding: 0 8px;
} }
} }
} }
} }