changeset 166:a5a8eaf67936

formatter heading level n now renders as hn, cleaned up hn css imported from: moin--main--1.5--patch-168
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 30 Oct 2005 21:15:11 +0000
parents 4f45bb113404
children 5261f211e407
files MoinMoin/formatter/text_html.py wiki/htdocs/classic/css/common.css wiki/htdocs/modern/css/common.css wiki/htdocs/rightsidebar/css/common.css
diffstat 4 files changed, 2 insertions(+), 49 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Sun Oct 30 20:22:07 2005 +0000
+++ b/MoinMoin/formatter/text_html.py	Sun Oct 30 21:15:11 2005 +0000
@@ -706,7 +706,7 @@
                 # explicit base level for section number display
                 self._show_section_numbers = int(numbering)
 
-        heading_depth = depth + 1
+        heading_depth = depth # + 1
 
         # closing tag, with empty line after, to make source more readable
         if not on:
--- a/wiki/htdocs/classic/css/common.css	Sun Oct 30 20:22:07 2005 +0000
+++ b/wiki/htdocs/classic/css/common.css	Sun Oct 30 21:15:11 2005 +0000
@@ -20,20 +20,10 @@
 
 h1, h2, h3, h4, h5, h6
 {
-	margin: 1.5em 0 0 0;
-	padding: 2px 5px;
-	font-weight: bold; 
-	color: black;
 	line-height: 1.2em;
 	border-bottom: 4px solid #EDD097;
 }	
 
-h1 {font-size: 1.9em;}
-h2 {font-size: 1.6em;}
-h3 {font-size: 1.3em;}
-h4 {font-size: 1.1em;}
-h5, h6 {font-size: 1em;}
-
 li p {
 	margin: .25em 0;
 }
--- a/wiki/htdocs/modern/css/common.css	Sun Oct 30 20:22:07 2005 +0000
+++ b/wiki/htdocs/modern/css/common.css	Sun Oct 30 21:15:11 2005 +0000
@@ -48,22 +48,6 @@
 After getting it to work, this has to be fine-tuned to avoid screen jumping.
 */
 
-/* Headings */
-
-h1, h2, h3, h4, h5, h6
-{
-	margin: 1.5em 0 0 0;
-	padding: 0;
-	color: black;
-	line-height: 1.2em;
-}	
-
-h1 {font-size: 1.9em;}
-h2 {font-size: 1.6em;}
-h3 {font-size: 1.3em;}
-h4 {font-size: 1.1em;}
-h5, h6 {font-size: 1em;}
-
 li p {
 	margin: .25em 0;
 }
--- a/wiki/htdocs/rightsidebar/css/common.css	Sun Oct 30 20:22:07 2005 +0000
+++ b/wiki/htdocs/rightsidebar/css/common.css	Sun Oct 30 21:15:11 2005 +0000
@@ -26,33 +26,12 @@
 
 /* Headings */
 
-h1 {
-	/* h1 is out of the content div! */
-	margin: 0;
-	padding: 0;
-	color: maroon;
-	font-size: 2em;
-	line-height: 1.2em;
-}
-
-h1 a {
-	text-decoration: none;    
-}
-
-h2, h3, h4, h5, h6
+h1, h2, h3, h4, h5, h6
 {
-	margin: 1.5em 0 0 0;
 	padding: 0 0 0.3em 0;
-	color: black;
 	border-bottom: 3px solid maroon;
-	line-height: 1.2em;
 }	
 
-h2 {font-size: 1.6em;}
-h3 {font-size: 1.3em;}
-h4 {font-size: 1.1em;}
-h5, h6 {font-size: 1em;}
-
 li p {
 	margin: .25em 0;
 }