Commit Graph

64 Commits

Author SHA1 Message Date
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 bef0a44123 Re-add header to front page. 2016-11-06 21:01:20 +00:00
Jim Hague a8854b5170 Set initial viewport settings. 2016-11-06 14:28:08 +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 065cd478d4 Uncloak website.
Remove robots.txt blocking spiders and add Google webmaster ID.
2014-04-28 15:35:41 +01: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 f5b474b2ba Revert earlier change on learner icon.
It gave it a yellow tinge.
2013-10-09 17:50:23 +01:00
Jim Hague b137253660 Set learner image background to transparent. 2013-10-09 17:34:28 +01:00
Jim Hague f3f95e3ce1 Add book icon to return from tune or learner page to tune index page. 2013-09-26 16:53:36 +01:00
Jim Hague e5e6f6e81d Add Acknowledgements to front page. 2013-09-03 10:16:00 +01:00
Jim Hague 4c312d7181 Add link from dots page to learner page and vice-versa. 2013-09-03 10:02:59 +01:00
Jim Hague 90280c70a1 Make learner icon smaller and put by tune name in tune list.
Trying to keep all tune stuff on one line.
2013-09-02 12:48:15 +01:00
Jim Hague deba133b3b First go at adding the tune learner page. 2013-09-02 11:48:16 +01:00
Jim Hague 007f84cb11 Oops. Correct licence logo too. 2013-08-30 19:52:25 +01:00
Jim Hague 56c69ff357 Correct licence on website to by-nc-sa.
Bring it in line with the Booke so using Paul Hardy's tunes is OK.
2013-08-30 09:54:04 +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 b78413c488 Revise intro wording on documents and website. 2013-07-08 10:35:23 +01:00
Jim Hague ca49d7acd8 Add licence note to website. 2013-06-21 10:12:24 +01:00
Jim Hague 33d21e11a8 Add copyrighted tune removal statement to website. 2013-06-14 23:21:29 +01:00
Jim Hague 3f7ca57207 Automated merge with ssh://hg.cryhavoc.org.uk/dottes 2013-03-31 20:51:02 +01:00
Jim Hague 093aae5073 Add Library for non-Havoc tunes. 2013-03-31 19:51:22 +01:00
Jim Hague bd538e1b8a Add contact details to website. 2013-03-10 20:30:56 +00: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 f2b96eb19b Replace background image with GIMP generated purple cloth bitmap.
The old image had joins when it repeated. RReplace with a bitmap
of colour 8000ba with GIMP Aristic/Clothify filter applied with
Blur X/Y 20 and depth 1.
2013-02-23 11:32:04 +00:00
Jim Hague d3a940e7eb Tweak web banner.
Move text to 5px margin, which combined with the 5px margin specified
in the banner CSS gives a 10px margin for text, matching the content.

Give buzzard more of a vertical margin.
2013-02-23 11:23:15 +00:00
Jim Hague b46aa19389 Redo the banner bitmap.
The previous bitmap had green tinges around the main wording. And I wanted
to have 'Cry Havoc Botley Morris' around the buzzard.

Also add the Inkscape SVG used to generate the banner bitmap.
2013-02-23 02:05:07 +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 9c19ccc96d Add robots.txt instructing the site not to be indexed. 2013-02-22 00:33:00 +00:00
Jim Hague 18727830fa Add Horn in F transposition. 2013-02-20 13:03:40 +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