From 16ec89fc0c2076fe708bd14fcb86e8c8a9ccb1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Pe=CC=81rez?= <jaime.perez@uninett.no> Date: Mon, 22 Aug 2016 17:10:01 +0200 Subject: [PATCH] bugfix: Remove inline style for links in the header, and change that for a proper CSS. --- templates/includes/header.php | 2 +- www/resources/default.css | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/includes/header.php b/templates/includes/header.php index de8454d19..6f154c0ed 100644 --- a/templates/includes/header.php +++ b/templates/includes/header.php @@ -125,7 +125,7 @@ if($onLoad !== '') { <div id="wrap"> <div id="header"> - <h1><a style="text-decoration: none; color: white" href="/<?php echo $this->data['baseurlpath']; ?>"><?php + <h1><a href="/<?php echo $this->data['baseurlpath']; ?>"><?php echo (isset($this->data['header']) ? $this->data['header'] : 'SimpleSAMLphp'); ?></a></h1> </div> diff --git a/www/resources/default.css b/www/resources/default.css index ab6cfe3ef..192b8cf09 100644 --- a/www/resources/default.css +++ b/www/resources/default.css @@ -65,7 +65,12 @@ a:hover, a:active { text-decoration: none; color: #333; border-bottom: 1px solid #333; -} +} + +#header a { + color: #fff; + text-decoration: none; +} /* LISTS */ ul { -- GitLab