]> granicus.if.org Git - clang/commitdiff
simplify the menu css, make it a bit more attractive.
authorChris Lattner <sabre@nondot.org>
Sun, 9 Dec 2007 08:38:01 +0000 (08:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Dec 2007 08:38:01 +0000 (08:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44735 91177308-0d34-0410-b5e6-96231b3b80d8

www/index.html
www/menu.css
www/menu.html.incl

index 5203cb1356144ef50c997cff435e37b45fed2798..d4634a9734d06c50782d57394aa633a1c3b3f40f 100644 (file)
@@ -30,7 +30,9 @@
         "driver" that makes all the other libraries work together.</li>\r
     </ol>\r
 \r
-    <p>The developers of Clang include contributers from Apple and numerous other volunteers.\r
+    <p>The developers of Clang include contributers from Apple and numerous\r
+       other volunteers.</p>\r
+    \r
     <h2>Why?</h2>\r
     <p>The development of a new front-end was started out of a need -- a need for a compiler that allows better diagnostics, better integration with IDEs, a license that is compatible with commercial products, and a compiler that is easier to develop and maintain.  All of these were motivations for starting work on a new C/C++/ObjC front-end that could meet these needs.\r
     <p>An excellent introduction to Clang can be found in the following video lectures:\r
index da688dce2952aa8946ebd68b88b51bcf757f1c3b..46ebb1b85c05eea72a29c3698e5576bb7e367b6f 100644 (file)
@@ -1,9 +1,3 @@
-/*\r
-       Consulted:\r
-       http://www.w3.org/TR/CSS1 &\r
-       http://www.w3.org/TR/CSS21/\r
-*/\r
-\r
 /***************/\r
 /* page layout */\r
 /***************/\r
        position:fixed;\r
 }\r
 [id=content] {\r
-       padding-left:16ex;      /* *****  EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */\r
-}\r
-\r
-/****************/\r
-/* menu display */\r
-/****************/\r
-label, #menu a {\r
-       display:block;\r
-       padding:.05em .3em;\r
-}\r
-#menu * {\r
-       display:block;\r
-}\r
-#quick_links {\r
-       padding-top:1em;\r
-}\r
-a {\r
-       margin:.05em;\r
+       /* *****  EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */
+       padding-left:16ex;
 }\r
 \r
 /**************/\r
 /* menu style */\r
-/**************/\r
-label {\r
-       font-size:.8em;\r
-}\r
-#menu a {\r
-       background-color:rgb(244,250,255);\r
-}\r
+/**************/
+
+#menu {
+       padding-left: .3em;
+}
+
+#menu .submenu {
+       padding-top:1em;
+       display:block;
+}
+\r
 #menu label {\r
-       background-color:rgb(244,255,250);\r
+       display:block;
+       font-weight: bold;
+       text-align: center;\r
+       background-color: rgb(192,192,192);
 }\r
-#menu {\r
-       padding: 0 .2em .2em 0;\r
-       border-color: rgb(240,240,240);\r
-       border-width: 0 .1em 0 0;\r
-       border-style: solid;\r
+#menu a {\r
+       display:block;
+       text-align: center;\r
+       background-color: rgb(235,235,235);
 }\r
 #menu a:visited {\r
-       color:rgb(130,50,100);\r
+       color:rgb(100,50,100);\r
 }
\ No newline at end of file
index 342114334695df44b8d3722216a706cc709e46b2..8103217558539383f37c5d7056bb9f1a2d12f86f 100644 (file)
@@ -1,27 +1,27 @@
-<!--\r
-Consulted:\r
-HTML 4.01 specs: http://www.w3.org/TR/html401/\r
--->\r
-       <div id="menu">\r
-               <div id="main_menu">\r
-                       <a href="http://www.llvm.org/">LLVM Home</a><br>\r
-                       <label>Clang Info</label>\r
-                       <a href="index.html">About</a>\r
-                       <a href="features.html">Features</a>\r
-                       <a href="get_involved.html">Get Involved</a>\r
-                       <a href="http://clang.llvm.org/docs/InternalsManual.html">Manual</a>\r
-               </div>\r
-               <div id="quick_links">\r
-                       <label>Quick Links</label>\r
-                       <!-- This section is for special links to areas that,\r
-                               organizationally, are deep within another section,\r
-                               but are still important enough to warrant a link.\r
-                               It's for those things that you have to do a lot, but don't\r
-                               want to have to wade through several pages to go there\r
-                               every time. -->\r
-                       <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a>\r
-                       <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">cfe-commits</a>\r
-                       <a href="http://llvm.org/bugs/">Bug Reports</a>\r
-                       <a href="http://llvm.org/svn/llvm-project/cfe/trunk/">Browse Source</a>\r
-               </div>\r
-       </div>\r
+<div id="menu">\r
+  <div>\r
+    <a href="http://llvm.org/">LLVM Home</a>\r
+  </div>\r
+  \r
+  <div class="submenu">\r
+    <label>Clang Info</label>\r
+    <a href="index.html">About</a>\r
+    <a href="features.html">Features</a>\r
+    <a href="get_involved.html">Get Involved</a>\r
+    <a href="http://clang.llvm.org/docs/InternalsManual.html">Manual</a>\r
+  </div>\r
+  \r
+  <div class="submenu">\r
+    <label>Quick Links</label>\r
+    <!-- This section is for special links to areas that,\r
+            organizationally, are deep within another section,\r
+            but are still important enough to warrant a link.\r
+            It's for those things that you have to do a lot, but don't\r
+            want to have to wade through several pages to go there\r
+            every time. -->\r
+    <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a>\r
+    <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">cfe-commits</a>\r
+    <a href="http://llvm.org/bugs/">Bug Reports</a>\r
+    <a href="http://llvm.org/svn/llvm-project/cfe/trunk/">Browse Source</a>\r
+  </div>\r
+</div>\r