aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/More_mobile_friendly_default_themes.mdwn
blob: 8eeae413d4d47750bece9363a81ceb711e1f8a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<http://developers.google.com/speed/pagespeed/insights/>

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

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]]

>> 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]]