]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/More_mobile_friendly_default_themes.mdwn
Merge remote-tracking branch 'spalax/paternal/libdirs'
[ikiwiki.git] / doc / bugs / More_mobile_friendly_default_themes.mdwn
index c33d6ac95150aca01b2e292f77b6862fd190fa35..8eeae413d4d47750bece9363a81ceb711e1f8a41 100644 (file)
@@ -4,12 +4,55 @@ indicates the viewport on mobile needs to be configured, e.g. `<meta name=viewpo
 
 http://source.ikiwiki.branchable.com/?p=source.git;a=blob;f=templates/page.tmpl;
 
+> This seems a lot like
+> [an "unbreak my application" option](http://ometer.com/free-software-ui.html)
+> but OK... presumably the motivation for this being opt-in is that "most"
+> websites have some sort of hard-coded fixed-width layout suitable for
+> a proportion of desktop browsers, rather than being responsive to window
+> size like they should have been all along. --[[smcv]]
 
-Further more:
+>> Fixed in master. It is currently on by default, but people with
+>> customized CSS that doesn't scale nicely can put
+>> `responsive_layout => 0` in the config to turn it off. --[[smcv]]
 
+Further more:
 
 * fonts need to be tweaked
+
+  > Suggestions?
+  >
+  > (Note that Joey has generally rejected stylistic changes to the default
+  > anti-theme; enhancing the other themes would be OK though.)
+  > --[[smcv]]
+
+  >> With git master, the layout and font sizes seem appropriate on my
+  >> Galaxy Nexus (360 CSS pixels wide), and on simulated devices
+  >> 320 device pixels wide (e.g. the first couple of iPhone models)
+  >> in Chromium's developer tools. [[done]]
+  >>
+  >> Test sites:
+  >>
+  >> * <http://actiontabs.hosted.pseudorandom.co.uk/>
+  >> * <http://blueview.hosted.pseudorandom.co.uk/>
+  >> * <http://goldtype.hosted.pseudorandom.co.uk/>
+  >> * <http://monochrome.hosted.pseudorandom.co.uk/>
+  >> * <http://unthemed.hosted.pseudorandom.co.uk/>
+  >>
+  >> If stylistic changes are needed, please open another issue with a
+  >> suggested patch.
+  >> --[[smcv]]
+
 * XHTML should be dropped !
 
+  > Already in the to-do list: [[todo/generate HTML5 by default]]. --[[smcv]]
+
+  >> Next version will always generate HTML5, unless someone overrules me.
+  >> --[[smcv]]
 
 I'm practicing this on http://dabase.com/ with <http://source.dabase.branchable.com/?p=source.git;a=blob;f=templates/page.tmpl;>
+
+> [[!format diff """
+-<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
+-<TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
+"""]]
+> You probably don't want to delete those. It breaks the CGI. --[[smcv]]