Mercurial > zeropaste
view 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 source
#paste-show { flex: 1 0 auto; display: flex; flex-direction: column; .nav { flex: none; display: flex; list-style: none; justify-content: space-between; padding: 0px; margin: (-$spacing) (-$spacing) $spacing; li { flex: 1; a { display: block; padding: $spacing; text-align: center; &:hover { background-color: #ccc; } } } } pre { white-space: pre-wrap; } } #paste { 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 { flex: none; display: flex; flex-direction: column; }