layout 2
This commit is contained in:
parent
8161aae996
commit
7239fa838b
4 changed files with 93 additions and 39 deletions
|
|
@ -207,6 +207,7 @@ blockquote {
|
|||
margin-top: calc(var(--baseline) * 0.5);
|
||||
margin-bottom: calc(var(--baseline) * 0.5);
|
||||
}
|
||||
|
||||
blockquote + ol + p {
|
||||
text-indent: 0px;
|
||||
}
|
||||
|
|
@ -232,30 +233,55 @@ ol[type="1"] {
|
|||
}
|
||||
ol[type="1"]::before {
|
||||
content: attr(start);
|
||||
font-family: var(--font-title);
|
||||
font-weight: 500;
|
||||
font-size: 0.6rem;
|
||||
color: #999;
|
||||
display: block;
|
||||
padding: 0px 2px;
|
||||
min-width: 20px;
|
||||
justify-content: center;
|
||||
height: var(--baseline);
|
||||
padding-right: 1ch;
|
||||
border-right: 1px solid #efefef;
|
||||
}
|
||||
|
||||
.pagedjs_page_content::before {
|
||||
--color: #efefef;
|
||||
--size: 20px;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: var(--size);
|
||||
position: absolute;
|
||||
left: calc(var(--indent) * -1 - var(--size));
|
||||
background: linear-gradient(transparent 0%, transparent calc(var(--baseline) - 1px), var(--color) calc(var(--baseline) - 1px), var(--color) var(--baseline)), transparent;
|
||||
background-size: 100% var(--baseline);
|
||||
background-repeat: repeat-y;
|
||||
/*
|
||||
ol[type="1"]{
|
||||
list-style-type: none;
|
||||
position: relative;
|
||||
break-after: avoid;
|
||||
|
||||
position: absolute;
|
||||
left: calc(var(--indent)*-1.5 - 0.5ch);
|
||||
&::before{
|
||||
content: attr(start);
|
||||
font-family: var(--font-title);
|
||||
font-weight: 500;
|
||||
font-size: 0.6rem;
|
||||
color: #999;
|
||||
display: block;
|
||||
|
||||
padding: 0px 2px;
|
||||
// border: 1px solid #efefef;
|
||||
min-width: 20px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
.pagedjs_page_content::before{
|
||||
--color: #efefef;
|
||||
--size: 20px;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: var(--size);
|
||||
position: absolute;
|
||||
left: calc(var(--indent)*-1 - var(--size));
|
||||
background: linear-gradient(transparent 0%, transparent calc(var(--baseline) - 1px), var(--color) calc(var(--baseline) - 1px), var(--color) var(--baseline)), transparent;
|
||||
background-size: 100% var(--baseline);
|
||||
background-repeat: repeat-y;
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
#section__content {
|
||||
counter-reset: h1;
|
||||
}
|
||||
|
|
@ -426,6 +452,13 @@ ol[type="1"]::before {
|
|||
font-size: 9px;
|
||||
}
|
||||
|
||||
.footnote-ref {
|
||||
font-family: var(--font-title);
|
||||
line-height: 0;
|
||||
font-size: 9px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#section__list-of-abbr {
|
||||
display: none;
|
||||
color: red;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue