Commit Graph

17 Commits

Author SHA1 Message Date
Pascal Abresch a8f4153b29 Add a dark mode
this uses the css media query prefers-color-scheme to offer a dark theme to users.
This works in recent versions of safari, chromium (and derivatives) aswell as firefox
(but only with resistfingerprinting off OR a special config flag set)
2020-08-03 22:00:09 +02:00
waddlesplash eca082519a
shijin4: Improve image width selector rule.
Prevents some incorrect image sizing in tables.
Fixes https://dev.haiku-os.org/ticket/14896
2019-02-11 15:35:35 -05:00
Andrew Lindesay 6a41574f76 Font used on tabs to work on hosts without 'Verdana' font installed (#257) 2019-01-16 11:13:59 -05:00
Alex von Gluck IV 7e54b7ba41 get-haiku: Fix style of table, add osuosl back as a mirror (#240) 2018-10-16 13:11:58 -04:00
Augustin Cavalier 4527623313 shijin4: Fixup @humdingerb's work from previous commit. 2018-03-06 19:51:45 -05:00
Humdinger 3d0222b737 shijin4.css: Resizing behaviour for 'figure/figcaption'
Resize images again together with the browser window.

- Setting an explicit "width" for the 'figure' leads to a fixed width
  of all child objects. No resizing.

- Not setting "width" has the image resizing, but the caption and the
  border around it all won't be limited to the image width, but always
  cover the whole page width.

- With the 'width: min-content' of this commit the caption resizing is
  OK, but the image resizes in one big jump to thumbnail size...
2018-03-06 19:01:53 -05:00
Augustin Cavalier 01b63c169d shijin4: Fix media query for the tri-button hotbar. 2018-02-28 15:36:09 -05:00
Augustin Cavalier 033826be34 Move some js and layout from shijin4 into the core directories.
This is the first step towards a proper theme/layout/content split
and adding a second theme.

Also tweaked the activity script a bit.
2018-02-28 15:35:40 -05:00
Humdinger d158cdbedd Add step indication to "figure" captions of shijin4.css
Used with installation-guide.html
2018-02-15 17:54:45 +01:00
Humdinger 307301be0a Update installation guide (mostly layout)
* Added "figure" and "figcaption" to shijin4.css
  Use for step-by-step guides consisting mainly of concacenated
  screenshots + captions. Those tend to be confusing when your
  not sure if the text belongs to the screenshot above or below
  it.
  With figcaption, the caption is always below and is encased
  with the screenshot in a bordered box.

  Add style="width:[screenshotwidth+2*padding]" when used,
  e.g. style="width:820px"

* Use figure/figcaption for the installation guide.

* Minor text changes.

* Moved 8-initialize-update.png to the rest of the images and replaced
  unused 8-initialize.png

* Fixed 14-select-target.png to show the correct 379.9 MB source image
  instead of a 7.61 GB Haiku installation.

* Optimized PNGs

* TODO: All the images should be re-taken with the Noto font and an upated
  (nightly) image to show the current image size and copying packages
  instead of files when installing.
2018-02-14 21:07:03 +01:00
humdinger b2bfc969f2 Add user guide styles to shijin4.css (#168)
Adding the various stylings ("menu", "key", "cli"...) of the Haiku-doc.css.

I changed the "button" one to have a wider horizontal padding which makes it
look more like a Haiku button. I plan to use that one in the user guide as
well.
2018-02-10 16:57:43 -05:00
waddlesplash 48bca6254d shijin4: Fix h2/h3 font-weights, add h4 rules. 2017-10-27 13:50:08 +02:00
François Revol 2d3ad3a2ed Try to use display: inline-grid for preface blocks
So they arrange automatically on narrow screen without having to scroll
so much.
2017-10-22 23:08:29 +02:00
François Revol 21dff7de36 Add a Packages activity tab 2017-10-22 10:29:17 +02:00
François Revol aa51f6f4a2 css: Fix logo margin change threshold
Avoid cutting the leave stem when width is around 980.
2017-10-21 19:36:21 +02:00
waddlesplash 3263de0b7f shijin4: node image max-width, 2017-10-17 23:05:41 +02:00
Augustin Cavalier c18d73a4e7 Update to Hugo v0.29.
No real changes to content (hopefully...)
2017-09-30 18:32:36 +02:00