summaryrefslogtreecommitdiff
path: root/lib/tpl
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-11-27 13:18:49 +0100
committerAndreas Gohr <andi@splitbrain.org>2005-11-27 13:18:49 +0100
commit519b3173fdfbf6418e4d1d8df87ec70dac7ffc60 (patch)
treeaa023ee1065a270994bc96d6339967114deba888 /lib/tpl
parente35e4cbd1e93fb350d9ed782597d68f5a3df5db8 (diff)
downloadrpg-519b3173fdfbf6418e4d1d8df87ec70dac7ffc60.tar.gz
rpg-519b3173fdfbf6418e4d1d8df87ec70dac7ffc60.tar.bz2
Template stylesheets are now defined in sytle.ini
Which stylesheets should be loaded for a template is now defined in the style.ini file. IMPORTANT: template designers need to adjust their style.ini darcs-hash:20051127121849-7ad00-cf5b4d608d72bc9ed57766298a3942c3a2ec88f9.gz
Diffstat (limited to 'lib/tpl')
-rw-r--r--lib/tpl/default/style.ini20
1 files changed, 16 insertions, 4 deletions
diff --git a/lib/tpl/default/style.ini b/lib/tpl/default/style.ini
index f5f10d0a4..e6452ad90 100644
--- a/lib/tpl/default/style.ini
+++ b/lib/tpl/default/style.ini
@@ -1,10 +1,22 @@
-; This file is used to configure some placeholder values used in
-; the stylesheets. Changing this file is the simplest method to
-; give your wiki a new look.
-;
; Please see http://www.php.net/manual/en/function.parse-ini-file.php
; for limitations of the ini format used here
+; Define the stylesheets your template uses here. The second value
+; defines for which output media the style should be loaded. Currently
+; print, screen and rtl are supported. rtl styles are loaded additionally
+; to screen styles if a right-to-left language is selected (eg. hebrew)
+[stylesheets]
+layout.css = screen
+design.css = screen
+style.css = screen
+rtl.css = rtl
+print.css = print
+
+; This section is used to configure some placeholder values used in
+; the stylesheets. Changing this file is the simplest method to
+; give your wiki a new look.
+[replacements]
+
; various shades of gray, mainly used for backgrounds and texts
__white__ = "#fff"
__lightgray__ = "#f5f5f5"