forked from github/pelican
Use a top (instead of bottom) border in hentry.
`hentry` uses `clear: both` with the intention of placing a separator line (1px border) between each entry. However, it is wrongly using `border-bottom` instead of `border-top` to make that separator. CSS `clear` makes space to clear the **preceding** floats. Hence a `border-bottom` won't enjoy that `clear` effect.
This commit is contained in:
parent
9e72b29fc1
commit
b12443f48a
1 changed files with 2 additions and 2 deletions
|
|
@ -384,10 +384,10 @@ div.figure p.caption, figure p.caption { /* margin provided by figure */
|
|||
.hentry {
|
||||
display: block;
|
||||
clear: both;
|
||||
border-bottom: 1px solid #eee;
|
||||
border-top: 1px solid #eee;
|
||||
padding: 1.5em 0;
|
||||
}
|
||||
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
|
||||
li:first-child .hentry, #content > .hentry {border: 0; margin: 0;}
|
||||
#content > .hentry {padding: 1em 0;}
|
||||
.hentry img{display : none ;}
|
||||
.entry-title {font-size: 3em; margin-bottom: 10px; margin-top: 0;}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue