]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/More_mobile_friendly_default_themes.mdwn
fa25814ec24c47cb661a560f10378cf8b6781aba
[ikiwiki.git] / doc / bugs / More_mobile_friendly_default_themes.mdwn
1 <http://developers.google.com/speed/pagespeed/insights/>
2
3 indicates the viewport on mobile needs to be configured, e.g. `<meta name=viewport content="width=device-width, initial-scale=1">` in the header of
4
5 http://source.ikiwiki.branchable.com/?p=source.git;a=blob;f=templates/page.tmpl;
6
7 > This seems a lot like
8 > [an "unbreak my application" option](http://ometer.com/free-software-ui.html)
9 > but OK... presumably the motivation for this being opt-in is that "most"
10 > websites have some sort of hard-coded fixed-width layout suitable for
11 > a proportion of desktop browsers, rather than being responsive to window
12 > size like they should have been all along. --[[smcv]]
13
14 Further more:
15
16 * fonts need to be tweaked
17
18   > Suggestions?
19   >
20   > (Note that Joey has generally rejected stylistic changes to the default
21   > anti-theme; enhancing the other themes would be OK though.)
22   > --[[smcv]]
23
24 * XHTML should be dropped !
25
26   > Already in the to-do list: [[todo/generate HTML5 by default]]. --[[smcv]]
27
28 I'm practicing this on http://dabase.com/ with <http://source.dabase.branchable.com/?p=source.git;a=blob;f=templates/page.tmpl;>
29
30 > [[!format diff """
31 -<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
32 -<TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
33 """]]
34 > You probably don't want to delete those. It breaks the CGI. --[[smcv]]