diff options
author | Anika Henke <anika@selfthinker.org> | 2012-04-09 14:15:29 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-04-09 14:15:29 +0100 |
commit | 6c47a78cc56b2c460658675c694bd178c31a1830 (patch) | |
tree | 18bb56f536579c0a902fd2606c4c590c9d6f1f6c /lib/tpl | |
parent | 0607bfee2c4334d31415541abb89026e77c7628a (diff) | |
download | rpg-6c47a78cc56b2c460658675c694bd178c31a1830.tar.gz rpg-6c47a78cc56b2c460658675c694bd178c31a1830.tar.bz2 |
load only one stylesheet for all modes instead of three
Instead of three stylesheets for 'all', 'screen' and 'print' modes, they are all loaded into a single stylesheet by wrapping all screen styles in a "@media screen {}" and all print styles in a "@media print {}". The 'all' mode is not wrapped in anything.
Potential issues with existing CSS: If any of your screen or print CSS files already contain any "@media" syntax, the CSS will probably break. In that case please add any CSS with "@media" in it to the 'all' mode instead!
Also, the 'rtl' mode is hereby deprecated. Please just prefix any RTL styles within your normal CSS files with "[dir=rtl]". This also fixes that RTL styles cannot be added for 'all' or 'print' modes.
Diffstat (limited to 'lib/tpl')
-rw-r--r-- | lib/tpl/dokuwiki/style.ini | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tpl/dokuwiki/style.ini b/lib/tpl/dokuwiki/style.ini index b8e55bcc8..b52d7e652 100644 --- a/lib/tpl/dokuwiki/style.ini +++ b/lib/tpl/dokuwiki/style.ini @@ -29,10 +29,10 @@ css/design.css = screen css/pagetools.css = screen css/content.css = screen css/includes.css = screen -css/mobile.css = screen css/rtl.css = screen -css/print.css = print +css/mobile.css = all +css/print.css = print ; This section is used to configure some placeholder values used in |