List:Commits« Previous MessageNext Message »
From:mcbrown Date:September 20 2006 5:38pm
Subject:svn commit - mysqldoc@docsrva: r3402 - in trunk: make.d xsl.d
View as plain text  
Author: mcbrown
Date: 2006-09-20 17:38:46 +0200 (Wed, 20 Sep 2006)
New Revision: 3402

Log:
Changes to the embedded CSS for downloaded HTML
Embedding the CSS into the downloadable HTML packages, and forcing including of the CSS in
the HTML build



Modified:
   trunk/make.d/xml-html-chapter
   trunk/make.d/xml-html-dir
   trunk/make.d/xml-html-section
   trunk/xsl.d/mysql-html.css


Modified: trunk/make.d/xml-html-chapter
===================================================================
--- trunk/make.d/xml-html-chapter	2006-09-20 15:20:30 UTC (rev 3401)
+++ trunk/make.d/xml-html-chapter	2006-09-20 15:38:46 UTC (rev 3402)
Changed blocks: 2, Lines Added: 2, Lines Deleted: 0; 667 bytes

@@ -11,6 +11,7 @@
 	mkdir $@-tmp
 	$(XSLTPROC) \
 		--stringparam l10n.gentext.default.language $(DOC_LANG) \
+		--stringparam html.stylesheet 'mysql-html.css' \
 		--param chunk.section.depth 0 \
 		--output $@-tmp/ \
 		$(MYSQL_HTML_SECTION_XSL) \

@@ -21,6 +22,7 @@
 		cp $$IMAGE_FILES $@-tmp/images; \
 		$(TOOLS_DIR)/remap-img-paths.pl $@-tmp/*.html; \
 	fi
+	cp $(XSL_DIR)/mysql-html.css $@-tmp/mysql-html.css
 	mv $@-tmp $@
 
 clean::


Modified: trunk/make.d/xml-html-dir
===================================================================
--- trunk/make.d/xml-html-dir	2006-09-20 15:20:30 UTC (rev 3401)
+++ trunk/make.d/xml-html-dir	2006-09-20 15:38:46 UTC (rev 3402)
Changed blocks: 2, Lines Added: 2, Lines Deleted: 0; 625 bytes

@@ -10,6 +10,7 @@
 	mkdir $@-tmp
 	$(XSLTPROC) \
 		--stringparam l10n.gentext.default.language $(DOC_LANG) \
+		--stringparam html.stylesheet 'mysql-html.css' \
 		--output $@-tmp/$*.html \
 		$(MYSQL_HTML_XSL) \
 		$<

@@ -19,6 +20,7 @@
 		cp $$IMAGE_FILES $@-tmp/images; \
 		$(TOOLS_DIR)/remap-img-paths.pl $@-tmp/*.html; \
 	fi
+	cp $(XSL_DIR)/mysql-html.css $@-tmp/mysql-html.css
 	mv $@-tmp $@
 
 clean::


Modified: trunk/make.d/xml-html-section
===================================================================
--- trunk/make.d/xml-html-section	2006-09-20 15:20:30 UTC (rev 3401)
+++ trunk/make.d/xml-html-section	2006-09-20 15:38:46 UTC (rev 3402)
Changed blocks: 2, Lines Added: 2, Lines Deleted: 0; 636 bytes

@@ -8,6 +8,7 @@
 	mkdir $@-tmp
 	$(XSLTPROC) \
 		--stringparam l10n.gentext.default.language $(DOC_LANG) \
+		--stringparam html.stylesheet 'mysql-html.css' \
 		--output $@-tmp/ \
 		$(MYSQL_HTML_SECTION_XSL) \
 		$<

@@ -17,6 +18,7 @@
 		cp $$IMAGE_FILES $@-tmp/images; \
 		$(TOOLS_DIR)/remap-img-paths.pl $@-tmp/*.html; \
 	fi
+	cp $(XSL_DIR)/mysql-html.css $@-tmp/mysql-html.css
 	mv $@-tmp $@
 
 clean::


Modified: trunk/xsl.d/mysql-html.css
===================================================================
--- trunk/xsl.d/mysql-html.css	2006-09-20 15:20:30 UTC (rev 3401)
+++ trunk/xsl.d/mysql-html.css	2006-09-20 15:38:46 UTC (rev 3402)
Changed blocks: 2, Lines Added: 11, Lines Deleted: 1; 1080 bytes

@@ -4,9 +4,11 @@
   display: block;
   max-width:720px;
 }
-div.chapter h1, div.chapter h2, div.chapter h3, div.chapter h4, div.chapter h5,
div.chapter h6, div.chapter p.title {
+
+div.part h1, div.chapter h1, div.chapter h2, div.chapter h3, div.chapter h4, div.chapter
h5, div.chapter h6, div.chapter p.title {
   font-family: Helvetica, Arial, sans-serif;
 }
+
 div.chapter code,div.section code {
   color: #0e4075;
   font-weight: normal;

@@ -23,12 +25,20 @@
   font-family:courier, fixed, monospace;
   font-size:95%;
 }
+
+div.part h1, div.chapter h1, div.book div.titlepage h1.title {
+  font-family: Helvetica, Arial, sans-serif;
+  font-size: 250%;
+  font-weight: bold;
+}
+
 div.chapter div.titlepage h2 {
   font-size:200%;
   font-weight: normal;
   color:black;
   background-color:white;
 }
+
 div.section div.titlepage h2 {
   font-size:180%;
   font-weight: bold;


Thread
svn commit - mysqldoc@docsrva: r3402 - in trunk: make.d xsl.dmcbrown20 Sep