About page layout improvements

This commit is contained in:
Kris 2018-02-28 15:02:11 -05:00
parent b283bb2ba7
commit f375731278
4 changed files with 18 additions and 41 deletions

View File

@ -1,27 +1,20 @@
section.about { section.about {
margin-bottom: 40px;
h3 { h3 {
margin-bottom: 10px; margin-bottom: 15px;
margin-top: 10px;
}
p {
margin: 10px 0;
} }
table { table {
margin-top: 20px; width: auto;
width: 90%;
th { th {
text-align: left; text-align: left;
} }
td, th { td, th {
padding: 10px 5px 5px 5px; padding: 10px;
border-bottom: 1px solid lighten($primary, 70%); border-bottom: 1px solid $primary-low;
line-height: $line-height-small;
} }
td.title { td.title {

View File

@ -1,32 +1,26 @@
.body-page { .body-page {
font-size: $font-up-1; /* intended only for /about /faq, /guidelines, /tos, and /privacy */
width: 100%;
// Consistent vertical spacing max-width: 700px;
blockquote, padding-left: 20px;
h1, font-size: $font-up-1;
h2, .mobile-view & {
h3, font-size: $font-0;
hr, margin-top: 20px;
p,
pre,
ul,
ol,
table {
margin: 0 0 20px;
line-height: $line-height-large;
} }
li { li {
margin-bottom: 8px; margin-bottom: 8px;
} }
.nav-pills {
margin-bottom: 20px;
}
ul:not(.nav-pills), ul:not(.nav-pills),
ol:not(.nav-pills) { ol:not(.nav-pills) {
margin-left: 40px; margin-left: 40px;
} }
/* intended only for /faq, /guidelines, /tos, and /privacy */
width: 700px;
padding-left:20px;
} }

View File

@ -7,7 +7,6 @@
@import "mobile/banner"; @import "mobile/banner";
@import "mobile/compose"; @import "mobile/compose";
@import "mobile/discourse"; @import "mobile/discourse";
@import "mobile/faqs";
@import "mobile/header"; @import "mobile/header";
@import "mobile/login"; @import "mobile/login";
@import "mobile/modal"; @import "mobile/modal";

View File

@ -1,9 +0,0 @@
// --------------------------------------------------
// FAQs, About, etc
// --------------------------------------------------
.body-page {
margin-top: 20px;
width: 100%;
padding-left: 0;
}