This commit is contained in:
Kevin Tessier 2019-04-05 00:19:26 +02:00
parent 2ddc3ef8b5
commit 52fe56a7fc
36 changed files with 1449 additions and 274 deletions

3
.eslintrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "./core/.eslintrc.json"
}

View File

@ -0,0 +1,2 @@
enabled: true
route: /blog

View File

@ -1,10 +1,18 @@
---
title: Home
media_order: imgtest.jpg
media_order: 'imgtest.jpg,imgtest2.jpg'
body_classes: 'title-center title-h1h2'
content:
items:
- '@self.children'
---
texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus.texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus. texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus
texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus
texte de présentation du campus.texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus
texte de présentation du campus texte de présentation du campus. texte de présentation du campus texte de présentation du campus texte de présentation du campus texte de présentation du campus
[tout savoir sur le campus](/lecampus)
![](imgtest.jpg)**Le Campus, au coeur du Val de Drôme, un site tout équipé pour vos événements.**
5 salles à louer :
1 amphithéâtre et 4 salles multi-fonction
[je fais ma demande de devis](/demande-de-devis)

View File

@ -1,5 +1,7 @@
---
title: 'Organisez vos événements'
media_order: imgtest2.jpg
show_sidebar: false
content:
items:
- '@self.children'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,635 @@
/* required styles */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
position: absolute;
left: 0;
top: 0;
}
.leaflet-container {
overflow: hidden;
}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-user-drag: none;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
image-rendering: -webkit-optimize-contrast;
}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
width: 1600px;
height: 1600px;
-webkit-transform-origin: 0 0;
}
.leaflet-marker-icon,
.leaflet-marker-shadow {
display: block;
}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
max-width: none !important;
max-height: none !important;
}
.leaflet-container.leaflet-touch-zoom {
-ms-touch-action: pan-x pan-y;
touch-action: pan-x pan-y;
}
.leaflet-container.leaflet-touch-drag {
-ms-touch-action: pinch-zoom;
/* Fallback for FF which doesn't support pinch-zoom */
touch-action: none;
touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
-ms-touch-action: none;
touch-action: none;
}
.leaflet-container {
-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
filter: inherit;
visibility: hidden;
}
.leaflet-tile-loaded {
visibility: inherit;
}
.leaflet-zoom-box {
width: 0;
height: 0;
-moz-box-sizing: border-box;
box-sizing: border-box;
z-index: 800;
}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
-moz-user-select: none;
}
.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg { z-index: 200; }
.leaflet-vml-shape {
width: 1px;
height: 1px;
}
.lvml {
behavior: url(#default#VML);
display: inline-block;
position: absolute;
}
/* control positioning */
.leaflet-control {
position: relative;
z-index: 800;
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
pointer-events: auto;
}
.leaflet-top,
.leaflet-bottom {
position: absolute;
z-index: 1000;
pointer-events: none;
}
.leaflet-top {
top: 0;
}
.leaflet-right {
right: 0;
}
.leaflet-bottom {
bottom: 0;
}
.leaflet-left {
left: 0;
}
.leaflet-control {
float: left;
clear: both;
}
.leaflet-right .leaflet-control {
float: right;
}
.leaflet-top .leaflet-control {
margin-top: 10px;
}
.leaflet-bottom .leaflet-control {
margin-bottom: 10px;
}
.leaflet-left .leaflet-control {
margin-left: 10px;
}
.leaflet-right .leaflet-control {
margin-right: 10px;
}
/* zoom and fade animations */
.leaflet-fade-anim .leaflet-tile {
will-change: opacity;
}
.leaflet-fade-anim .leaflet-popup {
opacity: 0;
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
opacity: 1;
}
.leaflet-zoom-animated {
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
}
.leaflet-zoom-anim .leaflet-zoom-animated {
will-change: transform;
}
.leaflet-zoom-anim .leaflet-zoom-animated {
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
-webkit-transition: none;
-moz-transition: none;
transition: none;
}
.leaflet-zoom-anim .leaflet-zoom-hide {
visibility: hidden;
}
/* cursors */
.leaflet-interactive {
cursor: pointer;
}
.leaflet-grab {
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
cursor: crosshair;
}
.leaflet-popup-pane,
.leaflet-control {
cursor: auto;
}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
cursor: move;
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
}
/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
pointer-events: none;
}
.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive {
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
pointer-events: auto;
}
/* visual tweaks */
.leaflet-container {
background: #ddd;
outline: 0;
}
.leaflet-container a {
color: #0078A8;
}
.leaflet-container a.leaflet-active {
outline: 2px solid orange;
}
.leaflet-zoom-box {
border: 2px dotted #38f;
background: rgba(255,255,255,0.5);
}
/* general typography */
.leaflet-container {
font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}
/* general toolbar styles */
.leaflet-bar {
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
border-radius: 4px;
}
.leaflet-bar a,
.leaflet-bar a:hover {
background-color: #fff;
border-bottom: 1px solid #ccc;
width: 26px;
height: 26px;
line-height: 26px;
display: block;
text-align: center;
text-decoration: none;
color: black;
}
.leaflet-bar a,
.leaflet-control-layers-toggle {
background-position: 50% 50%;
background-repeat: no-repeat;
display: block;
}
.leaflet-bar a:hover {
background-color: #f4f4f4;
}
.leaflet-bar a:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.leaflet-bar a:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom: none;
}
.leaflet-bar a.leaflet-disabled {
cursor: default;
background-color: #f4f4f4;
color: #bbb;
}
.leaflet-touch .leaflet-bar a {
width: 30px;
height: 30px;
line-height: 30px;
}
.leaflet-touch .leaflet-bar a:first-child {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
.leaflet-touch .leaflet-bar a:last-child {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
/* zoom control */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
font: bold 18px 'Lucida Console', Monaco, monospace;
text-indent: 1px;
}
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
font-size: 22px;
}
/* layers control */
.leaflet-control-layers {
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
background: #fff;
border-radius: 5px;
}
.leaflet-control-layers-toggle {
background-image: url(images/layers.png);
width: 36px;
height: 36px;
}
.leaflet-retina .leaflet-control-layers-toggle {
background-image: url(images/layers-2x.png);
background-size: 26px 26px;
}
.leaflet-touch .leaflet-control-layers-toggle {
width: 44px;
height: 44px;
}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
display: none;
}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
display: block;
position: relative;
}
.leaflet-control-layers-expanded {
padding: 6px 10px 6px 6px;
color: #333;
background: #fff;
}
.leaflet-control-layers-scrollbar {
overflow-y: scroll;
overflow-x: hidden;
padding-right: 5px;
}
.leaflet-control-layers-selector {
margin-top: 2px;
position: relative;
top: 1px;
}
.leaflet-control-layers label {
display: block;
}
.leaflet-control-layers-separator {
height: 0;
border-top: 1px solid #ddd;
margin: 5px -10px 5px -6px;
}
/* Default icon URLs */
.leaflet-default-icon-path {
background-image: url(images/marker-icon.png);
}
/* attribution and scale controls */
.leaflet-container .leaflet-control-attribution {
background: #fff;
background: rgba(255, 255, 255, 0.7);
margin: 0;
}
.leaflet-control-attribution,
.leaflet-control-scale-line {
padding: 0 5px;
color: #333;
}
.leaflet-control-attribution a {
text-decoration: none;
}
.leaflet-control-attribution a:hover {
text-decoration: underline;
}
.leaflet-container .leaflet-control-attribution,
.leaflet-container .leaflet-control-scale {
font-size: 11px;
}
.leaflet-left .leaflet-control-scale {
margin-left: 5px;
}
.leaflet-bottom .leaflet-control-scale {
margin-bottom: 5px;
}
.leaflet-control-scale-line {
border: 2px solid #777;
border-top: none;
line-height: 1.1;
padding: 2px 5px 1px;
font-size: 11px;
white-space: nowrap;
overflow: hidden;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: #fff;
background: rgba(255, 255, 255, 0.5);
}
.leaflet-control-scale-line:not(:first-child) {
border-top: 2px solid #777;
border-bottom: none;
margin-top: -2px;
}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
border-bottom: 2px solid #777;
}
.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
box-shadow: none;
}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
border: 2px solid rgba(0,0,0,0.2);
background-clip: padding-box;
}
/* popup */
.leaflet-popup {
position: absolute;
text-align: center;
margin-bottom: 20px;
}
.leaflet-popup-content-wrapper {
padding: 1px;
text-align: left;
border-radius: 12px;
}
.leaflet-popup-content {
margin: 13px 19px;
line-height: 1.4;
}
.leaflet-popup-content p {
margin: 18px 0;
}
.leaflet-popup-tip-container {
width: 40px;
height: 20px;
position: absolute;
left: 50%;
margin-left: -20px;
overflow: hidden;
pointer-events: none;
}
.leaflet-popup-tip {
width: 17px;
height: 17px;
padding: 1px;
margin: -10px auto 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
background: white;
color: #333;
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}
.leaflet-container a.leaflet-popup-close-button {
position: absolute;
top: 0;
right: 0;
padding: 4px 4px 0 0;
border: none;
text-align: center;
width: 18px;
height: 14px;
font: 16px/14px Tahoma, Verdana, sans-serif;
color: #c3c3c3;
text-decoration: none;
font-weight: bold;
background: transparent;
}
.leaflet-container a.leaflet-popup-close-button:hover {
color: #999;
}
.leaflet-popup-scrolled {
overflow: auto;
border-bottom: 1px solid #ddd;
border-top: 1px solid #ddd;
}
.leaflet-oldie .leaflet-popup-content-wrapper {
zoom: 1;
}
.leaflet-oldie .leaflet-popup-tip {
width: 24px;
margin: 0 auto;
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}
.leaflet-oldie .leaflet-popup-tip-container {
margin-top: -1px;
}
.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
border: 1px solid #999;
}
/* div icon */
.leaflet-div-icon {
background: #fff;
border: 1px solid #666;
}
/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
position: absolute;
padding: 6px;
background-color: #fff;
border: 1px solid #fff;
border-radius: 3px;
color: #222;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.leaflet-tooltip.leaflet-clickable {
cursor: pointer;
pointer-events: auto;
}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
position: absolute;
pointer-events: none;
border: 6px solid transparent;
background: transparent;
content: "";
}
/* Directions */
.leaflet-tooltip-bottom {
margin-top: 6px;
}
.leaflet-tooltip-top {
margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
left: 50%;
margin-left: -6px;
}
.leaflet-tooltip-top:before {
bottom: 0;
margin-bottom: -12px;
border-top-color: #fff;
}
.leaflet-tooltip-bottom:before {
top: 0;
margin-top: -12px;
margin-left: -6px;
border-bottom-color: #fff;
}
.leaflet-tooltip-left {
margin-left: -6px;
}
.leaflet-tooltip-right {
margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
top: 50%;
margin-top: -6px;
}
.leaflet-tooltip-left:before {
right: 0;
margin-right: -12px;
border-left-color: #fff;
}
.leaflet-tooltip-right:before {
left: 0;
margin-left: -12px;
border-right-color: #fff;
}

View File

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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"
width="32.400002"
height="52.273998"
viewBox="0 0 8.5725002 13.830829"
version="1.1"
id="svg2346"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="arrow.svg">
<defs
id="defs2340" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8"
inkscape:cx="-160.81504"
inkscape:cy="-46.091527"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="22"
inkscape:window-maximized="1" />
<metadata
id="metadata2343">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-283.16916)">
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.79375;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.2487394,296.7179 0.56255213,290.2714 7.5049223,284.07283"
id="path731-2"
inkscape:connector-curvature="0"
inkscape:export-filename="/home/maud/Documents/LE CAMPUS BIOVALLEE/3_SITE_WEB/TAF/GABARITS/export4/0_accueil.png"
inkscape:export-xdpi="150"
inkscape:export-ydpi="150" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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"
width="30"
height="30"
viewBox="0 0 7.9374998 7.9375002"
version="1.1"
id="svg2346"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="fb.svg">
<defs
id="defs2340">
<linearGradient
id="linearGradient1406"
osb:paint="solid"
gradientTransform="matrix(0,0,0,0,12043.005,11017.581)">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop1404" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8"
inkscape:cx="-60.815038"
inkscape:cy="65.132715"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="22"
inkscape:window-maximized="1" />
<metadata
id="metadata2343">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-289.06249)">
<path
style="fill:url(#linearGradient1406);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.00209779"
d="M 3.968756,289.06248 C 1.7768185,289.06248 0,290.83932 0,293.03123 c 0,2.19186 1.7768185,3.96876 3.968756,3.96876 2.1918065,0 3.968744,-1.77691 3.968744,-3.96876 0,-2.19191 -1.7769375,-3.96875 -3.968744,-3.96875 z m 1.0551162,1.61313 c 0.038262,-4e-4 0.049551,0.0132 0.049432,0.0504 -0.0012,0.23438 -0.0012,0.46886 1.664e-4,0.70323 3.458e-4,0.0417 -0.013189,0.0544 -0.054185,0.0538 -0.1317185,-0.002 -0.2634848,-9.7e-4 -0.3951203,-4.9e-4 -0.1753163,4.9e-4 -0.2802276,0.0908 -0.2912191,0.26428 -0.00832,0.13913 -0.00239,0.27912 -0.00594,0.41863 -9.747e-4,0.0497 0.028279,0.0462 0.061195,0.0462 0.2001508,-2.9e-4 0.4003965,0.002 0.600547,-10e-4 0.0587,-9.7e-4 0.078188,0.0125 0.071415,0.0744 -0.025192,0.2329 -0.046818,0.46621 -0.06678,0.69968 -0.00475,0.0526 -0.028638,0.0627 -0.07593,0.0619 -0.1578962,-0.002 -0.3159588,-0.001 -0.4739974,-4.6e-4 -0.1134789,4.6e-4 -0.1025469,-0.0166 -0.1025469,0.0991 -4.715e-4,0.72698 -0.0012,1.45401 0.0012,2.18097 2.969e-4,0.0768 -0.01937,0.0959 -0.095299,0.0945 -0.2712441,-0.005 -0.5426429,-0.005 -0.8138992,1.1e-4 -0.076405,10e-4 -0.089001,-0.0245 -0.088407,-0.0926 0.00239,-0.3661 0.0012,-0.73222 0.0012,-1.09836 0,-0.37141 -0.0012,-0.74285 0.0012,-1.11421 4.716e-4,-0.0626 -0.017229,-0.0822 -0.079851,-0.0796 -0.1157366,0.005 -0.2317821,-4.8e-4 -0.3476732,0.002 -0.046936,9.7e-4 -0.064285,-0.0119 -0.063691,-0.0614 0.00238,-0.23172 0.00238,-0.46359 2.495e-4,-0.69537 -4.15e-4,-0.0446 0.012952,-0.0593 0.058106,-0.0582 0.1184696,0.002 0.2372364,-0.004 0.3555039,0.002 0.068563,0.004 0.082703,-0.021 0.081277,-0.0846 -0.00356,-0.17636 -0.00475,-0.353 -3.09e-4,-0.52938 0.00475,-0.21542 0.062502,-0.41656 0.1908584,-0.59172 0.1623639,-0.22182 0.3932432,-0.32323 0.6595799,-0.3351 0.2735257,-0.0121 0.5477408,-0.006 0.8215994,-0.008 z"
id="path14"
inkscape:connector-curvature="0"
inkscape:export-filename="/home/maud/Documents/LE CAMPUS BIOVALLEE/3_SITE_WEB/TAF/GABARITS/export4/0_accueil.png"
inkscape:export-xdpi="150"
inkscape:export-ydpi="150" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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"
width="30"
height="30"
viewBox="0 0 7.9374998 7.9375002"
version="1.1"
id="svg2346"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="yt.svg">
<defs
id="defs2340">
<linearGradient
id="linearGradient1406"
osb:paint="solid"
gradientTransform="matrix(0,0,0,0,12043.005,11017.581)">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop1404" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8"
inkscape:cx="-60.815038"
inkscape:cy="65.132715"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="22"
inkscape:window-maximized="1" />
<metadata
id="metadata2343">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-289.06249)">
<g
id="g1858"
transform="matrix(0.54099977,0,0,0.54099977,-158.55981,577.10926)"
inkscape:export-filename="/home/maud/Documents/LE CAMPUS BIOVALLEE/3_SITE_WEB/TAF/GABARITS/export4/0_accueil.png"
inkscape:export-xdpi="150"
inkscape:export-ydpi="150">
<path
id="path1582"
d="m 305.35715,-524.13297 v 4.24362 c 0,1.0195 -0.87909,1.85657 -1.9622,1.85657 h -8.07259 c -1.08311,0 -1.96521,-0.83707 -1.96521,-1.85657 v -4.24362 c 0,-1.0195 0.8827,-1.84937 1.96521,-1.84937 h 8.07259 c 1.08311,0 1.9622,0.82987 1.9622,1.84937 z"
style="fill:none;stroke:#000000;stroke-width:0.54100001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
id="path1580"
d="m 295.8606,-519.4249 v -4.47224 h 1.00209 v -0.66426 l -2.66847,-0.004 v 0.65407 h 0.83349 v 4.48664 h 0.83289 z"
style="stroke-width:0.03011814"
inkscape:connector-curvature="0" />
<path
id="path1578"
d="m 298.8597,-523.22927 h -0.83349 v 2.38403 c 0,0.35163 0.021,0.52026 0,0.58387 -0.0702,0.18303 -0.37265,0.37985 -0.49204,0.021 -0.021,-0.0702 -0.004,-0.25323 -0.004,-0.58387 v -2.40503 h -0.83349 l 0.004,2.36964 c 0,0.35883 -0.007,0.63305 0.004,0.75247 0.0174,0.21782 0.0108,0.47105 0.21122,0.61866 0.37623,0.26703 1.0969,-0.042 1.27631,-0.42903 v 0.49204 h 0.66788 z"
style="stroke-width:0.03011814"
inkscape:connector-curvature="0" />
<path
id="path1576"
d="m 299.35826,-524.56196 v 5.10874 l 0.68264,-0.0134 0.0661,-0.31626 c 0.87249,0.80111 1.4211,0.25265 1.4211,-0.71107 v -1.99368 c 0,-0.75247 -0.56587,-1.20944 -1.33635,-0.59738 l 0.004,-1.47691 z m 1.18597,1.6769 c 0.20043,0 0.36535,0.13781 0.36535,0.30283 v 2.2288 c 0,0.16201 -0.16492,0.30282 -0.36535,0.30282 -0.20044,0 -0.36277,-0.14081 -0.36277,-0.30282 v -2.2288 c 0,-0.16502 0.16236,-0.30283 0.36277,-0.30283 z"
style="stroke-width:0.03011814"
inkscape:connector-curvature="0" />
<path
id="path1574"
d="m 303.19316,-523.45505 c -0.25527,-0.004 -0.51442,0.0653 -0.70435,0.20102 -0.162,0.11283 -0.28119,0.26366 -0.35139,0.47129 -0.0702,0.20402 -0.10594,0.48514 -0.10594,0.84336 v 1.18546 c 0.003,1.96882 2.39025,1.68733 2.10943,-0.007 l -0.6258,0.007 v 0.0842 0.35192 c 0,0.18303 -0.15506,0.33796 -0.34468,0.33796 h -0.11938 c -0.18962,0 -0.34054,-0.15493 -0.34054,-0.33796 v -0.0419 -0.38706 -0.49919 h 1.43092 v -0.53795 c 0,-0.38705 -0.0136,-0.78784 -0.0419,-1.00924 -0.066,-0.44592 -0.48095,-0.65562 -0.90641,-0.66198 z m -0.10077,0.72141 h 0.0491 c 0.21122,0 0.38034,0.17218 0.38034,0.37258 l -0.0139,0.46096 h -0.78807 l 0.004,-0.46096 c 0,-0.2004 0.16495,-0.37258 0.36897,-0.37258 z"
style="stroke-width:0.03011814"
inkscape:connector-curvature="0" />
<path
id="path1572"
d="m 300.93051,-527.19568 c 0.0456,0.10562 0.11282,0.18962 0.2004,0.25323 0.0912,0.063 0.20764,0.0984 0.34443,0.0984 0.11942,0 0.22502,-0.0354 0.31983,-0.10563 0.0912,-0.0666 0.16863,-0.16501 0.23582,-0.29883 l -0.021,0.33064 h 0.93189 v -3.95858 h -0.73148 v 3.08009 c 0,0.16863 -0.1374,0.30242 -0.30965,0.30242 -0.16502,0 -0.30603,-0.1374 -0.30603,-0.30242 v -3.08009 h -0.75967 v 2.66847 c 0,0.33783 0.007,0.56586 0.0138,0.68226 0.0114,0.11222 0.0433,0.22505 0.0816,0.33004 z"
style="stroke-width:0.03011814"
inkscape:connector-curvature="0" />
<path
id="path1570"
d="m 299.17946,-531.0272 c -0.25682,0 -0.46441,0.0637 -0.62942,0.19327 -0.16502,0.12963 -0.28056,0.30194 -0.34055,0.51315 -0.063,0.21423 -0.0951,0.5095 -0.0951,0.88935 h -5.2e-4 v 1.04955 c 0,0.34805 0.0173,0.6081 0.0527,0.78393 0.0318,0.1686 0.0911,0.31983 0.17208,0.43925 0.081,0.123 0.19346,0.2114 0.34468,0.2744 0.14761,0.0594 0.32363,0.0915 0.53485,0.0915 0.19381,0 0.3624,-0.0322 0.50643,-0.10955 0.14761,-0.0702 0.26744,-0.17951 0.35863,-0.32711 0.0948,-0.14761 0.15471,-0.30579 0.17932,-0.47801 0.0348,-0.17222 0.0455,-0.44331 0.0455,-0.80874 v -1.00614 c 0,-0.28443 -0.0137,-0.50244 -0.0455,-0.64285 -0.0282,-0.14101 -0.0845,-0.27805 -0.1757,-0.41186 -0.081,-0.13382 -0.20069,-0.2395 -0.35192,-0.32712 -0.1548,-0.0774 -0.34129,-0.12299 -0.55552,-0.12299 z m 0.032,0.65681 c 0.20041,0 0.36898,0.18268 0.36898,0.40411 v 2.10633 c 0,0.22502 -0.16496,0.40463 -0.36898,0.40463 -0.2004,0 -0.36897,-0.17961 -0.36897,-0.40463 v -2.10633 c 0,-0.2214 0.16495,-0.40411 0.36897,-0.40411 z"
style="stroke-width:0.03011814"
inkscape:connector-curvature="0" />
<path
id="YouTube_2_"
d="m 296.26503,-526.79484 h 0.87908 l 0.004,-3.03449 1.0339,-2.59826 h -0.95649 l -0.55206,1.92677 -0.55924,-1.93337 h -0.94929 l 1.10051,2.60546 c -2e-5,0 -2e-5,3.03389 -2e-5,3.03389 z"
style="stroke-width:0.03011814"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -1 +0,0 @@
!function t(e,n,r){function o(s,u){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!u&&l)return l(s,!0);if(i)return i(s,!0);var a=new Error("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[s]={exports:{}};e[s][0].call(p.exports,function(t){var n=e[s][1][t];return o(n?n:t)},p,p.exports,t,e,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(t,e,n){var r,o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)};!function(t){function e(t){return[].slice.call(t)}function n(t,e,n){if(window.CustomEvent)var r=new CustomEvent(e,{detail:n});else{var r=document.createEvent("CustomEvent");r.initCustomEvent(e,!0,!0,n)}return t.dispatchEvent(r)}var r={rulerClassName:"bricklayer-column-sizer",columnClassName:"bricklayer-column"},i=function(){function t(t){this.element=document.createElement("div"),this.element.className=t}return t.prototype.destroy=function(){this.element.parentNode.removeChild(this.element)},t}(),s=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.getWidth=function(){this.element.setAttribute("style","\n display: block;\n visibility: hidden !important;\n top: -1000px !important;\n ");var t=this.element.offsetWidth;return this.element.removeAttribute("style"),t},e}(i),u=function(t){function e(){t.apply(this,arguments)}return o(e,t),e}(i),l=function(){function t(t,e){void 0===e&&(e=r),this.element=t,this.options=e,this.build(),this.buildResponsive()}return t.prototype.append=function(t){var n=this;if(Array.isArray(t))return void t.forEach(function(t){return n.append(t)});var r=this.findMinHeightColumn();this.elements=e(this.elements).concat([t]),this.applyPosition("append",r,t)},t.prototype.prepend=function(t){var n=this;if(Array.isArray(t))return void t.forEach(function(t){return n.prepend(t)});var r=this.findMinHeightColumn();this.elements=[t].concat(e(this.elements)),this.applyPosition("prepend",r,t)},t.prototype.on=function(t,e){return this.element.addEventListener("bricklayer."+t,e),this},t.prototype.redraw=function(){var t=this.columnCount;this.checkColumnCount(!1),this.reorderElements(t),n(this.element,"bricklayer.redraw",{columnCount:t})},t.prototype.destroy=function(){var t=this;this.ruler.destroy(),e(this.elements).forEach(function(e){return t.element.appendChild(e)}),e(this.getColumns()).forEach(function(t){return t.parentNode.removeChild(t)}),n(this.element,"bricklayer.destroy",{})},t.prototype.build=function(){this.ruler=new s(this.options.rulerClassName),this.elements=this.getElementsInOrder(),this.element.insertBefore(this.ruler.element,this.element.firstChild)},t.prototype.buildResponsive=function(){var t=this;window.addEventListener("resize",function(e){return t.checkColumnCount()}),this.checkColumnCount(),this.on("breakpoint",function(e){return t.reorderElements(e.detail.columnCount)}),this.columnCount>=1&&this.reorderElements(this.columnCount)},t.prototype.getColumns=function(){return this.element.querySelectorAll(":scope > ."+this.options.columnClassName)},t.prototype.findMinHeightColumn=function(){var t=e(this.getColumns()),n=t.map(function(t){return t.offsetHeight}),r=Math.min.apply(null,n);return t[n.indexOf(r)]},t.prototype.getElementsInOrder=function(){return this.element.querySelectorAll(":scope > *:not(."+this.options.columnClassName+"):not(."+this.options.rulerClassName+")")},t.prototype.checkColumnCount=function(t){void 0===t&&(t=!0);var e=this.getColumnCount();this.columnCount!==e&&(t&&n(this.element,"bricklayer.breakpoint",{columnCount:e}),this.columnCount=e)},t.prototype.reorderElements=function(t){var n=this;void 0===t&&(t=1),(t==1/0||1>t)&&(t=1);for(var r=e(this.elements).map(function(t){var e=t.parentNode?t.parentNode.removeChild(t):t;return e}),o=this.getColumns(),i=0;i<o.length;i++)o[i].parentNode.removeChild(o[i]);for(var i=0;t>i;i++){var s=new u(this.options.columnClassName).element;this.element.appendChild(s)}r.forEach(function(t){var e=n.findMinHeightColumn();e.appendChild(t)})},t.prototype.getColumnCount=function(){var t=this.element.offsetWidth,e=this.ruler.getWidth();return Math.round(t/e)},t.prototype.applyPosition=function(t,e,r){var o=this,i=function(i){var s=i+t.charAt(0).toUpperCase()+t.substr(1);n(o.element,"bricklayer."+s,{item:r,column:e})};switch(i("before"),t){case"append":e.appendChild(r);break;case"prepend":e.insertBefore(r,e.firstChild)}i("after")},t}();t.Container=l}(r||(r={})),function(t,n){"function"==typeof define&&define.amd?define(function(){return n()}):"undefined"!=typeof window&&t===window?t.Bricklayer=n():"object"==typeof e&&e.exports&&(e.exports=n())}("undefined"!=typeof window?window:this,function(){return r.Container})},{}]},{},[1]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,87 +0,0 @@
/*
treeMenu - jQuery plugin
version: 0.6
Copyright 2014 Stepan Krapivin
*/
(function($){
$.fn.treemenu = function(options) {
options = options || {};
options.delay = options.delay || 0;
options.openActive = options.openActive || false;
options.closeOther = options.closeOther || false;
options.activeSelector = options.activeSelector || ".active";
this.addClass("treemenu");
if (!options.nonroot) {
this.addClass("treemenu-root");
}
options.nonroot = true;
this.find("> li").each(function() {
e = $(this);
var subtree = e.find('> ul');
var button = e.find('.toggler').eq(0);
if(button.length == 0) {
// create toggler
var button = $('<span>');
button.addClass('toggler');
e.prepend(button);
}
if(subtree.length > 0) {
subtree.hide();
e.addClass('tree-closed');
e.find(button).click(function() {
var li = $(this).parent('li');
if (options.closeOther && li.hasClass('tree-closed')) {
var siblings = li.parent('ul').find("li:not(.tree-empty)");
siblings.removeClass("tree-opened");
siblings.addClass("tree-closed");
siblings.removeClass(options.activeSelector);
siblings.find('> ul').slideUp(options.delay);
}
li.find('> ul').slideToggle(options.delay);
li.toggleClass('tree-opened');
li.toggleClass('tree-closed');
li.toggleClass(options.activeSelector);
});
$(this).find('> ul').treemenu(options);
} else {
$(this).addClass('tree-empty');
}
});
if (options.openActive) {
var cls = this.attr("class");
this.find(options.activeSelector).each(function(){
var el = $(this).parent();
while (el.attr("class") !== cls) {
el.find('> ul').show();
if(el.prop("tagName") === 'UL') {
el.show();
} else if (el.prop("tagName") === 'LI') {
el.removeClass('tree-closed');
el.addClass("tree-opened");
el.show();
}
el = el.parent();
}
});
}
return this;
}
})(jQuery);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,97 @@
(function($){
'use strict';
$.fn.multipleFilterMasonry = function(options){
var cache=[];
var filters = [];
if(options.selectorType === 'list') {
$(options.filtersGroupSelector).children().each(function() {
filters.push($(this).data('filter'));
});
}
//the main job of the function is to cache the item,because we are going to filter the items later
var init = function($container){
$container.find(options.itemSelector).each(function(){
cache.push($(this));
});
$container.masonry(options);
};
//filter items in cache
var filterItems = function(selector){
var result=[];
$(cache).each(function(item){
$(selector).each(function(index,sel) {
if(cache[item].is(sel)){
if($.inArray(cache[item], result) === -1) result.push(cache[item]);
}
});
});
return result;
};
//reload masonry
var reload = function($container,items){
$container.empty();
$(items).each(function(){
$($container).append($(this));
});
$container.masonry('reloadItems');
$container.masonry();
};
// Hash filter
var hashFilter = function($container) {
var hash = window.location.hash.replace("#", "");
if($.inArray(hash, filters) !== -1) {
reload($container, $('.' + hash));
}
};
var proc = function($container){
$(options.filtersGroupSelector).find('input[type=checkbox]').each(function(){
$(this).change(function(){
var selector = [];
$(options.filtersGroupSelector).find('input[type=checkbox]').each( function() {
if ( $(this).is(':checked') ) {
selector.push( '.' + $(this).val() );
}
});
var items = cache;
if (selector.length > 0) {
items = filterItems(selector);
}
reload($container,items);
});
});
};
var procUL = function($container){
$(options.filtersGroupSelector).children().each(function(){
$(this).click(function(){
$(options.filtersGroupSelector).children().removeClass('selected');
window.location.hash = $(this).data('filter');
var selector = [];
selector.push( '.' + $(this).data('filter') );
$(this).addClass('selected');
var items = cache;
if (selector.length > 0) {
items = filterItems(selector);
}
reload($container,items);
});
});
hashFilter($container);
$(options.filtersGroupSelector).children().removeClass('selected');
$('.filters li[data-filter='+window.location.hash.replace("#", "")+']').addClass('selected');
};
return this.each(function() {
var $$ = $(this);
init($$);
options.selectorType === 'list' ? procUL($$) : proc($$);
});
};
}(window.jQuery));

View File

@ -1,9 +0,0 @@
/* scopeQuerySelectorShim.js
*
* Copyright (C) 2015 Larry Davis
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
!function(){function a(a,c){var e=a[c];a[c]=function(a){var c,f=!1,g=!1;return a.match(d)?(a=a.replace(d,""),this.parentNode||(b.appendChild(this),g=!0),parentNode=this.parentNode,this.id||(this.id="rootedQuerySelector_id_"+(new Date).getTime(),f=!0),c=e.call(parentNode,"#"+this.id+" "+a),f&&(this.id=""),g&&b.removeChild(this),c):e.call(this,a)}}if(!HTMLElement.prototype.querySelectorAll)throw new Error("rootedQuerySelectorAll: This polyfill can only be used with browsers that support querySelectorAll");var b=document.createElement("div");try{b.querySelectorAll(":scope *")}catch(c){var d=/^\s*:scope/gi;a(HTMLElement.prototype,"querySelector"),a(HTMLElement.prototype,"querySelectorAll")}}();

View File

@ -1,8 +0,0 @@
/**
* Single Page Nav Plugin
* Copyright (c) 2014 Chris Wojcik <hello@chriswojcik.net>
* Dual licensed under MIT and GPL.
* @author Chris Wojcik
* @version 1.2.0
*/
if(typeof Object.create!=="function"){Object.create=function(e){function t(){}t.prototype=e;return new t}}(function(e,t,n,r){"use strict";var i={init:function(n,r){this.options=e.extend({},e.fn.singlePageNav.defaults,n);this.container=r;this.$container=e(r);this.$links=this.$container.find("a");if(this.options.filter!==""){this.$links=this.$links.filter(this.options.filter)}this.$window=e(t);this.$htmlbody=e("html, body");this.$links.on("click.singlePageNav",e.proxy(this.handleClick,this));this.didScroll=false;this.checkPosition();this.setTimer()},handleClick:function(t){var n=this,r=t.currentTarget,i=e(r.hash);t.preventDefault();if(i.length){n.clearTimer();if(typeof n.options.beforeStart==="function"){n.options.beforeStart()}n.setActiveLink(r.hash);n.scrollTo(i,function(){if(n.options.updateHash&&history.pushState){history.pushState(null,null,r.hash)}n.setTimer();if(typeof n.options.onComplete==="function"){n.options.onComplete()}})}},scrollTo:function(e,t){var n=this;var r=n.getCoords(e).top;var i=false;n.$htmlbody.stop().animate({scrollTop:r},{duration:n.options.speed,easing:n.options.easing,complete:function(){if(typeof t==="function"&&!i){t()}i=true}})},setTimer:function(){var e=this;e.$window.on("scroll.singlePageNav",function(){e.didScroll=true});e.timer=setInterval(function(){if(e.didScroll){e.didScroll=false;e.checkPosition()}},250)},clearTimer:function(){clearInterval(this.timer);this.$window.off("scroll.singlePageNav");this.didScroll=false},checkPosition:function(){var e=this.$window.scrollTop();var t=this.getCurrentSection(e);this.setActiveLink(t)},getCoords:function(e){return{top:Math.round(e.offset().top)-this.options.offset}},setActiveLink:function(e){var t=this.$container.find("a[href$='"+e+"']");if(!t.hasClass(this.options.currentClass)){this.$links.removeClass(this.options.currentClass);t.addClass(this.options.currentClass)}},getCurrentSection:function(t){var n,r,i,s;for(n=0;n<this.$links.length;n++){r=this.$links[n].hash;if(e(r).length){i=this.getCoords(e(r));if(t>=i.top-this.options.threshold){s=r}}}return s||this.$links[0].hash}};e.fn.singlePageNav=function(e){return this.each(function(){var t=Object.create(i);t.init(e,this)})};e.fn.singlePageNav.defaults={offset:0,threshold:120,speed:400,currentClass:"current",easing:"swing",updateHash:false,filter:"",onComplete:false,beforeStart:false}})(jQuery,window,document);

View File

@ -1,59 +1,86 @@
var isTouch = window.DocumentTouch && document instanceof DocumentTouch;
function map() {
function scrollHeader() {
// Has scrolled class on header
var zvalue = $(document).scrollTop();
if ( zvalue > 75 )
$("#header").addClass("scrolled");
else
$("#header").removeClass("scrolled");
var mymap = L.map('map').setView([51.505, -0.09], 13);
L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', {
maxZoom: 18,
attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
id: 'mapbox.streets'
}).addTo(mymap);
L.marker([51.5, -0.09]).addTo(mymap)
.bindPopup("<b>Hello world!</b><br />I am a popup.").openPopup();
L.circle([51.508, -0.11], 500, {
color: 'red',
fillColor: '#f03',
fillOpacity: 0.5
}).addTo(mymap).bindPopup("I am a circle.");
L.polygon([
[51.509, -0.08],
[51.503, -0.06],
[51.51, -0.047]
]).addTo(mymap).bindPopup("I am a polygon.");
var popup = L.popup();
function onMapClick(e) {
popup
.setLatLng(e.latlng)
.setContent("You clicked the map at " + e.latlng.toString())
.openOn(mymap);
}
function parallaxBackground() {
$('.parallax').css('background-positionY', ($(window).scrollTop() * 0.3) + 'px');
mymap.on('click', onMapClick);
}
function filteritem() {
var $card = $('#item > .card');
var $cat = $('.cat a');
var $img = $('#item .img');
var $grid = $card.masonry({
itemSelector: '.card',
columnWidth: '.card',
percentPosition: true,
gutter: 10,
transitionDuration: '0.2s'
});
// $card.masonry({
// itemSelector: '.grid-item',
// columnWidth: '.grid-sizer',
// percentPosition: true
// })
$grid.imagesLoaded().progress(function() {
$grid.masonry();
});
// $card.multipleFilterMasonry({
// itemSelector: '.card',
// filtersGroupSelector: '.tags'
// });
}
function slide() {
$(".gal").slidesjs({
width: 940,
height: 528,
pagination: {
active: false
}
});
}
jQuery(document).ready(function($){
scrollHeader();
// Scroll Events
if (!isTouch){
$(document).scroll(function() {
scrollHeader();
parallaxBackground();
});
};
// Touch scroll
$(document).on({
'touchmove': function(e) {
scrollHeader(); // Replace this with your code.
}
});
//Smooth scroll to start
$('#to-start').click(function(){
var start_y = $('#start').position().top;
var header_offset = 45;
window.scroll({ top: start_y - header_offset, left: 0, behavior: 'smooth' });
return false;
});
//Smooth scroll to top
$('#to-top').click(function(){
window.scroll({ top: 0, left: 0, behavior: 'smooth' });
return false;
});
// Responsive Menu
$('#toggle').click(function () {
$(this).toggleClass('active');
$('#overlay').toggleClass('open');
$('body').toggleClass('mobile-nav-open');
});
// Tree Menu
$(".tree").treemenu({delay:300});
slide();
map();
// filteritem();
});

View File

@ -1,6 +0,0 @@
/*
* smoothscroll polyfill - v0.3.4
* https://iamdustan.github.io/smoothscroll
* 2016 (c) Dustan Kasten, Jeremias Menichelli - MIT License
*/
!function(o,t,l){"use strict";function e(){function e(o,t){this.scrollLeft=o,this.scrollTop=t}function r(o){return.5*(1-Math.cos(Math.PI*o))}function n(o){if("object"!=typeof o||null===o||o.behavior===l||"auto"===o.behavior||"instant"===o.behavior)return!0;if("object"==typeof o&&"smooth"===o.behavior)return!1;throw new TypeError("behavior not valid")}function c(l){var e,r,n;do l=l.parentNode,e=l===t.body,r=l.clientHeight<l.scrollHeight||l.clientWidth<l.scrollWidth,n="visible"===o.getComputedStyle(l,null).overflow;while(!e&&(!r||n));return e=r=n=null,l}function i(t){t.frame=o.requestAnimationFrame(i.bind(o,t));var l,e,n,c=u(),s=(c-t.startTime)/f;return s=s>1?1:s,l=r(s),e=t.startX+(t.x-t.startX)*l,n=t.startY+(t.y-t.startY)*l,t.method.call(t.scrollable,e,n),e===t.x&&n===t.y?void o.cancelAnimationFrame(t.frame):void 0}function s(l,r,n){var c,s,a,f,d,h=u();l===t.body?(c=o,s=o.scrollX||o.pageXOffset,a=o.scrollY||o.pageYOffset,f=p.scroll):(c=l,s=l.scrollLeft,a=l.scrollTop,f=e),d&&o.cancelAnimationFrame(d),i({scrollable:c,method:f,startTime:h,startX:s,startY:a,x:r,y:n,frame:d})}if(!("scrollBehavior"in t.documentElement.style)){var a=o.HTMLElement||o.Element,f=468,p={scroll:o.scroll||o.scrollTo,scrollBy:o.scrollBy,scrollIntoView:a.prototype.scrollIntoView},u=o.performance&&o.performance.now?o.performance.now.bind(o.performance):Date.now;o.scroll=o.scrollTo=function(){return n(arguments[0])?void p.scroll.call(o,arguments[0].left||arguments[0],arguments[0].top||arguments[1]):void s.call(o,t.body,~~arguments[0].left,~~arguments[0].top)},o.scrollBy=function(){return n(arguments[0])?void p.scrollBy.call(o,arguments[0].left||arguments[0],arguments[0].top||arguments[1]):void s.call(o,t.body,~~arguments[0].left+(o.scrollX||o.pageXOffset),~~arguments[0].top+(o.scrollY||o.pageYOffset))},a.prototype.scrollIntoView=function(){if(n(arguments[0]))return void p.scrollIntoView.call(this,arguments[0]||!0);var l=c(this),e=l.getBoundingClientRect(),r=this.getBoundingClientRect();l!==t.body?(s.call(this,l,l.scrollLeft+r.left-e.left,l.scrollTop+r.top-e.top),o.scrollBy({left:e.left,top:e.top,behavior:"smooth"})):o.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}}}"object"==typeof exports?module.exports={polyfill:e}:e()}(window,document);

View File

@ -1,7 +1,58 @@
// home
.gal{
width: 100%;
height:400px;
overflow-y: hidden;
margin-bottom: 20px;
position: relative;
.slidesjs-navigation{
z-index: 999;
position: absolute;
top: 50%;
transform: translateY(-50%);
&.slidesjs-previous{
left: 10px;
&:before{
display: block;
content: " ";
width: 30px;
height: 50px;
background-image: url('/user/themes/lecampus/images/arrow.svg');
background-repeat: no-repeat;
background-size: 30px 50px;
}
}
&.slidesjs-next{
right: 10px;
&:before{
display: block;
content: " ";
width: 30px;
height: 50px;
background-image: url('/user/themes/lecampus/images/arrow.svg');
background-repeat: no-repeat;
background-size: 30px 50px;
transform: rotate(180deg);
}
}
}
}
.cat{
height: 50px;
a{
padding: 10px;
border: 1px solid black;
}
}
#item{
@include inlineflex();
width: 100%;
.card{
width: calc( (100% / 4) - 45px);
min-width: 250px;
margin: 0 15px 30px 15px;
position: relative;
border: 1px solid black;
@ -13,9 +64,11 @@
.publics{
padding: 10px;
background: grey;
a{
color: white;
}
}
}
.card-body{
padding: 15px;
.card-title{
@ -27,11 +80,47 @@
.content{
width: 40%;
margin: 0px 20px 20px auto;
p{
margin: 10px 0;
}
}
#default{
.content{
& > p{
&:first-child{
a{
display: block;
padding: 10px;
text-align: center;
border: 1px solid black;
margin-left: 60%;
}
}
&:last-child{
margin-top: 80px;
padding: 10px;
border: 1px solid black;
img{
width: 33%;
margin-right: 20px;
float: left;
}
a{
display: block;
text-align: right;
margin-top:15px;
padding: 5px;
border: 1px solid black;
width: auto;
margin-left: 70%;
}
}
}
}
}
// items
.bandeau{
width: 100%;
@ -43,8 +132,17 @@
}
}
.sub-content{
border-top: 1px solid black;
margin-bottom: 20px;
margin-top: 20px;
h3{
margin-top: 20px;
}
}
.sidebar{
margin-left: 50px;
margin: 0 auto 0 20px;
.side-agenda{
border-top: 1px solid black;
padding: 10px 0;
@ -61,8 +159,20 @@
border: 1px solid black;
}
.side-newsletter{
margin-top: 60px;
margin-top: 100px;
padding: 20px;
background: lightgrey;
}
}
#footer{
margin-top: 20px;
}
// .card{
// height: 100px;
// .card-image{
// height: 100px;
// }
// }

View File

@ -1,4 +1,14 @@
#footer{
width: 100%;
background: grey;
#map{
height: 300px;
width: 300px;
}
}
a#map{
display: block;
height: 300px;
width: 300px;
}

View File

@ -1,15 +1,53 @@
#header{
z-index: 999;
position: relative;
nav{
@include inlineflex();
justify-content: space-between;
height: 100px;
width: auto;
a{
padding: 10px;
}
& > ul{
@include inlineflex();
li{
&> li{
margin-left: 10px;
padding: 0 10px 10px 10px;
& > ul{
display: none;
}
&:nth-last-child(-n+2){
& > a{
display: block;
height: 100px;
background: rgb(84, 153, 183);
color: white;
}
}
&:hover{
& > ul{
display: block;
a{
display: block;
height: 50px;
background: white;
padding: 10px;
}
}
}
}
}
.reso{
@include inlineflex();
flex-wrap: nowrap;
width: 30px;
img{
margin-left: 10px;
}
}
.desktop-menu{
@include inlineflex;
}
}
}

View File

@ -42,3 +42,14 @@ p{
}
}
}
.cat{
width: 100%;
a{
font-family: $Bold;
}
}
.dt{
font-family: $Bold;
}

View File

@ -2,14 +2,8 @@
{% set collection = page.collection() %}
{% set image = page.media.images|first %}
{% block stylesheets %}
{% do assets.addCss('theme://css/bricklayer.css') %}
{{ parent() }}
{% endblock %}
{% block body %}
<section id="body-wrapper" class="section blog-listing">
<section id="item" class="section blog-listing">
<div class="bandeau">
{% if image %}
{{image.html}}
@ -19,6 +13,12 @@
<div class="content">
<h2>{{page.title}}</h2>
{{content}}
{% for item in page.collection %}
<div class="sub-content">
<h3>{{item.title}}</h3>
{{item.content}}
</div>
{% endfor %}
</div>
{% if show_sidebar %}
@ -27,10 +27,7 @@
{% endblock %}
{% endif %}
<!-- {% for item in page.collection %}
<h3>{{item.title}}</h3>
{{item.content}}
{% endfor %} -->
</section>
{% endblock %}

View File

@ -6,17 +6,6 @@
{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %}
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
{% block stylesheets %}
{% do assets.addCss('theme://css/bricklayer.css') %}
{{ parent() }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% do assets.add('theme://js/bricklayer.min.js') %}
{% do assets.add('theme://js/scopedQuerySelectorShim.min.js') %}
{% endblock %}
{% block hero %}
{% include 'partials/hero.html.twig' with {id: 'blog-hero', content: page.content, hero_image: blog_image} %}
{% endblock %}
@ -32,6 +21,9 @@
{% embed 'partials/layout.html.twig' with {blog: page} %}
{% block item %}
<div class="cat">
{% include 'partials/taxonomylist.html.twig' with {base_url: my_url, taxonomy: 'tag'} %}
</div>
{% for child in collection %}
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
{% endfor %}
@ -40,8 +32,5 @@
{% endembed %}
</section>
</section>
<script>
//Bricklayer
var bricklayer = new Bricklayer(document.querySelector('.bricklayer'))
</script>
{% endblock %}

View File

@ -1,13 +1,19 @@
{% extends 'partials/base.html.twig' %}
{% set image = page.media.images|first %}
{% set image = page.media.images %}
{% block content %}
<div class="gal">
{% if image %}
{{ image.html }}
{% for images in image %}
{{ images }}
{% endfor %}
{% endif %}
</div>
<div class="content">
{{ page.content|raw }}
</div>
{% endblock %}
{% block sidebar %}

