Change divider to a div

This commit is contained in:
Jeremy Dormitzer 2019-06-12 18:01:01 -04:00
parent de19ef5a24
commit 7c54132915
2 changed files with 8 additions and 10 deletions

View File

@ -81,4 +81,4 @@
(make-excerpt (get-doc src)))))
(define (divider)
(txexpr 'hr '((class "divider"))))
(txexpr 'div '((class "divider"))))

View File

@ -9,7 +9,7 @@
(define link-hover-color "midnightblue")
(define link-visited-color "purple")
(define nav-hover-color "#707070")
(define divider-color "#EFEFEF")
(define divider-color "#CDCDCD")
body {
height: 100%;
@ -47,14 +47,6 @@ img {
width: 100%;
}
hr {
background-color: |divider-color|;
border-color: |divider-color|;
color: |divider-color|;
margin-top: 2.5em;
margin-bottom: 2.5em;
}
a:visited {
color: |link-visited-color|;
}
@ -123,3 +115,9 @@ ul.navigation > li > a:hover {
.section-header {
margin-top: 2em;
}
div.divider {
margin-top: 2em;
margin-bottom: 2em;
border-top: 1px solid |divider-color|;
}