From 7f28c3c68a94ae277c7b6358bdcd762b483fa657 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Thu, 4 Sep 2008 22:27:03 +0200 Subject: [PATCH] Better fragment styles. --- media/css/master.css | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) 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; -} - -- 2.20.1