Use temporary logo
authorJuliette Belin <juliette.belin@logilab.fr>
Wed, 01 Feb 2017 10:38:16 +0100
changeset 51 954fb42ee5fb
parent 50 df90f18336c3
child 52 d64b898667ad
Use temporary logo
data/cubes.sherpa.css
data/images/logo_SIAF.png
views/templates/maintemplate.jinja2
--- a/data/cubes.sherpa.css	Fri Feb 03 13:47:58 2017 +0100
+++ b/data/cubes.sherpa.css	Wed Feb 01 10:38:16 2017 +0100
@@ -39,12 +39,15 @@
   border-bottom: 1.2em solid #0d4e96;
   margin-bottom: 0;
 }
+.navbar-sherpa .logoSHERPA {
+  overflow: auto;
+}
 
-.navbar-sherpa .logoSHERPA {
-  margin: auto;
+.navbar-sherpa .logoSHERPA img{
   display: block;
-  height: 8em;
+  height: 7em;
   padding: 5px;
+  float: right;
 }
 
 .navbar-sherpa .logoSIAF {
@@ -60,10 +63,11 @@
 .navbar-sherpa h1 {
   margin-bottom: 0px;
   width: 100%;
-  padding: 15px;
   color: #626262;
   font-size: 2em;
   font-style: italic;
+  padding-bottom: 1em;
+  text-align: right;
 }
 
 .navbar-sherpa #search_box input {
Binary file data/images/logo_SIAF.png has changed
--- a/views/templates/maintemplate.jinja2	Fri Feb 03 13:47:58 2017 +0100
+++ b/views/templates/maintemplate.jinja2	Wed Feb 01 10:38:16 2017 +0100
@@ -26,12 +26,12 @@
           </div>
           <div class="col-md-7 col-xs-8">
               <a href="/">
-                  <div class='col-md-6 col-md-offset-3 col-xs-12 col-sm-12'>
-                      <h1>Service Heberg&eacute; pour la R&eacute;daction de Profils d&#39;Archivage</h1>
-                  </div>
-                  <div class='col-md-2'>
-                      <img src="{{ data_url }}images/logo_SHERPA_2.png" class="img-responsive logoSHERPA"/>
-                  </div>
+                <div class="logoSHERPA">
+                    <img src="{{ data_url }}images/logo_SHERPA_2.png" class="img-responsive"/>
+                </div>
+                <div class="textSHERPA">
+                    <h1>Service Heberg&eacute; pour la R&eacute;daction de Profils d&#39;Archivage</h1>
+                </div>
               </a>
           </div>
           <div class="col-md-2 col-md-offset-1 col-xs-4">