make h1 margins specific to .cooked, and preview
This commit is contained in:
parent
f2d61496af
commit
cb6b9ccc6d
|
@ -355,6 +355,13 @@
|
|||
position: absolute;
|
||||
top: 50px;
|
||||
bottom: 48px;
|
||||
|
||||
// this removes the topmost margin;
|
||||
// if we don't have this, all posts would have extra space at the top
|
||||
#wmd-preview > *:first-child {
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
|
||||
#wmd-input, #wmd-preview {
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
|
@ -365,6 +372,11 @@
|
|||
margin: 0;
|
||||
background-color: $white;
|
||||
word-wrap: break-word;
|
||||
|
||||
// set up proper header margins in post preview
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 20px 0 10px;
|
||||
}
|
||||
}
|
||||
#wmd-input {
|
||||
position: absolute;
|
||||
|
|
|
@ -590,10 +590,12 @@
|
|||
margin-top: 0px !important;
|
||||
}
|
||||
|
||||
.cooked {
|
||||
// set up proper header margins in posts
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 20px 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
// this is the little pointy bit of the speech bubble on the post, on the left side
|
||||
&:before,
|
||||
|
|
Loading…
Reference in New Issue