Commit 8bb87429 authored by Dorian's avatar Dorian
Browse files

corrections

parent e51c43f1
......@@ -7,8 +7,8 @@
"portfolio": "layout/portfolio/index.html",
"portrait": "layout/portrait/index.html",
"recit": "layout/recit/index.html",
"rub": "layout/rub/index.html",
"rub-jouer": "layout/rub-jouer/index.html",
"rub-web": "layout/rub-web/index.html",
"rubric": "layout/rubric/index.html",
"rubric-jouer": "layout/rubric-jouer/index.html",
"rubric-web": "layout/rubric-web/index.html",
"sommaire": "layout/sommaire/index.html"
}
\ No newline at end of file
......@@ -9,13 +9,4 @@ document.addEventListener("OnStoryReady", function(){
// breack title after second word
// add_br_at(2);
function add_subhead(i){
let headline = document.querySelector(".headline");
hdl_wordlist = headline.innerHTML.split(" ");
hdl_wordlist[i] = "<br/>"+hdl_wordlist[i];
headline.innerHTML = hdl_wordlist.join(" ");
}
// breack title after second word
// add_br_at(2);
});
......@@ -20,9 +20,6 @@
#flow-main { .flow-into(flow-main); }
.flow-main { .flow-from(flow-main); }
#flow-main aside:nth-of-type(12) { .flow-into(flow-intermede); }
.flow-intermede { .flow-from(flow-intermede); }
//FIGURES
.fig-loop (@i) when (@i > 0) {
#flow-main figure:nth-of-type(@{i}) { .flow-into(~"flow-fig@{i}"); }
......
......@@ -29,14 +29,14 @@
<!-- use height or margin (multiple of 12) to make a bloc the desired heigh-->
<!-- negative margin disaligned the text, don't use that -->
<!-- use padding (multiple of 12) to push the text and make place for images -->
<div class="bloc l0 y4 b0 web-rounded fond1 flow-main"></div>
<div class="bloc r0 y1 b12 web-rounded fond1 flow-main" style="height: 240pt;"></div>
<div class="bloc r0 y6 b0 web-squared fond3 flow-main" style="margin-top: 12pt; padding-bottom: 48pt;"></div>
<!-- illus -->
<div class="bloc x1 y3 w2 h1 flow-fig2"></div>
<div class="bloc x5 y11 w1 h1 flow-fig5"></div>
<div class="bloc x1 y3 w2 h1 flow-fig1"></div>
<div class="bloc x5 y11 w1 h1 flow-fig2"></div>
</div>
</div>
</div>
......@@ -53,14 +53,12 @@
<div class="bloc r0 y1 web-rounded b2 fond4 flow-main" style="padding-top: 60pt;"></div>
<div class="bloc l0 y8 web-squared b0 fond1 flow-main" style="height: 216pt;"></div>
<!-- illus -->
<div class="bloc x5 y0 w1 h1 flow-fig3"></div>
</div>
</div>
</div>
<div id="stories">
<art id="flow-main" class="rubric web" folio="1" src="https://medor.coop/api/v2/pages/783/?draft=true&image_"></art>
<art id="flow-main" class="rubric web" folio="1" src="https://medor.coop/api/v2/pages/783/?draft=true"></art>
</div>
<!-- JAVASCRIPT -->
......
......@@ -18,6 +18,7 @@
#flow-main { .flow-into(flow-main); }
.flow-main { .flow-from(flow-main);}
// FIGURES
.fig-loop (@i) when (@i > 0) {
#flow-main figure:nth-of-type(@{i}) { .flow-into(~"flow-fig@{i}"); }
.flow-fig@{i} { .flow-from(~"flow-fig@{i}"); }
......@@ -69,20 +70,15 @@ figure img {
figure figcaption {
display: none;
}
figure:nth-of-type(2){
figure:nth-of-type(1){
.trans(-6deg,0,center,center);
width: 85pt;
top: -18pt;
left: 48pt;
}
figure:nth-of-type(5){
figure:nth-of-type(2){
.trans(8deg,0,center,center);
width: 120pt;
top: 0;
left: 24pt;
}
figure:nth-of-type(3){
.trans(-5deg,0,center,center);
width: 138pt;
top: 20pt;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment