font, margins, colors, other css

master
grgr 3 years ago
parent 50ced7e584
commit ae693cc662

@ -44,7 +44,7 @@ function populateContributions(contributions) {
function createSection(contribution) { function createSection(contribution) {
let section = reference.cloneNode(true); let section = reference.cloneNode(true);
section.id = contribution.moment; section.id = contribution.moment.replace("'","");
section.querySelector(".moment").innerHTML = contribution.moment; section.querySelector(".moment").innerHTML = contribution.moment;
section.querySelector(".title").innerHTML = contribution.title; section.querySelector(".title").innerHTML = contribution.title;
section.querySelector(".author").innerHTML = contribution.author; section.querySelector(".author").innerHTML = contribution.author;
@ -99,7 +99,6 @@ function printViewToggle() {
// var btnPrint = document.getElementById("btn-print"); // var btnPrint = document.getElementById("btn-print");
// console.log(btnPrint); // console.log(btnPrint);
//------------------------- //-------------------------
createBackToWebBtn();
} else { } else {
//document.getElementsByTagName("head")[0].removeChild(printview); //document.getElementsByTagName("head")[0].removeChild(printview);
pagedjs.remove(); pagedjs.remove();

Binary file not shown.

@ -133,7 +133,7 @@
</div> </div>
<div class="libretto" contenteditable="true"> <div class="libretto" contenteditable="true">
<header class="cover"> <header class="cover">
<div class="release">SI18 Weekly Release #3</div> <div class="release">10.05.2022 <br> SI18 Weekly Release #3 </div>
<h1 class="title">Emergent Opera</h1> <h1 class="title">Emergent Opera</h1>
<div class="description"> <div class="description">
What does it mean? This week we invite you to make content within a common What does it mean? This week we invite you to make content within a common

@ -34,8 +34,11 @@
.index-title { .index-title {
font-weight: bold; font-weight: bold;
margin-top: 16px; margin-top: 16px;
text-transform: uppercase;
text-align: right;
} }
.contributions, .contributions,
.contribution { .contribution {
border-bottom: none; border-bottom: none;
@ -93,6 +96,10 @@
border-bottom: none; border-bottom: none;
} }
.contribution .content h2,
.contribution .description{
font-size: 18px;
}
.contribution .title { .contribution .title {
font-size: 28px; font-size: 28px;
@ -104,10 +111,14 @@
overflow: hidden; overflow: hidden;
} }
img {
margin: 16px auto;
}
/*Sorry Gi, the multicolumn layout is too painful */ /*Sorry Gi, the multicolumn layout is too painful */
.contribution .content{ /* .contribution .content{
column-count: 2; column-count: 2;
column-fill: auto; column-fill: auto;
} }
@ -117,10 +128,13 @@
.contribution img{ .contribution img{
column-span: all; column-span: all;
width: 200%; float: left;
} }
*/
.content p, .content h2 { .content p, .content h2 {
margin: default; margin: default;
} }
@ -135,3 +149,10 @@
} }
} }
@media print{
body, html{
background-color: white;
}
}

@ -1,7 +1,25 @@
@font-face {
font-family: Fengardo;
src: url("fonts/fengardoneue_regular-webfont.woff");
}
@font-face {
font-family: Fengardo;
src: url("fonts/fengardoneue_black-webfont.woff");
font-weight: bold;
}
@font-face {
font-family: Blocus;
src: url("fonts/blocuswebfont.woff");
}
:root { :root {
--text:rgb(44, 44, 44); --text:#FF6347;
--wireframe:#202020; /* --wireframe:#202020; */
--background:#FF6347; --wireframe:#FF6347;
--background:#fcf9d9;
} }
*{ *{
@ -14,8 +32,8 @@ body, html{
margin: 0; margin: 0;
padding: 0; padding: 0;
background-color: var(--background); background-color: var(--background);
color: var(--text);
font-family: Arial, Helvetica, sans-serif; font-family: Fengardo;
font-size: 21px; font-size: 21px;
line-height: 1.6; line-height: 1.6;
@ -82,12 +100,13 @@ body, html{
} }
.cover .title { .cover .title {
font-size: 56px; font-size: 64px;
margin: 64px 0; margin: 64px 0;
} }
.cover .description { .cover .description {
max-width: 60ch; max-width: 50ch;
} }
dl { dl {
@ -96,7 +115,6 @@ dl {
dt { dt {
margin-top: 24px; margin-top: 24px;
font-style: italic;
} }
dd { dd {
@ -121,6 +139,7 @@ dd {
.contribution .title { .contribution .title {
margin: 0; margin: 0;
margin-top: 8px;
font-size: 36px; font-size: 36px;
} }
@ -143,6 +162,10 @@ dd {
font-size: 1rem; font-size: 1rem;
} }
.contribution .content ol {
padding-inline-start: 16px;
}
.contribution img { .contribution img {
width: 100%; width: 100%;
height: auto; height: auto;
@ -167,9 +190,10 @@ dd {
#btn-print { #btn-print {
display: inline-block; display: inline-block;
color: var(--text);
margin-top: 32px; margin-top: 32px;
background: none; background: none;
border: 1px solid currentColor; border: 1px solid var(--text);
padding: 4px 8px; padding: 4px 8px;
font-size: 1rem; font-size: 1rem;
} }

Loading…
Cancel
Save