Commit graph

34 commits

Author SHA1 Message Date
Oliver Eyton-Williams
c6264eb1bf
fix: remove cdn entirely and rely on Cloudflare 2021-02-16 11:44:57 +01:00
Jasper van Merle
ba46b7841b Set theme color depending on DevDocs theme 2019-07-12 17:13:27 +02:00
Jasper van Merle
aaf9904cb3 Remove redundant server-side styling 2019-07-07 15:21:29 +02:00
Jed Fox
a30fcf9d9a Switch from SASS variables to CSS variables
* Switch from SASS variables to CSS variables for most styling
  These are the simple cases, and the more complex ones will be covered by future commits. I’ve also replaced $fooZ ± 1 with the appropriate variable to avoid a runtime `calc()`.

* Eliminate the `$style` variable 🔥
  I’ve added a `--absolute` variable that’s `white` in dark mode and `black` in regular mode.

* Remove `$inputFocusBorder` 🔥

* Switch the Prism styles to CSS variables

* Convert `$mediumScreen` to a mixin

* 🔥 `$selectionText`

* Eliminate the final uses of SCSS variables
  I’ve dropped the 95% opacity on the background of the method source code overlay in RDoc since the difference isn’t noticeable but it makes implementation a lot easier.

* Misc fixes

* Extract the common variables from the two themes to a new file

* Remove illegal usages of CSS variables in SCSS functions
  This flattens out the buttons on the settings page which makes the styles simpler (and more modern-looking IMO) and removes the box-shadow on the button, which was completely invisible to me.

* Fix usages of SCSS functions in CSS variables

* Use `html._theme-*` selectors

* Eliminate `application-dark.css`; switch themes by toggling classes
  This also means that the Application Cache doesn’t have to get updated when toggling themes, and a new CSS file that’s nearly the same doesn’t need to be downloaded.
2018-10-07 12:27:07 -04:00
Thibaut Courouble
6aaba67b11 SEO and social sharing tweaks 2017-09-23 12:55:04 -04:00
Thibaut Courouble
0330f89b36 Fix <body> class attribute 2017-09-10 18:33:29 -04:00
Thibaut Courouble
8ddc08ca9b Serve web app manifest from canonical origin 2017-09-10 18:16:52 -04:00
Thibaut Courouble
7428645dc1 Improve app loading sequence 2017-09-09 18:16:16 -04:00
Thibaut Courouble
9e97357524 Add web app manifest 2017-09-09 18:16:16 -04:00
Thibaut Courouble
4e1b61e82c Minor SEO 2017-08-08 08:12:53 -04:00
Thibaut Courouble
c06d1c4d2d Move the app layout class to the <body> element 2017-06-25 17:55:17 -04:00
Thibaut Courouble
f333f44111 Tweak title tags 2017-02-05 17:00:16 -05:00
Thibaut Courouble
d6823d823a Make hardcoded refs to devdocs.io and cdn.devdocs.io config vars 2016-10-16 10:45:43 -04:00
Thibaut Courouble
a59786be2e Change single-doc setup to use data-attribute instead of inline script 2016-06-04 10:09:01 -04:00
Thibaut Courouble
4468f65dd8 Add content security policy 2016-05-01 18:09:01 -04:00
Thibaut Courouble
fd2907d1bc Use doc full name (incl. version) in app html
Ref #25.
2016-01-24 13:03:03 -05:00
ShaneQful
1cea1783fd Fix A11y issues with lang attribute and lack of label on the search box 2016-01-24 13:03:03 -05:00
Thibaut
fb7c3a9227 Tweak page titles 2015-06-07 15:51:41 -04:00
Thibaut
3d471599b9 Tweak headings for Google 2015-05-24 10:23:51 -04:00
Thibaut
930ac17b07 Tweaks for Google 2015-05-12 08:36:03 -04:00
Thibaut
e4b1524fb2 Change titles 2015-05-12 08:11:22 -04:00
Thibaut
084d5720a6 Add canonical link to all pages 2015-05-12 08:00:21 -04:00
Thibaut
744d7caa8a Change favicon URL to be protocol-relative 2015-05-05 08:09:01 -04:00
Thibaut
61d1d49f64 Change cdn URLs 2015-05-03 22:26:11 -04:00
Thibaut
de71751bad Add noscript and og:image tags to other.erb 2015-03-01 11:36:55 -05:00
Thibaut
e34e383fbf Remove deprecated minimal-ui 2015-02-14 11:30:40 -05:00
Thibaut
649b7b5546 Implement dark theme
Closes #73.
2015-02-08 17:50:03 -05:00
Thibaut
b8040a119c Offline mode is ready for prime time! 2015-01-13 20:45:36 -05:00
Thibaut
98b988d588 Tweak seo titles and descriptions 2014-04-27 22:17:28 -04:00
Thibaut
b3fb0b0edf Tweak SEO titles 2014-04-19 21:17:28 -04:00
Thibaut
76c619680e Allow doc index pages to be indexed and tweak meta descriptions 2014-04-19 21:13:11 -04:00
Thibaut
d3c7a6fdc1 Enable minimal-ui in iOS 7.1 2014-04-05 17:49:52 -04:00
Thibaut
8b4cb2b62b Disable phone number detection on mobile devices 2013-12-12 11:42:50 +00:00
Thibaut
18986c1814 Going open source 2013-10-24 20:49:33 +02:00