View File

@ -11,7 +11,7 @@
{# {{ macros.nav_loop(p) }} #}
{% for i in p.children.visible %}
<li>
<a href="{{ p.url }}"{{ active_page }}>
<a href="{{ i.url }}"{{ active_page }}>
{{ i.menu }}
</a>
</li>

View File

@ -18,20 +18,25 @@
{% block stylesheets %}
{% do assets.addCss('theme://css-compiled/spectre'~compress) %}
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
{% do assets.addCss('theme://css/leaflet.css') %}
{% endblock %}
{% block javascripts %}
{% do assets.addJs('jquery', 101) %}
{% do assets.addJs('theme://js/masonry.pkgd.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/imagesloaded.pkgd.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/multipleFilterMasonry.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/jquery.slides.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/leaflet.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
{% endblock %}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% endblock %}
<script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/a98b763288f940083bf28857c/d26d4af6b93e3686e6a245680.js");</script>
{% endblock head %}
</head>
<body id="top" class="{% block body_classes %}{{ body_classes }}{% endblock %}">
@ -39,7 +44,7 @@
<section id="header" class="section">
<nav class="navbar">
<section class="logo">
<h1>{{site.title}}</h1>
<a href="/"><h1>{{site.title}}</h1></a>
</section>
<section class="desktop-menu">
@ -47,12 +52,17 @@
{% block header_navigation %}
{% include 'partials/navigation.html.twig' %}
{% endblock %}
</nav>
{% if config.plugins.login.enabled and grav.user.username %}
<span class="login-status-wrapper"><i class="fa fa-user"></i> {% include 'partials/login-status.html.twig' %}</span>
{% endif %}
<div class="reso">
<img src="/user/themes/lecampus/images/fb.svg" alt="">
<img src="/user/themes/lecampus/images/yt.svg" alt="">
</div>
</section>
</nav>
</section>
@ -60,13 +70,10 @@
{% block hero %}{% endblock %}
<section id="start">
<section id="{{page.template}}" class="start">
{% block body %}
<section id="body-wrapper" class="section">
<section class="container {{ grid_size }}">
{% block messages %}
{% include 'partials/messages.html.twig' ignore missing %}
{% endblock %}
<section id="item">
{% block content %}{% endblock %}
{% block sidebar %}{% endblock %}
</section>

View File

@ -1,8 +1,17 @@
<div class="publics">
<span class="pc">
{% set page_public = page.header.public %}
<!-- {% set page_public = page.header.public %}
{% for public in page_public %}
{{ public }}
{% endfor %} -->
{% if page.taxonomy.tag %}
<span class="tags">
{% for tag in page.taxonomy.tag %}
<a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-tag" href="{{ blog.url|rtrim('/') }}/tag{{ config.system.param_sep }}{{ tag }}#body-wrapper">{{ tag }}</a>
{% endfor %}
</span>
{% endif %}
</span>
</div>

View File

@ -6,16 +6,4 @@
<h1>{{p.title}}</h1>
{{p.content}}
{% endfor %}
<div class="map"></div>
<div id="mc_embed_signup">
<form action="https://kevintessier.us19.list-manage.com/subscribe/post?u=a98b763288f940083bf28857c&amp;id=96d6b6e702" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL">Inscrivez-vous à la newsletter :</label></br>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a98b763288f940083bf28857c_96d6b6e702" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
</section>

View File

@ -4,10 +4,8 @@
<div id="item">
{% block item %}{% endblock %}
{% if show_sidebar %}
<div id="sidebar" class="column {{ sidebar_col }}">
{% block sidebar %}
{% include 'partials/sidebar.html.twig' %}
{% endblock %}
</div>
{% endif %}
</div>

View File

@ -4,8 +4,10 @@
<h2>À venir</h2>
{% for p in page.collection(options)%}
<div class="side-agenda">
{{p.title}}
<a href="{{p.url}}">
{% include 'partials/blog/date.html.twig' with {page: p } %}
{{p.title}}
</a>
</div>
{% endfor %}
<div class="side-all-agenda">

View File

@ -2,9 +2,11 @@
{% if taxlist %}
<span class="tags">
<a class="" href="#">Tous</a>
{% for tax,value in taxlist[taxonomy] %}
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
<a class="label label-rounded {{ label_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
{% endfor %}
<a class="" href="#">Achives</a>
</span>
{% endif %}