layout terminal
This commit is contained in:
parent
aed4b9eb92
commit
68a0dcb88b
80 changed files with 2234 additions and 349 deletions
89
maquette-tests/assets/layout-4/modules/_chapter-header.scss
Normal file
89
maquette-tests/assets/layout-4/modules/_chapter-header.scss
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
.chapter-header{
|
||||
// break-after: page;
|
||||
margin-top: calc(var(--baseline)*2);
|
||||
margin-bottom: calc(var(--baseline)*3);
|
||||
--color: black;
|
||||
}
|
||||
|
||||
.chapter-header h2 {
|
||||
string-set: title content(text);
|
||||
}
|
||||
|
||||
.chapter-header .author {
|
||||
string-set: author content(text);
|
||||
}
|
||||
|
||||
.chapter-header .type {
|
||||
string-set: type content(text);
|
||||
}
|
||||
|
||||
|
||||
.chapter-header h2{
|
||||
font-size: 46px;
|
||||
line-height: 1.1;
|
||||
font-family: var(--font);
|
||||
font-family: var(--mono);
|
||||
color: var(--blue);
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
|
||||
color: var(--color);
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.chapter-header .type{
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
display: none;
|
||||
// text-align: center;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue