css home
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: 'Projet N°1'
|
title: 'Projet N°1'
|
||||||
media_order: affiche_grainesdelecteurs_2014.jpg
|
media_order: 'ouvrage Edith.jpg,affiche_grainesdelecteurs_2014.jpg'
|
||||||
mea: true
|
mea: true
|
||||||
categories: test
|
categories: test
|
||||||
---
|
---
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: 'projet n°3'
|
title: 'projet n°3'
|
||||||
media_order: logo-Alliance_gris.svg
|
media_order: 'ouvrage Edith 2.jpg,logo-Alliance_gris.svg'
|
||||||
|
mea: true
|
||||||
taxonomy:
|
taxonomy:
|
||||||
category:
|
category:
|
||||||
- logo
|
- logo
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
@keyframes translatep1{
|
@keyframes translatep1{
|
||||||
0%{
|
0%{
|
||||||
transform: translateY(-0px);
|
transform: translateY(35px);
|
||||||
}
|
}
|
||||||
|
|
||||||
100%{
|
100%{
|
||||||
transform: translateY(35px);
|
transform: translateY(5px);
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,36 @@
|
|||||||
header{
|
header{
|
||||||
|
h1{
|
||||||
|
font-size: 11.2vw;
|
||||||
|
line-height: 7vw!important;
|
||||||
|
}
|
||||||
|
h2{
|
||||||
|
font-size: 3.7vw;
|
||||||
|
}
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 50vh;
|
height: 100vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
flex-direction: column;
|
||||||
|
nav{
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
.logo{
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
}
|
||||||
.contact{
|
.contact{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50px;
|
top: 50px;
|
||||||
right: 50px;
|
right: 50px;
|
||||||
|
transform: scale(1);
|
||||||
|
transition: transform 0.5s ease;
|
||||||
|
cursor: pointer;
|
||||||
|
&:hover{
|
||||||
|
transition: transform 0.5s ease;
|
||||||
|
transform: scale(0.9);
|
||||||
|
}
|
||||||
svg{
|
svg{
|
||||||
animation: rotation 6s infinite linear;
|
animation: rotation 6s infinite linear;
|
||||||
width: 90.4px;
|
width: 90.4px;
|
||||||
@@ -20,7 +43,42 @@ header{
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
& > section{
|
||||||
|
height: 100%;
|
||||||
|
&.works-mea{
|
||||||
|
height: auto!important;
|
||||||
|
display: inline-flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
.card{
|
||||||
|
line-height: 0.8!important;
|
||||||
|
.card-header{
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
h2{
|
h2{
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
.scroll{
|
||||||
|
width: 50px;
|
||||||
|
height: 40px;
|
||||||
|
margin: 0 auto 10px auto;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
& > p:nth-child(1){
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
top: -20px;
|
||||||
|
animation: translatep1 2s infinite linear;
|
||||||
|
}
|
||||||
|
& > p:nth-child(2){
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
top: -20px;
|
||||||
|
animation: translatep1 2s infinite linear;
|
||||||
|
animation-delay: 1s;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,28 +12,12 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
.card-header{
|
||||||
}
|
margin-top: 5px;
|
||||||
.scroll{
|
}
|
||||||
width: 100%;
|
.card-footer{
|
||||||
height: 15px;
|
margin-top: 5px;
|
||||||
margin: 0 auto;
|
}
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
width: 50px;
|
|
||||||
|
|
||||||
& > p:nth-child(1){
|
|
||||||
text-align: center;
|
|
||||||
position: absolute;
|
|
||||||
top: -20px;
|
|
||||||
animation: translatep1 2s infinite linear;
|
|
||||||
}
|
|
||||||
& > p:nth-child(2){
|
|
||||||
text-align: center;
|
|
||||||
position: absolute;
|
|
||||||
top: -20px;
|
|
||||||
animation: translatep1 2s infinite linear;
|
|
||||||
animation-delay: 1s;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.cat-list{
|
.cat-list{
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ img {
|
|||||||
border-style: none;
|
border-style: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Forms
|
/* Forms
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ h1, h2{
|
|||||||
|
|
||||||
h1{
|
h1{
|
||||||
font-size: $fh1;
|
font-size: $fh1;
|
||||||
-webkit-text-stroke-width: 2px;
|
-webkit-text-stroke:.1rem #111;
|
||||||
-webkit-text-stroke-color: black;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
line-height: 7rem;
|
line-height: 7rem;
|
||||||
}
|
}
|
||||||
@@ -61,6 +60,11 @@ header{
|
|||||||
span{
|
span{
|
||||||
font-family: $medium;
|
font-family: $medium;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
font-size: $fs;
|
||||||
|
text-transform: capitalize;
|
||||||
|
a{
|
||||||
|
color: $grey;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ $fh2:3rem;
|
|||||||
$fh2-i: 1.3rem;
|
$fh2-i: 1.3rem;
|
||||||
$fh3: 1rem;
|
$fh3: 1rem;
|
||||||
$fp: 1rem;
|
$fp: 1rem;
|
||||||
|
$fs:0.9rem;
|
||||||
// interline
|
// interline
|
||||||
|
|
||||||
//interlettre
|
//interlettre
|
||||||
@@ -21,3 +21,4 @@ $letterI1: 0.1rem;
|
|||||||
// color
|
// color
|
||||||
$blue: #0f265c;
|
$blue: #0f265c;
|
||||||
$red: #8d2815ff;
|
$red: #8d2815ff;
|
||||||
|
$grey: #999999;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
body{
|
body{
|
||||||
padding: 0 50px;
|
padding: 0 2%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,21 +23,6 @@
|
|||||||
|
|
||||||
{% embed 'partials/layout.html.twig' with {blog: page} %}
|
{% embed 'partials/layout.html.twig' with {blog: page} %}
|
||||||
{% block item %}
|
{% block item %}
|
||||||
|
|
||||||
<div class="works works-mea">
|
|
||||||
{% for child in collection %}
|
|
||||||
{% set mea = child.header.mea == 'true' %}
|
|
||||||
{% if mea %}
|
|
||||||
{% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="scroll">
|
|
||||||
<p>scroll</p>
|
|
||||||
<p>scroll</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="cat-list">
|
<div class="cat-list">
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,18 @@
|
|||||||
{% include 'partials/navigation.html.twig' %}
|
{% include 'partials/navigation.html.twig' %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="works works-mea">
|
||||||
|
{% for child in collection %}
|
||||||
|
{% set mea = child.header.mea == 'true' %}
|
||||||
|
{% if mea %}
|
||||||
|
{% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</section>
|
||||||
|
<div class="scroll">
|
||||||
|
<p>scroll</p>
|
||||||
|
<p>scroll</p>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user