Mercurial > zeropaste
diff app/assets/stylesheets/_show-paste.scss @ 390:91dabc034389
Improved styling for show.
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 07 Jun 2015 19:38:42 +0900 |
parents | 433bc70e1781 |
children |
line wrap: on
line diff
--- a/app/assets/stylesheets/_show-paste.scss Sun Jun 07 13:05:31 2015 +0900 +++ b/app/assets/stylesheets/_show-paste.scss Sun Jun 07 19:38:42 2015 +0900 @@ -1,5 +1,5 @@ #paste-show { - flex: 1; + flex: 1 0 auto; display: flex; flex-direction: column; @@ -31,8 +31,22 @@ } #paste { - flex: 1; - overflow: auto; + flex: 1 0 auto; + + font-family: $monospace; + ol { + background-color: #eee; + } + li { + background-color: #fff; + &:hover { + background-color: $info; + } + + &:target { + background-color: $info; + } + } } #paste-show-nav {