modif css

This commit is contained in:
2020-01-20 11:51:20 +01:00
parent 7ca69e1549
commit b81be5ec03
178 changed files with 14005 additions and 187 deletions
@@ -12,16 +12,25 @@
{% block body %}
<section class="body-wrapper" id="item_list">
<script type="text/javascript">
var $card = $('.card');
ScrollReveal().reveal($card, {
delay: 1000,
distance: '20px',
interval: 100,
});
var $card = $('.card');
ScrollReveal().reveal($card, {
delay: 1000,
distance: '20px',
interval: 100,
});
var $item_listp = $('#item_list p');
ScrollReveal().reveal($item_listp, {
duration: 1000,
distance: '10px',
interval: 50,
});
</script>
{% block item %}
<!-- <div> -->
{{content}}
{% for child in collection %}
{% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
{% endfor %}
@@ -6,33 +6,37 @@
<html lang="{{ grav.language.getActive ?: grav.config.site.default_lang }}">
<head>
{% block head %}
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include 'partials/metadata.html.twig' %}
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
<link rel="canonical" href="{{ page.url(true, true) }}" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include 'partials/metadata.html.twig' %}
{% block stylesheets %}
{% do assets.addCss('theme://css/hamburgers.css') %}
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
{% endblock %}
{{ assets.css()|raw }}
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
<link rel="canonical" href="{{ page.url(true, true) }}" />
{% block javascripts %}
{% do assets.addJs('theme://js/jquery-3.4.1.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/jquery.lazy.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/scrollreveal.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
{% endblock %}
{% block stylesheets %}
{% do assets.addCss('theme://css/hamburgers.css') %}
{% do assets.addCss('theme://css/jquery.mCustomScrollbar.min.css') %}
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
{% endblock %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% block javascripts %}
{% do assets.addJs('theme://js/jquery-3.4.1.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/jquery.lazy.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/scrollreveal.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/jquery.mCustomScrollbar.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
{% endblock %}
{{ assets.js()|raw }}
{% endblock head %}
</head>
<body id="top" class="{{ header.title|hyphenize }}">
{% block header %}{% endblock %}
@@ -17,17 +17,17 @@
<div class="card-header">
{% if page.header.title %}
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
{% endif %}
{% if page.header.taxonomy.tag %}
{% include 'partials/blog/taxonomy.html.twig' %}
{% include 'partials/blog/taxonomy.html.twig' %}
{% endif %}
{% if page.header.date %}
{% include 'partials/blog/date.html.twig' %}
{% include 'partials/blog/date.html.twig' %}
{% endif %}
</div>
{{ services_image.derivatives(200,600,100).sizes('(max-width:26em) 100vw, 50vw').html(page.header.title, 'images projets', '')}}
{{ services_image.sizes('(max-width:26em) 100vw').html(page.header.title, 'images projets', '')}}
</a>
</div>
@@ -35,7 +35,9 @@
</div>
{% else %}
{% include 'partials/blog/title.html.twig' with {title_level: 'p'} %}
{% if content == true %}
{{content}}
{% else %}
{% include 'partials/blog/title.html.twig' with {title_level: 'p'} %}
{% endif %}
{% endif %}
@@ -13,6 +13,8 @@
<h2>{{site.title}}</h2>
</div>
<div class="container-wrap">
<div class="container">
{% include 'partials/taxonomylist.html.twig' with { 'taxonomy':'category'} %}
</div>
@@ -33,4 +35,6 @@
</div>
</div>
</div>
</div>
</div>
@@ -13,7 +13,6 @@
{% set options = { items: {'@taxonomy': {'category': tax} } } %}
{% set my_collection = page.collection(options) %}
{% for i in my_collection %}
{% if i.media.images|first %}
<li class="{{i.parent.folder}}">
@@ -26,7 +25,8 @@
{{services_image}}
</div>
{% endfor %}
</a> /
</a>
<span>-</span>
</li>
{% endif %}
{% endfor %}