Patch #838 2006-02-15 20:30

sethjackson

Website: CSS cleanup/warning removal patch
Download
838-Website_CSS_cle.patch (9.8 KB)
Category
 
Status
Accepted
Close date
2006-10-11 11:11
Assigned to
 
Index: C:/Documents and Settings/sjackson/Desktop/website/css/main.css
===================================================================
--- C:/Documents and Settings/sjackson/Desktop/website/css/main.css    (revision 2012)
+++ C:/Documents and Settings/sjackson/Desktop/website/css/main.css    (working copy)
@@ -1,104 +1,431 @@
-/* ------------------------------------ *
- CSS
- Lunes, 18 de Julio de 2005 11:59:32 p.m.
- HAPedit 3.1.11.111
- * ------------------------------------ */
-
-
 /* ---------------- position, size, margins, paddings ----------------- */
 
 /* --- general styles ---  */
-.topblock { padding:4px 4px 0; }
-div.topblock { margin:0 0.5em 8px; }
-.subblock { margin:0.5em auto;padding:0.5em 0.5em; }
-html { margin:0;padding:0; }
-body { margin:0;padding:0.5em 0.25em; }
 
-table.maintable td.main { vertical-align:top; }
-.clearboth { clear:both; }
-br.clearboth { line-height:0;margin:0; }
-.right { float:right;margin-left:0.8em;margin-top:0.5em;margin-bottom:0.5em;text-align:center; }
-.left { float:left;margin-right:0.8em;margin-top:0.5em;margin-bottom:0.5em;text-align:center; }
-.center { display:block;margin-left:auto;margin-right:auto; }
-.caption { font-size:0.8em; }
+.topblock
+{
+    padding: 4px 4px 0;
+}
 
-ul.bullet li { list-style-image:url(/img/codeblocks_bullet.jpg); }
-ul.nobullet li { list-style-image:none; }
-.withhints { cursor:help; }
+div.topblock
+{
+    margin: 0 0.5em 8px;
+}
+
+.subblock
+{
+    margin: 0.5em auto;
+    padding: 0.5em 0.5em;
+}
+
+html
+{
+    margin: 0;
+    padding: 0;
+}
+
+body
+{
+    margin: 0;
+    padding: 0.5em 0.25em;
+}
+
+table.maintable td.main
+{
+    vertical-align: top;
+}
+
+.clearboth
+{
+    clear: both;
+}
+
+br.clearboth
+{
+    line-height: 0px;
+    margin: 0;
+}
+
+.right
+{
+    float: right;
+    margin-left: 0.8em;
+    margin-top: 0.5em;
+    margin-bottom: 0.5em;
+    text-align: center;
+}
+
+.left
+{
+    float: left;
+    margin-right: 0.8em;
+    margin-top: 0.5em;
+    margin-bottom: 0.5em;
+    text-align: center;
+}
+
+.center
+{
+    display: block;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+.caption
+{
+    font-size: 0.8em;
+}
+
+ul.bullet li
+{
+    list-style-image: url("/img/codeblocks_bullet.jpg");
+}
+
+ul.nobullet li
+{
+    list-style-image: none;
+}
+
+.withhints
+{
+    cursor: help;
+}
+
 /* --- particular styles ---  */
 
-#mainhdr { width:auto; }
-#mainhdr .topblock { margin-bottom:0; }
+#mainhdr
+{
+    width: auto;
+}
 
-.navblock { width:auto;padding:0 8px;margin:0; }
-.navblock ul { padding-left:8px;margin-left:0; }
-* html .navblock ul { padding-left:16px; }
-* html .navblock ul li ul { padding-left:8px; }
-.navblock > * > ul { padding-left:16px; }
-.navblock ul li { list-style-type:none;margin:0; }
-.navblock ul li a { display:block;padding:0 0; margin:0; }
-* html .navblock ul li a { display:inline;padding:0;margin:0; }
+#mainhdr .topblock
+{
+    margin-bottom: 0;
+}
 
-#mainblock { width:auto;margin-bottom:0;padding:1em 1.5%; }
-#mainblock h1 { margin-top:0;margin-bottom:0;border-bottom:1px solid #000; }
-#mainblock h2 { border-bottom:1px solid #000; }
-.navblock h2 { margin:0 auto 0.5em; }
-#adsblock { width:auto; }
+.navblock
+{
+    margin: 0;
+    padding: 0 8px;
+    width: auto;
+}
 
-#mainhdr table.maintable { margin:0;padding:0;width:100%;table-layout:auto; }
-#mainhdr table.maintable td { vertical-align:middle; }
-#mainhdr #toplogo { display:block; }
-#mainhdr .subtitle { display:block;text-align:center; }
-#mainhdr #builtwith { display:block; }
+.navblock ul
+{
+    margin-left: 0;
+    padding-left: 8px;
+}
 
-ul#topnav { display:block;margin:2px 1em 4px;width:auto;text-align:right; }
-ul#topnav li { list-style-type:none;display:inline;padding:0 8px; }
-ul#topnav a { text-decoration:none; }
+* html .navblock ul
+{
+    padding-left: 16px;
+}
 
-#footer { margin-top:0;padding:4px 8px; }
+* html .navblock ul li ul
+{
+    padding-left: 8px;
+}
 
-.section { margin-left:2em; }
+.navblock > * > ul
+{
+    padding-left: 16px;
+}
 
+.navblock ul li
+{
+    list-style-type: none;
+    margin: 0;
+}
+
+.navblock ul li a
+{
+    display: block;
+    margin: 0;
+    padding: 0 0;
+}
+
+* html .navblock ul li a
+{
+    display: inline;
+    margin: 0;
+    padding: 0;
+}
+
+#mainblock
+{
+    margin-bottom: 0;
+    padding: 1em 1.5%;
+    width: auto;
+}
+
+#mainblock h1
+{
+    border-bottom: 1px solid #000;
+    margin-top: 0;
+    margin-bottom: 0;
+}
+
+#mainblock h2
+{
+    border-bottom: 1px solid #000;
+}
+
+.navblock h2
+{
+    margin: 0 auto 0.5em;
+}
+
+#adsblock
+{
+    width: auto;
+}
+
+#mainhdr table.maintable
+{
+    margin: 0;
+    padding: 0;
+    table-layout: auto;
+    width: 100%;
+}
+
+#mainhdr table.maintable td
+{
+    vertical-align: middle;
+}
+
+#mainhdr #toplogo
+{
+    display: block;
+}
+
+#mainhdr .subtitle
+{
+    display: block;
+    text-align: center;
+}
+
+#mainhdr #builtwith
+{
+    display: block;
+}
+
+ul#topnav
+{
+    display: block;
+
download for full patch...