Commit Graph

47 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
Augustin Cavalier 6e15c66eef shijin4: Fix RSS feeds.
Fixes https://dev.haiku-os.org/ticket/15949
2020-05-09 18:02:12 -04:00
Sergei Reznikov c6afa51d8f
layouts: Update copyright years (#364) 2020-04-30 14:22:40 -04:00
Ryan Leavengood 423d96bf40 Update donation meter year to 2020 2020-01-24 20:55:43 -05:00
François Revol 2b51792534 Fix the Conferences section (#344)
Fixes 15594
2020-01-13 21:57:07 -05:00
Augustin Cavalier 9e6a855c9e Changes for Hugo 0.60.1.
Also seems to fix https://dev.haiku-os.org/ticket/15506
2019-12-23 19:01:38 -05:00
Augustin Cavalier c895ac22e3 shijin4: Switch to using .Site.RegularPages instead of Pages.
This fixes some strange appearances of phantom articles
in various lists.
2019-12-23 18:53:08 -05:00
Augustin Cavalier f0d5507ac3 Merge root "layouts" into themes/shijin4.
It really was shijin4 specific and did not belong at the top level.
2019-12-23 18:52:13 -05:00
François Revol bd1de996f8 Replace deprecated .URL 2019-12-23 18:23:26 -05:00
François Revol da5049321f Replace deprecated .RSSLink 2019-12-23 18:22:45 -05:00
linok9757 62e43ed168 Update copyright year (#312) 2019-10-08 23:22:44 -04:00
Alexander von Gluck IV 1aed60f284 about/security: Add a bit of information about security and disclosure 2019-06-17 18:28:54 -05:00
waddlesplash f91030e4d4
index: Restore activity.js.
@kallisti5 deleted it without looking at it in 2dbabf476e erroneously.
2019-02-14 16:41:29 -05:00
Alexander von Gluck IV 2dbabf476e donationchart: Sync up with haiku-inc.org 2019-02-13 09:04:35 -06: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 2e7d4008c6 theme: tweaks 2018-09-25 22:12:22 -04:00
Augustin Cavalier 463fc8770d header.includes: Use absolute URLs to fix the 404 page. 2018-09-13 15:30:26 -04:00
Kacper Kasper 41233e2ead Reorganise Getting Involved page
* Let's make getting involved with the project as easy as it can be.
  Listing the projects we maintain and ideas we have can help people
  see what and who we are looking for and have "I can do that!"
  moment.
* To the point above, put the link on the front page. I am a
  contributor and finding that page took me longer than it should
  (a few seconds).
* List specific things above the generic ones. Usually people don't
  like to think too hard, and they probably won't do that for the
  project unless they're really invested. But if they are they don't
  look at Getting Involved page anymore.
2018-09-05 23:23:06 -04:00
Ryan Leavengood 60156851a4 Donation meter updates (#229)
* Move the fundraising section to a partial

* Move most inline styles for the donation meter into CSS

Also change the style a bit to make it look better.

Add various ids to use later for JavaScript which will update the meter from a
JSON file.

* Add JavaScript to update the donation meter from JSON

* Move fundraising partial to correct place, use style block

Also use round not ceil for the total donation amount.
2018-08-02 14:04:57 -04:00
Ryan Leavengood 8a936f4c2c Update donation meter 2018-08-01 16:58:03 -04:00
Augustin Cavalier 8b0ca7d893 Upgrade from Hugo v0.37 to v0.42.2. 2018-07-15 13:02:50 -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 6435001bca Hugo v0.31 -> v0.37 upgrade, part 2: Rework shijin4.
* Refactor breadcrumbs to its own file.
 * "blog" and "blog_index" are now just "blog", so merge "list" appropriately
 * "blog.terms" is now unused, delete it
 * Make an empty conference summary page (do we want these to appear on the homepage?)
2018-03-05 22:51:14 -05:00
Augustin Cavalier 53c761eef7 themes & layouts: Fix default page behaviors.
Now we actually get errors when we have no template for a page.
2018-03-05 22:51:12 -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
Ryan Leavengood f37703b6f4 Update donation meter for 2018 2018-02-10 11:44:58 -05:00
Jérôme Duval e528989b47
2018 Copyright 2018-02-09 07:50:21 +01:00
Alex von Gluck IV f42282a576
donation: Update donation meter to match haiku-inc.org (#156) 2017-12-18 20:16:39 -06:00
Augustin Cavalier 311cce3f11 navbar: Use download icon instead of installer icon.
Fixes https://dev.haiku-os.org/ticket/11303.
2017-11-21 16:38:33 +01: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 b7c81633be Spice up meta tags; add proper OpenGraph for website and article types
Images must use canonical URLs.

For news and blog posts we use og:type = article.

For other pages we stick to og:type = website.
2017-10-21 19:37:31 +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
Alex von Gluck IV 22dc452284 partials/events: Improve date line wrapping (#133) 2017-10-19 21:56:25 -05:00
François Revol a357901231 Add back the events list on the homepage (#132) 2017-10-19 19:24:33 -05:00
François Revol a8d2cb776a Fix the fix of the conference list (#131)
We need to test for one or more upcoming conferences.
2017-10-19 17:23:27 -05:00
waddlesplash 3263de0b7f shijin4: node image max-width, 2017-10-17 23:05:41 +02:00
François Revol 31fdaa07b2 Fix conference list
Somehow Alchimie12 didn't get listed.

I believe ge only works on numbers...
converting all dates to Unix format seems to solve the issue.
We need to filter out pages without an event property though.
2017-10-15 12:10:28 +02:00
Augustin Cavalier c18d73a4e7 Update to Hugo v0.29.
No real changes to content (hopefully...)
2017-09-30 18:32:36 +02:00