From 02f56ffe8044e9a4697abb617cbabd1981264002 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 26 Dec 2012 14:39:25 +0000 Subject: Replace old-school transparent background hack with CSS RGBA background colors. --- static/style/hammer-and-sickle.css | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) (limited to 'static') diff --git a/static/style/hammer-and-sickle.css b/static/style/hammer-and-sickle.css index d6b7ae6..d3b0477 100644 --- a/static/style/hammer-and-sickle.css +++ b/static/style/hammer-and-sickle.css @@ -40,47 +40,30 @@ a:active { } ul.bookmarx-list, ul.lafargue-list { - list-style-type: none; + list-style-type: none; } h1 { - background-color: #ffbfbf; - background-image: url(hammerandsickle-yellow-on-red-bright.png); - background-position: 0 0; - background-repeat: no-repeat; - background-attachment: fixed; + background: rgb(255, 255, 255); + background: rgba(255, 255, 255, 0.7); border: solid #bbccff; } -h2 { - background-color: #ffbfbf; - background-image: url(hammerandsickle-yellow-on-red-bright.png); - background-position: 0 0; - background-repeat: no-repeat; - background-attachment: fixed; -} - #rtnv { font-family: sans-serif, Arial, Helvetica; color: inherit; - background-color: #ffbfbf; - background-image: url(hammerandsickle-yellow-on-red-bright.png); - background-position: 0 0; - background-repeat: no-repeat; - background-attachment: fixed; + background: rgb(255, 255, 255); + background: rgba(255, 255, 255, 0.7); border: solid #bbccff; } .bookmark, .lafargue-message, #content { /* border-right: 1px solid silver; */ color: inherit; - background-color: #ffbfbf; - background-image: url(hammerandsickle-yellow-on-red-bright.png); - background-position: 0 0; - background-repeat: no-repeat; - background-attachment: fixed; + background: rgba(255, 255, 255); + background: rgba(255, 255, 255, 0.7); border: solid #bbccff; - margin: 10px; + margin: 10px; } p { @@ -98,3 +81,4 @@ hr { /* border: 1px solid silver; */ border: 0px; } + -- cgit v1.2.3