summaryrefslogtreecommitdiffstats
path: root/www/menu.css
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-09 08:38:01 +0000
committerChris Lattner <sabre@nondot.org>2007-12-09 08:38:01 +0000
commit1c0572605ac46558c6e61f8fcd6b813ac6b6e6a8 (patch)
tree07bb2b9c3624902b1da2b7275cd38a9fdd9dfbb5 /www/menu.css
parent29754e6c11521862e50d442ab68edaf73ee1a277 (diff)
simplify the menu css, make it a bit more attractive.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/menu.css')
-rw-r--r--www/menu.css60
1 files changed, 22 insertions, 38 deletions
diff --git a/www/menu.css b/www/menu.css
index da688dce29..46ebb1b85c 100644
--- a/www/menu.css
+++ b/www/menu.css
@@ -1,9 +1,3 @@
-/*
- Consulted:
- http://www.w3.org/TR/CSS1 &
- http://www.w3.org/TR/CSS21/
-*/
-
/***************/
/* page layout */
/***************/
@@ -21,44 +15,34 @@
position:fixed;
}
[id=content] {
- padding-left:16ex; /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */
-}
-
-/****************/
-/* menu display */
-/****************/
-label, #menu a {
- display:block;
- padding:.05em .3em;
-}
-#menu * {
- display:block;
-}
-#quick_links {
- padding-top:1em;
-}
-a {
- margin:.05em;
+ /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */
+ padding-left:16ex;
}
/**************/
/* menu style */
-/**************/
-label {
- font-size:.8em;
-}
-#menu a {
- background-color:rgb(244,250,255);
-}
+/**************/
+
+#menu {
+ padding-left: .3em;
+}
+
+#menu .submenu {
+ padding-top:1em;
+ display:block;
+}
+
#menu label {
- background-color:rgb(244,255,250);
+ display:block;
+ font-weight: bold;
+ text-align: center;
+ background-color: rgb(192,192,192);
}
-#menu {
- padding: 0 .2em .2em 0;
- border-color: rgb(240,240,240);
- border-width: 0 .1em 0 0;
- border-style: solid;
+#menu a {
+ display:block;
+ text-align: center;
+ background-color: rgb(235,235,235);
}
#menu a:visited {
- color:rgb(130,50,100);
+ color:rgb(100,50,100);
} \ No newline at end of file