From f9f2bdd8967e4bd752d40060429e954342d94501 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Wed, 14 Feb 2018 12:51:04 +0100 Subject: [PATCH] simplification --- resources/css/style.css | 36 ++++++++++++------------------------ templates/web/index.tt2.html | 2 +- 2 files changed, 13 insertions(+), 25 deletions(-) diff --git a/resources/css/style.css b/resources/css/style.css index 3b7f16e..af05121 100644 --- a/resources/css/style.css +++ b/resources/css/style.css @@ -47,39 +47,27 @@ header ul li.logo{ width: 30%; } -header .title{ +header .title { width: 100%; - height:4rem; + height: 4rem; line-height: 4rem; - margin:0; - padding:0; - background-color:#FF8547; - background-color:hsl(20,100%,64%); -} - -header .title span{ - height:4rem; - line-height: 4rem; - margin:0; - padding:0; + margin: 0; + padding: 0; + background-color: #FF8547; + background-color: hsl(20,100%,64%); } -header .title span h1{ +header h1 { width: 100%; font-size: 1.6em; - letter-spacing:0.1rem; + letter-spacing: 0.1rem; color: #fff; - font-weight:bold; - height:4rem; - line-height:4rem; - text-align:center; + font-weight: bold; + height: 4rem; + line-height: 4rem; + text-align: center; } -header .title h1 small{ - font-size: 0.9em; - color: #fff; - clear: left; -} /* Footer*/ footer{ diff --git a/templates/web/index.tt2.html b/templates/web/index.tt2.html index 0b05277..7e6a3d1 100644 --- a/templates/web/index.tt2.html +++ b/templates/web/index.tt2.html @@ -33,7 +33,7 @@ html1/DTD/xhtml1-transitional.dtd"> <li class="logo align-right"><a href="http://www.geant.net" title="Geant home page" target="_blank"><img alt="GEANT logo" width="100" src="images/geant_logo_rgb_300dpi.jpg"/></a></li> </ul> <div class="title"> - <span class=""><h1>[% title %]</h1></span> + <h1>[% title %]</h1> </div> </header> -- GitLab