UnfoldingCSS:StyleBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
Line 14: | Line 14: | ||
border: 2px solid orange; | border: 2px solid orange; | ||
margin-left: -10px; | margin-left: -10px; | ||
} | |||
@page :right { | |||
margin-left: 40mm; | |||
margin-right: 20mm; | |||
@right-middle { | |||
content: counter(page); | |||
font-family: mono; | |||
} | |||
@left-bottom { | |||
content: "TITLE"; | |||
font-family: var(--typo_two); | |||
margin-right: 0.6cm; | |||
writing-mode: vertical-rl; | |||
text-orientation: mixed; | |||
} | |||
@right-top { | |||
content: "SUBTITLE"; | |||
font-family: mono; | |||
margin-right: 0.8cm; | |||
writing-mode: vertical-rl; | |||
text-orientation: mixed; | |||
} | |||
} | |||
@page :left { | |||
margin-left: 20mm; | |||
margin-right: 40mm; | |||
@left-middle { | |||
content: counter(page); | |||
font-family: ; | |||
} | |||
@right-middle { | |||
content: ""; | |||
font-family: mono; | |||
} | |||
@left-top { | |||
content: "TITLE"; | |||
font-family: mono; | |||
margin-right: 0.8cm; | |||
writing-mode: vertical-rl; | |||
text-orientation: mixed; | |||
} | |||
@right-top { | |||
content: "SUBTITLE"; | |||
font-family: mono; | |||
margin-right: 2.8cm; | |||
writing-mode: vertical-rl; | |||
text-orientation: mixed; | |||
} | |||
} | } |
Revision as of 14:47, 4 June 2024
@page:first{ background-image: url(https://titipi.org/wiki/images/8/83/Dream.png); background-size: 95%; background-repeat: no-repeat; background-position: center center; @bottom-center{ font-family: asulbold; content: "ENTER COLLECTIVE HERE"; font-size:12pt; } } p:nth-of-type(3n) { border: 2px solid orange; margin-left: -10px; } @page :right { margin-left: 40mm; margin-right: 20mm; @right-middle { content: counter(page); font-family: mono; } @left-bottom { content: "TITLE"; font-family: var(--typo_two); margin-right: 0.6cm; writing-mode: vertical-rl; text-orientation: mixed; } @right-top { content: "SUBTITLE"; font-family: mono; margin-right: 0.8cm; writing-mode: vertical-rl; text-orientation: mixed; } } @page :left { margin-left: 20mm; margin-right: 40mm; @left-middle { content: counter(page); font-family: ; } @right-middle { content: ""; font-family: mono; } @left-top { content: "TITLE"; font-family: mono; margin-right: 0.8cm; writing-mode: vertical-rl; text-orientation: mixed; } @right-top { content: "SUBTITLE"; font-family: mono; margin-right: 2.8cm; writing-mode: vertical-rl; text-orientation: mixed; } }