ux(sass): a lot of polish on headings and margins, ONLY USE bottom margins, othewise margin collapse causes issues

This commit is contained in:
Torkel Ödegaard
2016-02-18 12:16:47 +01:00
parent 25ca751ab8
commit 3003a8cb6e
16 changed files with 157 additions and 145 deletions

View File

@@ -33,7 +33,7 @@
}
.page-header {
padding: 10px 0 39px 0px;
padding: $spacer 0 $spacer * 2.5;
display: flex;
justify-content: space-between;
@@ -44,13 +44,19 @@
display: -webkit-flex; /* NEW - Chrome */
flex-wrap: wrap-reverse;
background: transparent url(../img/page_header_line.png) no-repeat left 60px;
h1 {
font-style: italic;
}
margin-bottom: 2rem;
}
.page-heading {
font-size: 1.25rem;
margin-top: 0;
margin-bottom: $spacer * 0.6;
}
.admin-page {
max-width: 800px;
margin-left: 10px;