diff options
author | Anika Henke <anika@selfthinker.org> | 2010-11-13 16:08:51 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2010-11-13 17:00:06 +0100 |
commit | 9a83dc0d6a0b8b1d3556d4b2563c35990f31cb2e (patch) | |
tree | 66e4de08e8a61bdc056e6d3532a2390c992079d4 | |
parent | 709b10639d1fe76508c0f31bd7983b3a5beee605 (diff) | |
download | rpg-9a83dc0d6a0b8b1d3556d4b2563c35990f31cb2e.tar.gz rpg-9a83dc0d6a0b8b1d3556d4b2563c35990f31cb2e.tar.bz2 |
improved lib styles
-rw-r--r-- | lib/styles/style.css | 93 |
1 files changed, 47 insertions, 46 deletions
diff --git a/lib/styles/style.css b/lib/styles/style.css index 814191615..f0ba95a95 100644 --- a/lib/styles/style.css +++ b/lib/styles/style.css @@ -4,86 +4,87 @@ */ div.clearer { - clear: both; - line-height: 0; - height: 0; - overflow: hidden; + clear: both; + line-height: 0; + height: 0; + overflow: hidden; } div.no { - display: inline; - margin: 0; - padding: 0; + display: inline; + margin: 0; + padding: 0; } .hidden { - display: none; + display: none; +} + +/* messages with msg() */ +div.error, +div.info, +div.success, +div.notify { + color: #000; + background-repeat: no-repeat; + background-position: .5em 0; + border-bottom: 1px solid; + font-size: 90%; + margin: 0; + padding-left: 3em; + overflow: hidden; } div.error { - background: #fcc url(../images/error.png) 0.5em 0px no-repeat; - color: #000; - border-bottom: 1px solid #faa; - font-size: 90%; - margin: 0; - padding-left: 3em; - overflow: hidden; + background-color: #fcc; + background-image: url(../images/error.png); + border-bottom-color: #faa; } div.info { - background: #ccf url(../images/info.png) 0.5em 0px no-repeat; - color: #000; - border-bottom: 1px solid #aaf; - font-size: 90%; - margin: 0; - padding-left: 3em; - overflow: hidden; + background-color: #ccf; + background-image: url(../images/info.png); + border-bottom-color: #aaf; } div.success { - background: #cfc url(../images/success.png) 0.5em 0px no-repeat; - color: #000; - border-bottom: 1px solid #afa; - font-size: 90%; - margin: 0; - padding-left: 3em; - overflow: hidden; + background-color: #cfc; + background-image: url(../images/success.png); + border-bottom-color: #afa; } div.notify { - background: #ffc url(../images/notify.png) 0.5em 0px no-repeat; - color: #000; - border-bottom: 1px solid #ffa; - font-size: 90%; - margin: 0; - padding-left: 3em; - overflow: hidden; + background-color: #ffc; + background-image: url(../images/notify.png); + border-bottom-color: #ffa; } /* image alignment */ .medialeft { - float: left; + float: left; } .mediaright { - float: right; + float: right; } .mediacenter { - display: block; - margin-left: auto; - margin-right: auto; + display: block; + margin-left: auto; + margin-right: auto; } -.leftalign { text-align: left; } +/* table cell alignment */ +.leftalign { text-align: left; } .centeralign { text-align: center; } -.rightalign { text-align: right; } +.rightalign { text-align: right; } +/* underline */ em.u { - font-style: normal; - text-decoration: underline; + font-style: normal; + text-decoration: underline; } em em.u { - font-style: italic; + font-style: italic; } |