summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-12-26 14:39:25 +0000
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-12-26 14:39:25 +0000
commit02f56ffe8044e9a4697abb617cbabd1981264002 (patch)
tree237472fb322bd332896b044688776d0a96cf2225
parent874adb111f9c95216bdb4c04eb8cde3c5201848b (diff)
Replace old-school transparent background hack with CSS RGBA background colors.HEADmaster
-rw-r--r--static/style/hammer-and-sickle.css34
1 files changed, 9 insertions, 25 deletions
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;
}
+