Commit Graph

6 Commits

Author SHA1 Message Date
Alexey Yerin b67c4398fc web: add a nicer error page 2021-05-10 20:09:50 +03:00
Alexey Yerin 77b101f877 Update layout to a more "traditional" form
Instead of using one column layout, it's now switched to two column
layout with source on one side and translation on the other side.

One column layout is still used on smaller screens.
2021-05-10 16:48:35 +03:00
Alexey Yerin 1526372946 Add dark theme
It uses prefers-color-scheme CSS @media selector to determine which
theme is used.

Support table: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme#browser_compatibility
2021-03-15 19:41:41 +03:00
Alexey Yerin 5f5936702d Web UI redesign
* Fixed up max-width
  Instead of using relative metric like 90rem, switched over to
  pixels. This also decreases the section so my browser won't struggle
  as much with it.
* Added proper outline
  Instead of using browser's default, I declare blue-ish outline
  manually.
* Add borders to elements
  Inspired by Sourcehut.
2021-03-15 19:34:37 +03:00
Alexey Yerin 9c754f8fea Refactor CSS, small style updates 2021-01-18 21:59:14 +03:00
Alexey Yerin 065bd6cfb0 Initial 2021-01-17 23:19:52 +03:00