[MKDoc-commit] Layout and colours pbackported from 1.8

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Feb 3 16:36:17 GMT 2005


Log Message:
-----------
Layout and colours pbackported from 1.8

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/skin:
        colours.css
        public.css
        public.ltr.css
        public.rtl.css

-------------- next part --------------
Index: colours.css
===================================================================
RCS file: /var/spool/cvs/mkd/skin/Attic/colours.css,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -Lskin/colours.css -Lskin/colours.css -u -r1.1.2.3 -r1.1.2.4
--- skin/colours.css
+++ skin/colours.css
@@ -45,22 +45,19 @@
 
 /* Primary */
 div.logo {
-  background: #666;
-  color: #FFF; 
+  background: #EEF;
+  color: #003;
+  border-bottom: solid #008 1px;
 }
 
-div.logo p a:link,
-div.logo p a:visited,
-div.logo p a:hover,
-div.logo p a:focus,
-div.logo p a:active {
+div.logo a:link,
+div.logo a:visited,
+div.logo a:hover,
+div.logo a:focus,
+div.logo a:active {
   background-color: transparent;
   color: #FFF;
-}
-
-div.search {
-  background: #CCC;
-  color: #333;
+  text-decoration: none;
 }
 
 div.search form p input#q { 
@@ -71,10 +68,7 @@
   background: #CCC;
   color: #333;
 }
-div.menu {
-  background: #CCC;
-  color: #333; 
-}
+
 div.breadcrumb {
   background: #FFF;
   color: #333; 
@@ -85,12 +79,14 @@
    boxes then the unique class bames that each div has can 
    be used. */
 div.sidebar div { 
-  background: #CCC;
-  color: #333;
+  background: #FFF;
+  color: #007;
+  border: solid #008 1px;
 }
 div.sidebar div h2 {
-  background: #666;
-  color: #FFF;
+  background: #EEF;
+  color: #007;
+  border-bottom: solid #008 1px;
 }
 div.sidebar div h2 a:link, 
 div.sidebar div h2 a:visited {
Index: public.css
===================================================================
RCS file: /var/spool/cvs/mkd/skin/Attic/public.css,v
retrieving revision 1.1.2.30
retrieving revision 1.1.2.31
diff -Lskin/public.css -Lskin/public.css -u -r1.1.2.30 -r1.1.2.31
--- skin/public.css
+++ skin/public.css
@@ -14,7 +14,7 @@
   border-right-style: dashed;
 }
 h1, h2 {
-  margin-top: 0em;
+  margin-top: 0.4em;
   padding-top: 0em;
 }
 h1, h2, h3, h4, h5, h6, th {
@@ -98,7 +98,6 @@
 div.content {
   position: static; 
   width: auto;
-  min-width: 70%;
   margin-top: 0em;
   margin-bottom: 1em;
   padding-top: 0em;
@@ -107,9 +106,10 @@
   padding-bottom: 1em;
 }
 div.sidebar {
-  position: absolute;
-  width: 15%;
-  top: 10em;
+  width: 16%;
+  margin-top: 1em;
+  margin-left: 1em;
+  margin-right: 1em;
 }
 div.logo {
   margin: 0em;
@@ -137,6 +137,7 @@
   padding-left: 1em;
   padding-right: 1em;
   padding-bottom: 0.5em;
+  clear: both;
 }
 div.search form p {
   padding: 0em;
@@ -154,6 +155,7 @@
   padding-left: 1em;
   padding-right: 1em;
   padding-bottom: 0.5em;
+  clear: both;
 }
 div.menu p {
   margin: 0em;
Index: public.rtl.css
===================================================================
RCS file: /var/spool/cvs/mkd/skin/Attic/public.rtl.css,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -Lskin/public.rtl.css -Lskin/public.rtl.css -u -r1.1.2.4 -r1.1.2.5
--- skin/public.rtl.css
+++ skin/public.rtl.css
@@ -3,16 +3,17 @@
 
 /* This file just contains specific stuff for right-to-left language pages */
 
-div.content {
-  margin-left: 0%;
-  margin-right: 20%;
+div.sidebar {
+  float: right;
 }
 
-div.sidebar {
-  right: 1em;
+div.content {
+  margin-left: 0%;
+  margin-right: 18%;
 }
 
 div.search, div.menu {
+  float: left;
   text-align: left;
 }
 
Index: public.ltr.css
===================================================================
RCS file: /var/spool/cvs/mkd/skin/Attic/public.ltr.css,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -Lskin/public.ltr.css -Lskin/public.ltr.css -u -r1.1.2.4 -r1.1.2.5
--- skin/public.ltr.css
+++ skin/public.ltr.css
@@ -3,16 +3,17 @@
 
 /* This file just contains specific stuff for left-to-right language pages */
 
-div.content {
-  margin-left: 20%;
-  margin-right: 0%;
+div.sidebar {
+  float: left;
 }
 
-div.sidebar {
-  left: 1em;
+div.content {
+  margin-left: 18%;
+  margin-right: 0%;
 }
 
 div.search, div.menu {
+  float: right;
   text-align: right;
 }
 


More information about the MKDoc-commit mailing list