From 06a0b93dc7bc7fa7904c26956ce98e56bd9360eb Mon Sep 17 00:00:00 2001 From: z3d Date: Sat, 4 Jul 2009 13:32:45 +0000 Subject: [PATCH] Add textures to css. --- www.i2p2/static/styles/light.css | 58 ++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 10 deletions(-) diff --git a/www.i2p2/static/styles/light.css b/www.i2p2/static/styles/light.css index d2bd0a90..d242fb54 100644 --- a/www.i2p2/static/styles/light.css +++ b/www.i2p2/static/styles/light.css @@ -6,7 +6,7 @@ body { padding: 0em; text-align: center; background-color: #000022; -/* background-image: url("/_static/images/bg1.png"); */ + background: url(/_static/images/darkbluetile.png); background-repeat: repeat; background-position: top center; /* color: black;*/ @@ -58,7 +58,8 @@ div.menu { font-size: 8pt; clear: left; /* fixes a bug in Opera */ -moz-border-radius: 0px 0px 4px 0px; -/* -moz-box-shadow: 0 2px 2px 1px #bbbbff; */ + -moz-box-shadow: inset 0px 0px 2px 0px #55f; + background: url(/_static/images/tabletile.png); } /* @@ -106,9 +107,10 @@ div.main h1 { white-space: normal; background-color: #ddddff; -moz-box-shadow: 0 2px 2px 1px #ccccff; - /* background-image: url(/_static/images/dots.png); - background-position: right center; - background-repeat: no-repeat;*/ + /*background: url(/_static/images/tabletitlelight.png); + background-repeat: repeat-x;*/ + border: 1px solid #000022; + -moz-border-radius: 4px 4px 4px 4px; } .links { @@ -171,9 +173,9 @@ h1 { letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; - border: 1px solid #000022; +/* border: 1px solid #000022; -moz-border-radius: 4px 4px 4px 4px; - background-color: #000022; + background-color: #000022; */ } @@ -265,6 +267,7 @@ border-bottom: 1px solid #fff;*/ white-space: pre-wrap; font-size: 9pt; font-family: "Lucida Console", "Courier New", Courier, mono; + } table { @@ -288,19 +291,37 @@ th { tr.invisible td { background: #eeeeff; - + border: 1px solid #000022; + padding: 5px 10px; } + +tr:nth-child(even) + { + border: 1px solid #000022; + padding: 5px 10px; + background: #bbf; + background-image:url('/_static/images/tabletile.png'); + } + +tr:nth-child(odd) + { + border: 1px solid #000022; + padding: 5px 10px; + background: #bbf; + background-image:url('/_static/images/tabletile_alt.png'); + } /* tr:first-child { background-color: #ff6600; } */ + td { border: 1px solid #000022; padding: 5px 10px; - background: #eeeeff; +/* background: #eeeeff;*/ } td.invisible { @@ -352,6 +373,8 @@ td.title { clear: both; width:auto; align: center; + background: url(/_static/images/tabletitlelight.png); + -moz-box-shadow: inset 0px 0px 2px 0px #55f; } .themebox { @@ -366,6 +389,8 @@ td.title { clear: both; width:auto; align: center; + background: url(/_static/images/tabletitlelight.png); + -moz-box-shadow: inset 0px 0px 2px 0px #55f; } .footer { @@ -402,5 +427,18 @@ td.title { .targetlist { list-style-image: url(/_static/images/target.png); - margin: -5px -5px 0px -5px; +margin: -10px -5px 0px -5px; +} + +.uhoh { +border: 1px solid #f00; +-moz-border-radius: 8px; +margin: 0 20px 0 0; +padding: 10px 15px; +width: 90%; +text-align: justify; +background: #ffffff; +color: red; +font-weight: bold; +font-size: 9pt; } \ No newline at end of file