From: Marek Stępniowski Date: Thu, 4 Sep 2008 20:27:03 +0000 (+0200) Subject: Better fragment styles. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/7f28c3c68a94ae277c7b6358bdcd762b483fa657?ds=sidebyside Better fragment styles. --- diff --git a/media/css/master.css b/media/css/master.css index 530062ab6..2fe2e3424 100644 --- a/media/css/master.css +++ b/media/css/master.css @@ -260,9 +260,9 @@ em { color: #999; } -/* ============== */ -/* = Books list = */ -/* ============== */ +/* ============================ */ +/* = Books and fragments list = */ +/* ============================ */ #books-list { margin: 0; } @@ -281,6 +281,23 @@ em { border-radius: 3px; } +.fragment { + border-bottom: 0.1em solid #EEE; + margin-top: 0.5em; +} + +.fragment-text, .fragment-short-text { + padding: 0.5em; + background-color: #FFF; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +.fragment-metadata { + padding: 0.5em 0.5em 1.5em 0.5em; +} + .book .change-sets { float: right; } @@ -397,10 +414,3 @@ em { line-height: 2em; } -/* ================= */ -/* = Fragment list = */ -/* ================= */ -.fragment { - margin-bottom: 1.5em; -} -