summaryrefslogtreecommitdiff
path: root/templates/fluid/template_index.html
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2021-01-12 22:25:39 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2021-01-15 21:47:22 +0100
commit26cd374453e6b8edfdf3ede436a7463861349be9 (patch)
tree2afcc7946e0d5bff7ec7d8455708ac73c6697f4f /templates/fluid/template_index.html
parentd3cbbd5b8ab09f3023bbe5067a39935495e59847 (diff)
downloadcataract-26cd374453e6b8edfdf3ede436a7463861349be9.tar.xz
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.
Diffstat (limited to 'templates/fluid/template_index.html')
-rw-r--r--templates/fluid/template_index.html11
1 files changed, 8 insertions, 3 deletions
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 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>$(PAGE_TITLE)</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <title>$(PAGE_TITLE)</title>
<!-- $(CGG_META_TAGS) -->
<!-- $(CGG_ATOM_FEED_TAGS) -->
- <link href="$(TEMPLATES_PATH)styles.css" type="text/css" rel="stylesheet" media="screen, print" />
+ <style type="text/css">
+ a, a:visited, a:hover, a:active {
+ color: #cccccc;
+ }
+ </style>
+ <link href="$(TEMPLATES_PATH)styles.css" type="text/css" rel="stylesheet" media="screen, print" />
</head>
<body>