Change markdown-content hr style #5987

The <hr> tag in the markdown-content was #eee,
and thus almost invisible. It has been changed to
$border-gray (currently #ddd) to be consistent
with the other <hr> tags.

Adjust markdown-content hr style further

The hr tag is now centered at 85% width. It also
adds a default vertical margin that is equivalent
to the 0.8em the paragraph tags provide.

Refactor scss for markdown-content hr

Closes #6016
This commit is contained in:
theworldbright 2015-05-31 23:17:17 +09:00 committed by Jonne Haß
parent 59bbbeba14
commit 45a5e3d1c5
2 changed files with 6 additions and 1 deletions

View file

@ -21,6 +21,7 @@
* Remove zip-zip workaround gem [#6001](https://github.com/diaspora/diaspora/pull/6001)
* Cleanup and reorganize image assets [#6004](https://github.com/diaspora/diaspora/pull/6004)
* Replace vendored assets for facebox by gem [#6005](https://github.com/diaspora/diaspora/pull/6005)
* Improve styling of horizontal ruler in posts [#6016](https://github.com/diaspora/diaspora/pull/6016)
## Bug fixes
* Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846)

View file

@ -109,7 +109,11 @@
.collapsible {
overflow: hidden;
position: relative;
.markdown-content hr {
width: 85%;
margin: 0.8em auto;
border-top: 1px solid $border-grey;
}
.expander {
position: absolute;
bottom: 0;