last improvements

This commit is contained in:
Bachir Soussi Chiadmi
2018-02-20 15:34:25 +01:00
parent 436cdbcad1
commit 0dfe90cd43
4 changed files with 47 additions and 48 deletions
+2 -2
View File
@@ -24,10 +24,10 @@ twig:
autoescape: false autoescape: false
assets: assets:
css_pipeline: false css_pipeline: true
css_minify: true css_minify: true
css_rewrite: true css_rewrite: true
js_pipeline: false js_pipeline: true
js_minify: true js_minify: true
errors: errors:
+17 -25
View File
@@ -7246,7 +7246,7 @@ header#top-bar {
*/ */
div#center { div#center {
padding-top: 11.3em; padding-top: 11.3em;
padding-bottom: 6em; padding-bottom: 2.5em;
/* /*
* LIST PROJET * LIST PROJET
*/ */
@@ -7275,7 +7275,8 @@ div#center {
padding: 0.7em 0.7em 2em; padding: 0.7em 0.7em 2em;
text-align: left; } text-align: left; }
div#center .projet-block nav.categories { div#center .projet-block nav.categories {
margin: 0; } margin: 0;
padding-bottom: 0.2em; }
div#center .projet-block nav.categories ul { div#center .projet-block nav.categories ul {
margin: 0; margin: 0;
line-height: 1.2; } line-height: 1.2; }
@@ -7648,7 +7649,7 @@ div#center {
border-width: 5.45455px; } border-width: 5.45455px; }
div#center { div#center {
padding-top: 8.2em; padding-top: 8.2em;
padding-bottom: 6em; } padding-bottom: 2.5em; }
body.categories a.projet-img { body.categories a.projet-img {
display: none; } } display: none; } }
@@ -7661,44 +7662,35 @@ div#center {
|_| \___/ \___/ \__\___|_| |_| \___/ \___/ \__\___|_|
*/ */
footer#bottom-bar { footer#bottom-bar {
position: absolute; position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 5em; height: 1.5em;
background-color: #5b2d87; background-color: #5b2d87;
transition: background-color 0.4s ease-out; transition: background-color 0.4s ease-out;
color: white; color: white;
text-align: center; text-align: center;
padding: 0.5em 0; } padding: 0 0; }
footer#bottom-bar:hover { footer#bottom-bar:hover {
background-color: #e30613; background-color: #e30613;
transition: background-color 0.2s ease-in-out; } transition: background-color 0.2s ease-in-out; }
footer#bottom-bar h1 {
font: "cocogoose", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
font-size: 0.95em;
font-weight: 500;
font-variant: normal;
height: auto;
display: inline-block;
position: relative;
margin: 0;
color: inherit;
font-size: 0.75em; }
footer#bottom-bar h1 a {
font-weight: inherit;
color: inherit; }
footer#bottom-bar address { footer#bottom-bar address {
display: inline-block;
vertical-align: baseline;
font: "cocogoose", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font: "cocogoose", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
font-size: 0.8em; font-size: 0.8em;
font-weight: 300; font-weight: 300;
font-variant: normal; font-variant: normal;
font-size: 0.6em; font-size: 0.6em;
margin: -0.7em 0 0; margin: 0 0;
line-height: 1.1; font-style: normal;
font-style: normal; } margin-right: 1em; }
footer#bottom-bar address a { footer#bottom-bar address:after {
text-decoration: underline; } content: "-";
margin-left: 1em; }
footer#bottom-bar ul.footer-menu { footer#bottom-bar ul.footer-menu {
display: inline-block;
vertical-align: baseline;
text-align: center; } text-align: center; }
footer#bottom-bar ul.footer-menu li { footer#bottom-bar ul.footer-menu li {
display: inline-block; } display: inline-block; }
+27 -19
View File
@@ -88,7 +88,7 @@ $titleareaH: $logoH+$logo_mb+$logo_mt;
$titleReducedFactor:0.7; $titleReducedFactor:0.7;
$titleReducedFactorSmall:0.5; $titleReducedFactorSmall:0.5;
$centerpaddingtop: $headerborderH+$headerpaddingtopH+$titleareaH; $centerpaddingtop: $headerborderH+$headerpaddingtopH+$titleareaH;
$footerheight: 5em; $footerheight: 1.5em;
$centerpaddingbottom:$footerheight+1em; $centerpaddingbottom:$footerheight+1em;
header#top-bar{ header#top-bar{
@@ -421,6 +421,7 @@ div#center{
nav.categories{ nav.categories{
@include catlist; @include catlist;
padding-bottom: 0.2em;
} }
a.image-link{ a.image-link{
@@ -785,43 +786,50 @@ div#center{
|_| \___/ \___/ \__\___|_| |_| \___/ \___/ \__\___|_|
*/ */
footer#bottom-bar{ footer#bottom-bar{
position:absolute; bottom:0; position:fixed; bottom:0;
width:100%; height:$footerheight; width:100%; height:$footerheight;
background-color: $maincolor; background-color: $maincolor;
transition: background-color 0.4s ease-out; transition: background-color 0.4s ease-out;
color: white; color: white;
text-align: center; text-align: center;
padding:0.5em 0; padding:0 0;
// margin: 5vh 0 0; // margin: 5vh 0 0;
&:hover{ &:hover{
background-color: $secondcolor; background-color: $secondcolor;
transition: background-color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out;
} }
h1{ // h1{
@include fontbold; height:auto; display:inline-block; position:relative; margin:0; // display: inline-block; vertical-align:middle;
color: inherit; // @include fontbold; height:auto; display:inline-block; position:relative; margin:0;
font-size: 0.75em; // color: inherit;font-size: 0.75em;
a{ // a{font-weight: inherit;color: inherit;}
font-weight: inherit; // margin-right:1em;
color: inherit; // }
}
// &:after{
// content: ""; height:0;
// display: block; margin-top:-.9em; margin-bottom:1em;
// border-top:0.5em solid #fff;
// transition:border-color 0.3s ease-in;}
}
address{ address{
display: inline-block; vertical-align:baseline;
// font-size: 1em; font-weight: normal; // font-size: 1em; font-weight: normal;
@include fontnormal; @include fontnormal;
font-size: 0.6em; font-size: 0.6em;
margin:-0.7em 0 0; line-height: 1.1; font-style: normal; margin:0 0;
a{text-decoration: underline;} // a{
// line-height: 1.5;
// }
font-style: normal;
// a{text-decoration: underline;}
margin-right:1em;
&:after{
content:"-";
margin-left: 1em;
}
} }
ul.footer-menu{ ul.footer-menu{
display: inline-block; vertical-align:baseline;
text-align: center; text-align: center;
// line-height: 1;
li{ li{
display:inline-block; display:inline-block;
// vertical-align:middle;
a{ a{
font-size: 0.6em; font-size: 0.6em;
} }
@@ -1,9 +1,8 @@
<footer id="bottom-bar"> <footer id="bottom-bar">
<div class="row fullwidth"> <div class="row fullwidth">
<section class="large-12 columns"> <section class="large-12 columns">
<h1><a class="logo" href="/">- {{ site.title|e('html') }} -</a></h1> <!-- <h1><a class="logo" href="/">{{ site.title|e('html') }}</a></h1> -->
<address> <address>
{{ site.adresse|e('html') }}<br />
<a class="mailto" href="mailto:{{site.email}}">{{ site.email|e('html') }}</a> <a class="mailto" href="mailto:{{site.email}}">{{ site.email|e('html') }}</a>
</address> </address>
<ul class="footer-menu"> <ul class="footer-menu">