Commit Graph
20 Commits
Author SHA1 Message Date
Vojtěch Káně 058de79991 Remove the sizes attribute
It defaults to 100vw, which may be wasteful sometimes, but it guarantees
smooth experience. I am not aware of any simple way of requesting the
current widescreen behavior "make it as wide as possible while not
exceeding 30rem height" using the sizes attribute.

This setting may be especially wasteful for portrait images, as their
rendered width will be much smaller than the viewport width.
2020-05-03 14:55:51 +02:00
Vojtěch Káně 5be48c59c6 Raise the quality of low res images
They might be scaled up by the browser making compression artifacts much
more visible.
2020-05-03 14:47:11 +02:00
Vojtěch Káně e922f2f28d Merge in using <figure> element
See merge request patek-devs/patek.cz!10
2020-04-22 13:23:39 +02:00
Vojtěch Káně e591d16e9d Use <figure> and <figcaption> in blogPhoto shortcode 2020-04-21 22:55:57 +02:00
Vojtěch Káně 891110771e Include the compressed original image in src/srcset, if it happens to be
smaller than the largest size we resize to.
2020-04-20 23:06:27 +02:00
Vojtěch Káně 315ec5b77b Generalize blogPhoto shortcode
Generate the resized images from simple config array + generate only
those, that are actualy smaller then the original.
2020-04-20 13:54:08 +02:00
Vojtěch Káně cc5e75e469 Fix blogPhoto shortcode
w unit inside srcset means width in original photo pixels, not height
2020-04-20 13:35:43 +02:00
Vojtěch Káně 0a61815dcb Add blogPhoto shortcode
This shortcode is intended to be used in blogposts to include photos. It
downscales them and uses srcset to serve appropriate sizes to the
browsers.
2020-04-16 23:14:46 +02:00
Vojtěch Káně 5e5c5df3ef Move content specific assets under that content 2020-04-15 23:54:42 +02:00
Vojtěch Káně 7696ed3952 Simplify Dockerfiles
There is no need to run explicit mkdir, since the new directory is not
used during the build and workdir command creates it automatically.
2020-01-01 12:49:45 +01:00
Vojtěch Káně d4293c9f08 Fix typo in Print text 2019-12-09 12:05:13 +01:00
Vojtěch Káně a427b7a211 Fix grammar in czech version of talks overview 2019-10-25 12:12:34 +02:00
Vojtěch Káně dcf3944bbf Add Intro to UNIX talk 2019-10-25 10:18:28 +02:00
Vojtěch Káně 885f144931 Fix Czech declension of Alan's name 2019-10-24 17:27:14 +02:00
vojta001 87b389e839 Fix content/talks/ProjectDocs' front matter 2019-09-09 11:43:39 +02:00
Vojtěch Káně d7fbcc0ebc Temporarily hide address 2019-09-08 19:17:37 +02:00
Vojtěch Káně 933f9b4f87 Update website source code link 2019-09-08 18:48:48 +02:00
Vojtěch Káně 9c5dbf1c35 Fix sponsors logo animation 2019-09-08 18:12:14 +02:00
Vojtěch Káně c63825bfd4 Enable Gitlab CI to test buildability. 2019-07-16 11:34:03 +02:00
Vojtěch Káně b715d297fd Clone submodules over HTTPS not to require authentication (for users comfort al well as for easier CI/CD).
Unified .gitmodules syntax.
2019-07-15 13:45:52 +02:00