From 26cd374453e6b8edfdf3ede436a7463861349be9 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 12 Jan 2021 22:25:39 +0100 Subject: fluid: Set default link colour before loading the common CSS file 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. --- templates/fluid/styles.css | 5 ----- templates/fluid/template_album.html | 36 ++++++++++++++++++++---------------- templates/fluid/template_index.html | 11 ++++++++--- 3 files changed, 28 insertions(+), 24 deletions(-) (limited to 'templates') diff --git a/templates/fluid/styles.css b/templates/fluid/styles.css index 2322f3c..28be360 100644 --- a/templates/fluid/styles.css +++ b/templates/fluid/styles.css @@ -27,11 +27,6 @@ div.content div.title { /* text-shadow: rgba(240, 230, 199, 0.5) 0 0 2px; */ } -/* Size buttons tend to show color frame in Firefox */ -a:active, a:visited { - color: rgba(0, 255, 0, 0); -} - div.content div.title a, div.content div.text a, div.photo div.photo-title a, diff --git a/templates/fluid/template_album.html b/templates/fluid/template_album.html index 465c631..2535a58 100644 --- a/templates/fluid/template_album.html +++ b/templates/fluid/template_album.html @@ -2,32 +2,36 @@ - - $(PAGE_TITLE) + + $(PAGE_TITLE) - - - - + } + + diff --git a/templates/fluid/template_index.html b/templates/fluid/template_index.html index d0b6e8b..89c5be1 100644 --- a/templates/fluid/template_index.html +++ b/templates/fluid/template_index.html @@ -2,11 +2,16 @@ - - $(PAGE_TITLE) + + $(PAGE_TITLE) - + + -- cgit v1.2.3