Commit 27a6e323 authored by Julie Blanc's avatar Julie Blanc

stylisation pages postmatter + ajout table des matières

parent c214b157
......@@ -56,7 +56,7 @@
/* FRONTMATTER -------------------------------------- */
.frontmatter{
.frontmatter, .postmatter {
page: frontmatter;
break-before: right;
}
......@@ -375,3 +375,34 @@ section h1{
.avoid-break{
break-inside: avoid;
}
/* table des matières */
#table-des-matieres a[href]::after {
content: target-counter(attr(href), page);
text-align: right;
float: right;
width: 5mm;
}
#table-des-matieres a {
text-decoration: none;
}
#table-des-matieres ul {
list-style-type: none;
margin-left: 0;
padding-left: 0;
}
#table-des-matiere ul li:before {
display:none!important;
}
#table-des-matiere ul > li{
width: 100%;
display: flex;
justify-content: space-between;
}
\ No newline at end of file
......@@ -74,6 +74,19 @@ ul > li:before {
}
.chapter h1::after {
content: counter(page);
z-index: 1000;
width: 100%;
height: 40mm;
background-color: white;
display: block;
position: absolute;
bottom: -40mm;
right: 0;
}
.glose-photo::before,
......@@ -563,7 +576,7 @@ a[href^="https://twitter.com/hashtag/"] {
/* frontmatter */
.frontmatter h1, .postmatter h2 {
.frontmatter h1, .postmatter h1 {
font-family: var(--ibm-mono);
font-weight: 300;
font-style: italic;
......@@ -574,15 +587,11 @@ a[href^="https://twitter.com/hashtag/"] {
line-height: 1.5rem;
padding-top: 126px;
padding-bottom: 5mm;
text-align: left;
}
.postmatter h2{
padding-top: 0mm;
padding-bottom: 0mm!important;
}
.frontmatter h2, .frontmatter h3 {
.postmatter h2, .frontmatter h2, .frontmatter h3 {
font-family: var(--ibm-mono);
font-weight: 300;
font-style: italic;
......@@ -607,7 +616,9 @@ a[href^="https://twitter.com/hashtag/"] {
}
.frontmatter p,
.frontmatter li {
.frontmatter li,
.postmatter p,
.postmatter li {
font-size: 1.2rem;
line-height: 1.6rem;
position: relative;
......
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