Commit Graph

36 Commits

Author SHA1 Message Date
Jim Hague 5eb451a3db Set minimum size for learner icon in tune list.
Otherwise it vanishes completely at small screen sizes.
2016-11-08 20:26:01 +00:00
Jim Hague 274dfc4665 In tune list, put L in column of its own.
It can be a big difficult to hit when the text is wrapped.
2016-11-07 23:14:14 +00:00
Jim Hague fd6335632c Automated merge with ssh://hg.cryhavoc.org.uk/dottes 2016-11-07 20:34:45 +00:00
Jim Hague 9112acfc9a Android rotation fixes.
Android browser doesn't do max-device-width. And in fact it seems max-width
is to be preferred anyway.

Second, stock Android browser needs a bug workaround orientation setting
present to force recalculation.

Android Chrome still has problems.
2016-11-07 20:33:52 +00:00
Jim Hague 4dda960a37 Rearrange instrument table from horizontal to vertical on narrow screens. 2016-11-07 20:31:41 +00:00
Jim Hague bfcc214f2f Impose maximum width on main content. 2016-11-07 20:31:16 +00:00
Jim Hague 6c79f22ee3 Adapt footer is tune and learner tune pages to narrow displays. 2016-11-06 22:21:09 +00:00
Jim Hague 2701902641 More CSS tweaks. 2016-11-06 21:42:04 +00:00
Jim Hague 8c6b9c8fda Tidy main page and rename transpose container. Adjust CSS for main page. 2016-11-06 21:01:56 +00:00
Jim Hague 57ef8f8f67 Attempt revamp of CSS and presentation. Ditch 960. 2016-11-06 13:40:32 +00:00
Jim Hague 479aadb901 Fix learner tune CSS. Broken during tune page CSS revision.
Give the main display its own CSS.
2016-11-06 08:24:22 +00:00
Jim Hague afc73cd0b3 Sort out column widths for web tune list.
In the process discover display: table-column and use those on
tune headers and footers to set column widths.
2016-11-05 10:46:41 +00:00
Jim Hague 6e79f73b9d Add Dottes History to notes. Currently appears after notes with a gap.
This is intended for longer exposition about a tune.
2016-11-02 18:36:31 +00:00
Jim Hague 7791a913d4 Reduce gap between items in tune representation list.
Gets it all back onto one line in Chromium for me.
2016-11-02 17:59:25 +00:00
Jim Hague 3061852caf Replace Change and Credit with Markdown-enabled Notes section.
Data in Notes is taken from N: section starting "Dottes:".
2016-11-02 15:02:06 +00:00
Jim Hague 020907d476 Remove font-size directives.
The font sizing is not consistent in Chrome - i.e. reload the page and
the size can shrink - so go back to default sizes for now.
2015-12-12 22:33:41 +00:00
Jim Hague 25d671a132 Change main body font to Open Sans, to match the main Havoc website. 2013-11-11 22:14:00 +00:00
Jim Hague 804f58b4af Remove line between icons. It's a link underline.
So set the link style to not underline links.
2013-10-09 18:06:14 +01:00
Jim Hague e049dc77a9 Add audio player to tune web page.
Add an <audio> tag to the bottom centre of the tune web page. Give it options for MP3 and
OGG files. Most browsers will play MP3, and the ones that won't (Firefox) will play OGG.

Since we now have to generate OGGs, add a download link as well.
2013-08-28 11:54:45 +01:00
Jim Hague a1e4f86ed1 Add date of last change to bottom of web tune page. 2013-08-19 09:59:46 +01:00
Jim Hague 6427153e8e Add --contains flag to abcfield.py.
Currently we rely on any N: field with a Change: subnotice being the first
N: field. Add --contains field to abcfield.py to remove this restriction.

Also use it to extract new subfield Credit: and add that if present
to the tune information in print and on web.
2013-08-04 22:09:25 +01:00
Jim Hague d8357c8cec Render tune title, subtitle and composer in Latex/HTML and not in the image.
This way the titles remains a constant size even if the image needs to be scaled.
And we have that text appearance under our control.

I can't find a way of switching off the tune title in abcm2ps, and have worked around
by setting the title format to Y0. Y is not a defined ABC header and is not found in
any Dottes tune.
2013-07-16 16:35:07 +01:00
Jim Hague 6c091c1470 Modify Change tune handling.
Change all change notes to reference the filename of the tune to change to.

Modify web and document generators to pull the change note out of the abc
and generate an appropiate bit of content. This is now, in both cases,
a hyperlink.

In the process, remove the tune-specific .tex facility. It wasn't being
used.

I could really do with a proper templating system, and using some sort
of templating in the LaTeX generation.
2013-02-23 13:10:58 +00:00
Jim Hague 2dfc0109f5 Change background bitmap base colour to 9900cc.
This matches the set body background colour, shown if the image is not
available. The image was generated as before.
2013-02-23 11:38:35 +00:00
Jim Hague 9b21ea9c95 Give in to my inner OCD and make the tune list a DIV with CSS, not a table. 2013-02-22 23:20:06 +00:00
Jim Hague ccb8de1185 Sort out the tunes and transposition displayed on the front page. 2013-02-19 16:26:16 +00:00
Jim Hague d1c4ec0c59 Make tune graphic on tune page fill the width of the page. 2013-02-18 22:06:17 +00:00
Jim Hague 0fab9dbdc4 Tweak position of tune index tune name text to be more aligned with the tune graphic. 2013-02-18 22:05:56 +00:00
Jim Hague 44bf3605bb Change banner to transparent PNG with Havoc font lettering and buzzard on black background. 2013-02-18 22:05:23 +00:00
Jim Hague 67f3e594af Set margin on divs so that they leave gaps between themselves.
So 'clear' divs are unnecessary.
2013-02-18 21:50:58 +00:00
Jim Hague c568bcc7d9 Rework page header to graphic with Havoc font and better buzzard. 2013-02-18 15:16:26 +00:00
Jim Hague 3a56f2658a Some CSS tweaking.
Make the margins consistent.

Include but comment out style to centre the tune image.
2013-02-17 10:30:22 +00:00
Jim Hague 2cad796f61 Increase size of tune link text to make centering look less bad. 2013-02-17 00:40:21 +00:00
Jim Hague 533c08cb4f Finish first version of newly tarted up website. 2013-02-17 00:27:07 +00:00
Jim Hague fcdbbd2f6b Nudge book list tile alongside other entries in the line. 2013-02-16 23:23:50 +00:00
Jim Hague cd4efa22a2 First go at some contemporary HTML/CSS stuff for the Booke. 2013-02-15 20:32:21 +00:00