responsive

This commit is contained in:
2019-05-31 23:37:11 +02:00
parent efc5ac8bdc
commit 1f449767a6
48 changed files with 4228 additions and 73 deletions

View File

@@ -1,3 +1,6 @@
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
{% import _self as macro %}
{% extends 'partials/base.html.twig' %}
{% set collection = page.collection() %}
{% set image = page.media.images|first %}
@@ -10,20 +13,16 @@
<section class="body-wrapper">
<div class="content">
<div class="txt">
{{content}}
</div>
<div class="mapsalles">
<div class="contour">
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg986"
width="636.37305"
height="882.22363">
preserveAspectRatio="xMinYMin meet"
viewBox="0 0 640 885">
<metadata
id="metadata992">
<rdf:RDF>
@@ -903,17 +902,10 @@
</div>
<div class="fond">
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg829"
width="631.85046"
height="763.57861">
preserveAspectRatio="xMinYMin meet"
viewBox="0 0 640 885">
<metadata
id="metadata835">
<rdf:RDF>
@@ -945,29 +937,29 @@
max="744.48242,1017.896" />
<path
inkscape:connector-curvature="0"
id="path1133"
id="salle_druise"
d="M 361.63462,74.160968 291.5256,0 250.04658,40.038841 216.67774,75.6762 l 57.07361,56.94734 15.5311,15.84677 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path1135"
id="salle_trois_becs"
d="m 361.63462,74.160968 70.96324,72.225902 -34.85027,35.86042 10.35406,10.35405 -131.31398,131.38839 -79.55537,-79.87061 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path1137"
id="salle_drôme"
d="M 631.85044,614.34004 498.00523,476.45421 H 287.64096 l 0.50506,276.27674 h 211.12191 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccccccccc"
inkscape:connector-curvature="0"
id="path1131"
id="amphithéatre_jean-marie_pelt"
d="M 227.91568,694.45767 25.253828,694.14208 25.00128,641.36162 0.25254803,639.08876 0,407.76383 h 36.870569 v -13.13197 c 26.377554,-64.00017 143.740291,-81.30599 178.797001,1.51522 v 12.12185 h 37.37563 l -0.75761,229.80972 -25.00127,3.03042 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccc"
inkscape:connector-curvature="0"
id="path1129"
id="salle_printegarde"
d="m 25.253828,694.14208 202.661852,0.31559 -0.63134,34.5346 c 0,0 -25.00127,20.32932 -52.27539,27.4004 -27.27412,7.07105 -62.12438,11.36421 -91.166272,1.01016 C 54.800799,747.04874 25.001292,727.98212 25.001292,727.98212 Z"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.00157475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<g
@@ -1005,12 +997,9 @@
</svg>
</div>
</div>
<div class="txt">
{{content}}
</div>
{% for item in page.collection %}
<div class="content_salle">
<div class="content_salle" id="{{ macro.pageLinkName(item.title) }}">
{% set child_image = item.media.images|first %}
<h3>{{item.title}}</h3>
{% if image %}