layout terminal
This commit is contained in:
parent
aed4b9eb92
commit
68a0dcb88b
80 changed files with 2234 additions and 349 deletions
|
|
@ -1,8 +1,11 @@
|
|||
.chapter-header{
|
||||
// break-after: page;
|
||||
position: relative;
|
||||
margin-top: calc(var(--baseline)*2);
|
||||
margin-bottom: calc(var(--baseline)*3);
|
||||
--color: black;
|
||||
|
||||
p{ text-indent: 0px!important; }
|
||||
}
|
||||
|
||||
.chapter-header h2 {
|
||||
|
|
@ -18,11 +21,11 @@
|
|||
}
|
||||
|
||||
|
||||
.chapter-header h2{
|
||||
font-size: 46px;
|
||||
line-height: 1.1;
|
||||
font-family: var(--font);
|
||||
font-family: var(--mono);
|
||||
.chapter-header .h2-pattern{
|
||||
font-size: 58px;
|
||||
line-height: 0.8;
|
||||
// font-family: var(--font);
|
||||
// font-family: var(--mono);
|
||||
color: var(--blue);
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
text-align: left;
|
||||
|
|
@ -30,7 +33,36 @@
|
|||
|
||||
color: var(--color);
|
||||
text-align: center;
|
||||
font-family: var(--font-decor);
|
||||
|
||||
transform: scale(2);
|
||||
z-index: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.chapter-header h2{
|
||||
font-family: 'Routed Gothic Wide';
|
||||
margin-top: calc(var(--baseline)*4);
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
font-size: 36px;
|
||||
font-weight: normal;
|
||||
|
||||
|
||||
span{
|
||||
background-color: white;
|
||||
border: 1px solid red;
|
||||
box-shadow: 0px 1px 23px 8px rgba(255,0,0,1);
|
||||
border-radius:10px;
|
||||
padding-inline: 0.5ch;
|
||||
box-decoration-break: clone;
|
||||
-webkit-box-decoration-break: clone; /* pour Safari */
|
||||
}
|
||||
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -43,47 +75,14 @@
|
|||
.chapter-header .type{
|
||||
|
||||
}
|
||||
.chapter-header .bio{
|
||||
margin-top: calc(var(--baseline)*3);
|
||||
font-family: var(--sans);
|
||||
hyphens: none;
|
||||
line-height: 1.3;
|
||||
font-size: 12px;
|
||||
|
||||
// left: 0px!important;
|
||||
.name{
|
||||
text-indent: 0;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
color: var(--color);
|
||||
}
|
||||
|
||||
.description{
|
||||
text-indent: -14mm;
|
||||
padding-left: 14mm;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
color: var(--color);
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.chapter-header .author{
|
||||
left: 0px!important;
|
||||
font-size: 26px;
|
||||
line-height: 0.9;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
font-family: var(--mono);
|
||||
// font-weight: bold;
|
||||
text-align: center;
|
||||
text-indent: 0;
|
||||
color: var(--color);
|
||||
margin-top: calc(var(--baseline)*3);
|
||||
text-decoration: underline 1px;
|
||||
text-underline-offset: 2px;
|
||||
font-family: 'Routed Gothic Wide';
|
||||
margin-top: calc(var(--baseline)*1);
|
||||
text-align: center;
|
||||
font-size: 28px;
|
||||
font-weight: normal;
|
||||
// margin-top: calc(var(--baseline)*2)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,82 +0,0 @@
|
|||
.pagedjs_footnote{
|
||||
font-family: var(--sans);
|
||||
// font-size: 10px;
|
||||
line-height: 1.3;
|
||||
font-size: 12px;
|
||||
font-weight: 200;
|
||||
text-indent: -14mm;
|
||||
padding-left: 14mm;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
.pagedjs_floatnote_marker,
|
||||
.pagedjs_floatnote_call{
|
||||
|
||||
}
|
||||
|
||||
|
||||
.pagedjs_floatnote_marker{
|
||||
|
||||
}
|
||||
|
||||
.note-container{
|
||||
grid-column: center;
|
||||
grid-row: footer;
|
||||
width: 100%;
|
||||
height: calc(100% - 12mm);
|
||||
// outline: 1px solid red;
|
||||
columns: 2;
|
||||
column-fill: auto;
|
||||
|
||||
padding-top: 20px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
.pagedjs_footnote_content{
|
||||
// padding-top: var(--baseline);
|
||||
// columns: 2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// .pagedjs_footnote_inner_content{
|
||||
// columns: 2;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
.pagedjs_footnotes::marker{
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.pagedjs_footnote[data-footnote-call]{
|
||||
|
||||
// font-family: sans-serif;
|
||||
|
||||
font-size: 12px;
|
||||
font-family: var(--sans);
|
||||
text-indent: 0px;
|
||||
// position: relative;
|
||||
// top: -2px;
|
||||
margin-left: 2px;
|
||||
&::after{
|
||||
font-variant-position: normal;
|
||||
content: attr(data-counter-footnote-increment) "}"
|
||||
|
||||
}
|
||||
&::before{
|
||||
content: "{"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
[data-footnote-marker]::marker {
|
||||
content: "{" counter(footnote-marker) "} ";
|
||||
}
|
||||
|
|
@ -1,61 +1,57 @@
|
|||
.inline-note{
|
||||
|
||||
color: var(--green);
|
||||
|
||||
float: left;
|
||||
clear: both;
|
||||
width: 46mm;
|
||||
text-align: left;
|
||||
hyphens: none;
|
||||
|
||||
margin-right: 1ch;
|
||||
margin-right: -20mm;
|
||||
position: relative;
|
||||
left: -25mm;
|
||||
text-align: right;
|
||||
|
||||
font-family: var(--note);
|
||||
font-size: 9.5px;
|
||||
line-height: 1.2;
|
||||
|
||||
.body_note{
|
||||
padding-top: 5px;
|
||||
}
|
||||
.following-note{
|
||||
font-family: var(--font-sans);
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
font-weight: 500;
|
||||
|
||||
display: block;
|
||||
// position: relative;
|
||||
margin-top: calc(var(--baseline)*0.5);
|
||||
margin-bottom: calc(var(--baseline)*0.5);
|
||||
|
||||
|
||||
}
|
||||
.pagedjs_floatnote_marker,
|
||||
.pagedjs_floatnote_call{
|
||||
color: var(--green);
|
||||
|
||||
// font-weight: bold;
|
||||
.container-following-note{
|
||||
margin-left: 30%;
|
||||
// margin-top: calc(var(--baseline)*0.5);
|
||||
// margin-bottom: calc(var(--baseline)*0.5);
|
||||
}
|
||||
|
||||
|
||||
.wrapper__note-call{
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
|
||||
.following-note_call,
|
||||
.following-note_marker{
|
||||
|
||||
&::before{
|
||||
content: "{"
|
||||
}
|
||||
&::after{
|
||||
content: "}"
|
||||
}
|
||||
|
||||
font-family: var(--font-sans);
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.following-note_call{
|
||||
padding-left: 0.25ch;
|
||||
line-height: 0;
|
||||
font-size: 9px;
|
||||
font-family: var(--mono);
|
||||
position: relative;
|
||||
top: -1px;
|
||||
margin-left: 2px;
|
||||
top: -4px;
|
||||
|
||||
|
||||
border: 0.5px solid currentColor;
|
||||
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 4px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.pagedjs_floatnote_marker{
|
||||
// float: left;
|
||||
// position: absolute;
|
||||
// left: 0px;
|
||||
// display: block;
|
||||
text-align: left;
|
||||
.following-note_marker{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@
|
|||
hyphenate-limit-chars: 8 3;
|
||||
position: relative;
|
||||
// color: var(--blue);
|
||||
orphans: 2;
|
||||
hyphens: 2;
|
||||
|
||||
letter-spacing: 0.01rem;
|
||||
// letter-spacing: 0.01rem;
|
||||
|
||||
|
||||
// &::before{
|
||||
|
|
@ -22,29 +24,32 @@
|
|||
// }
|
||||
}
|
||||
|
||||
.container-following-note + p,
|
||||
p + p{
|
||||
text-indent: var(--indent);
|
||||
text-indent: 30%;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
h3, h4{
|
||||
break-after: avoid;
|
||||
}
|
||||
h3{
|
||||
margin-top: calc(var(--baseline)*1.5);
|
||||
margin-bottom: calc(var(--baseline)*0.5);
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
// text-decoration: underline;
|
||||
font-family: var(--mono);
|
||||
text-transform: uppercase;
|
||||
font-family: var(--font-sans);
|
||||
// text-transform: lowercase;
|
||||
color: var(--blue);
|
||||
max-width: 18ch;
|
||||
// margin-inline: auto;
|
||||
letter-spacing: 0.05rem;
|
||||
color: black;
|
||||
text-decoration: underline 1px;
|
||||
text-underline-offset: 2px;
|
||||
// text-decoration: underline 1px;
|
||||
// text-underline-offset: 2px;
|
||||
|
||||
|
||||
// &::before{
|
||||
|
|
@ -66,7 +71,9 @@ blockquote p{
|
|||
}
|
||||
|
||||
blockquote{
|
||||
font-family: var(--mono);
|
||||
font-family: 'Routed Gothic Wide';
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
// position: relative;
|
||||
// left: 14mm;
|
||||
// p{
|
||||
|
|
@ -77,7 +84,7 @@ blockquote{
|
|||
|
||||
// }
|
||||
|
||||
padding-left: var(--indent);
|
||||
padding-left: 15%;
|
||||
|
||||
margin-top: calc(var(--baseline)*1);
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue