summaryrefslogtreecommitdiff
path: root/templates/fluid/template_index.html
AgeCommit message (Collapse)AuthorFilesLines
2021-01-15fluid: Add workaround to disable initial transitions on page loadTomas Bzatek1-0/+4
Although this may look weird on a first sight it does the trick. Perhaps as a result of another bug in recent Webkit-based browsers, still good enough for the time being.
2021-01-15fluid: Set default link colour before loading the common CSS fileTomas Bzatek1-3/+8
Recent Webkit-based browsers tend to animate link colour from builtin one (blue) once the common CSS stylesheet file gets loaded, resulting in unwanted animation. So set a sane default color within the HTML files so that the animation goes unnoticed. Still would be great to disable initial transitions altogether.
2016-10-02Add support for HiDPI imagesTomas Bzatek1-3/+3
This works by creating corresponding hidpi image sizes on startup and letting the machinery generate high resolution images from the source images (no way to use supplied images). However since browsers expect exact image dimension multiples for the particular scale factor, a reference image size (scale factor 1.0x) must be read first, then cropped to match reference aspect ratio and resized to exact dimensions. That way pixel-perfect results can be achieved for the chosen scale factor. TODO: the CSS background-image: image-set() tags are not supported on Firefox. TODO: try the 1.5x scale factor
2016-04-03New 'fluid' themeTomas Bzatek1-0/+77
Introducing a modern looking theme that changes gallery philosophy a bit. Instead of having thumbnails on an album page and photos on separate pages this new design brings emphasis on story telling. Viewer is advised to go through the whole album sequentially, bringing atmosphere to the whole set. All photos are loaded within a single page and keyboard navigation via left/right arrows is supposed to be used to switch the presentation mode on. Three photo sizes are supported now with the 'preview' size being the default. High resolution size has been introduced for 2560x1440 screens and larger. Note that this template uses code from 3rd parties, see CREDITS for details. I haven't been able to contact anyone behind the TheCodePlayer.com project so licensing of the breadcrumbs might be an issue.