PdfCSS:APRJA Minor Tech: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 74: | Line 74: | ||
div#cover-title{ | div#cover-title{ | ||
font-size: var(--first-heading-size); | font-size: var(--first-heading-size); | ||
font-weight: 400; | |||
line-height: var(--first-heading-line-height); | line-height: var(--first-heading-line-height); | ||
font-family: var(--heading-font); | font-family: var(--heading-font); | ||
Line 115: | Line 116: | ||
div.article h1 { | div.article h1 { | ||
color: var(--accent-color); | color: var(--accent-color); | ||
font-weight: 400; | font-weight: 400; | ||
font-size: var(--first-heading-size); | font-size: var(--first-heading-size); | ||
line-height: var(--first-heading-line-height); | line-height: var(--first-heading-line-height); | ||
Line 144: | Line 145: | ||
font-size: var(--second-heading-size); | font-size: var(--second-heading-size); | ||
line-height: var(--second-heading-line-height); | line-height: var(--second-heading-line-height); | ||
font-weight: 400; | |||
} | } | ||
Revision as of 10:30, 19 June 2023
@charset "utf-8";
@import url("https://cc.vvvvvvaria.org/fonts/velvetyne/happy-times-at-the-IKOB/stylesheet.css");
@import url("https://cc.vvvvvvaria.org/fonts/simoon/AC/stylesheet.css");
:root{
--first-heading-size: 36px;
--first-heading-line-height: calc(var(--line-height)*2);
--second-heading-size: 21px;
--second-heading-line-height: calc(var(--line-height)*1.5);
--heading-font: "happy-times-regular", serif;
--author-font: "AllCon-Regular", sans-serif;
--body-font: var(--author-font);
--line-height: 18px;
--body-size: 15px;
--small-text: 12px;
--accent-color: #2A9277;
}
/*------------------page rules */
@page{
size: 210mm 297mm portrait;
/*margin: 100px 100px 90px 90px;*/
margin: 80px;
}
@page:left{
font-family: var(--heading-font);
@top-left{
content: "APRJA Volume 12, Issue 1, 2023";
color: var(--accent-color);
}
@bottom-left{
content: counter(page);
}
}
@page:right{
font-family: var(--heading-font);
@top-right {
/*content: element(titleRunning);*/
content: string(title);
color: var(--accent-color);
text-overflow: ellipsis;
overflow:hidden;
white-space:nowrap;
}
@bottom-right{
content: counter(page);
}
}
@page:first{
background-color: var(--accent-color);
@bottom-right,
@top-left,
@top-right {
content: none;
}
}
/*-----------------cover */
div#cover {
break-after: always;
}
div#cover-title{
font-size: var(--first-heading-size);
font-weight: 400;
line-height: var(--first-heading-line-height);
font-family: var(--heading-font);
padding-bottom: var(--first-heading-size);
margin-top: 0;
}
div.authors{
font-size: var(--second-heading-size);
font-family: var(--body-font);
padding-top: var(--second-heading-size);
line-height: var(--second-heading-line-height);
}
/*-----------------articles */
body{
hyphens: auto;
line-height: var(--line-height);
}
div.article{
break-after: always;
}
div.article p,
div.article h2{
columns: 2;
column-fill: auto;
overflow-wrap: break-word;
hyphens: auto;
font-size: var(--body-size);
font-family: var(--body-font);
line-height: var(--line-height);
}
div.article img{
width: 100%;
}
/*----article author*/
div.article h1 {
color: var(--accent-color);
font-weight: 400;
font-size: var(--first-heading-size);
line-height: var(--first-heading-line-height);
font-family: var(--heading-font);
padding-bottom: var(--first-heading-size);
margin-top: 0;
columns: 1;
width: 100%;
}
/*----article title*/
div.article > h1+h1{
color: var(--accent-color);
font-size: var(--first-heading-size);
line-height: var(--first-heading-line-height);
font-family: var(--heading-font);
padding-bottom: var(--first-heading-size);
margin-top: 0;
text-transform: uppercase;
/*position: running(titleRunning);*/
string-set: title content(text);
break-after: always;
}
div.article > h2 {
font-family: var(--heading-font);
font-style: italic;
font-size: var(--second-heading-size);
line-height: var(--second-heading-line-height);
font-weight: 400;
}
/*----prevent sup, sub from interfering with baseline*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/*----------------manual page and column breaks*/
div.page-break {
break-after: always;
}
/*---------------colophon, contributors, editorial*/
div#colophon {
width: 100%;
break-before: always;
break-after: always;
}
div#contributors {
}
div#editorial h1{
font-size:var(--first-heading-size);
line-height:var(--first-heading-line-height);
}
/*----------------table of contents */
li.toclevel-2::marker, li.toclevel-2, span.tocnumber {
display:none;
}
h2#mw-toc-heading {
color: var(--accent-color);
font-size: var(--first-heading-size);
line-height: var(--first-heading-line-height);
font-family: var(--heading-font);
padding-bottom: var(--first-heading-size);
margin-top: 0;
}
/*-----------------images */
div.two-column-span-img > figure{
float-reference: page;
float: top;
width: 100%;
}
div#aprja-logo img{
border: 1px solid red;
max-width: 200px;
}
div.thumbinner {
width: 100%;
}
/*-----------------image captions */
div.thumbcaption {
font-size: var(--small-text);
overflow-wrap: break-word;
word-wrap: break-word;
hyphens: auto;
}