aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2017-01-27 22:42:25 +0100
committerMichael Buesch <m@bues.ch>2017-01-27 22:42:25 +0100
commitc1ed811a12faf2401d45744518da315429cbd9a5 (patch)
treece787979016894f735d8726b41ad7a590fd9244e
parent72bfafb9ae98c825cfc4256f6156f594ce646f5a (diff)
downloadcms-c1ed811a12faf2401d45744518da315429cbd9a5.zip
cms-c1ed811a12faf2401d45744518da315429cbd9a5.tar.xz
example/css: Add home button
Signed-off-by: Michael Buesch <m@bues.ch>
-rw-r--r--example/cms.css32
1 files changed, 30 insertions, 2 deletions
diff --git a/example/cms.css b/example/cms.css
index fd688fe..47ce8a6 100644
--- a/example/cms.css
+++ b/example/cms.css
@@ -184,8 +184,36 @@ h1 a:hover, h2 a:hover, h3 a:hover {
background: #5050A0;
}
-.navhome {
- display: none;
+.navbar .navgroups .navhome {
+ display: block;
+ float: left;
+ padding: 3px 0px 3px 0px;
+ margin: 0px;
+ font-size: 13.5pt;
+}
+
+.navbar .navgroups .navhome a {
+ display: block;
+ float: none;
+ margin: 0px 20px 0px 0px;
+ padding: 7px 10px 7px 10px;
+ overflow: visible;
+ white-space: nowrap;
+ color: #000000;
+
+ background-image: url(images/home-button.png);
+ background-size: 100%;
+ background-repeat: no-repeat;
+ width: 10px;
+ height: 14px;
+
+ border-radius: 3px;
+ border: solid 1px rgba(255,255,255,.5);
+}
+
+.navbar .navgroups .navhome a:hover {
+ color: #FFFFFF;
+ border: solid 1px #5050A0;
}
.navbar .navgroups .navgroup .navelems .navelem .navactive a {
bues.ch cgit interface