PdfCSS:Test

From creative crowd wiki
Revision as of 09:02, 16 January 2023 by Simoon (talk | contribs)
Jump to navigation Jump to search
:root {
	font-size: 12px;
	/*--color-paper: white;*/
}

@font-face {
	font-family: 'Director-Regular';
    src: url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/Director-Regular.woff2?#iefix') format('woff2'),
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/Director-Regular.woff?#iefix') format('woff'), 
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/Director-Regular.ttf?#iefix') format('truetype');
}

@font-face {
	font-family: 'FT88-Regular';
    src: url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Regular.woff2?#iefix') format('woff2'),
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Regular.woff?#iefix') format('woff'), 
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Regular.ttf?#iefix') format('truetype');
}

@font-face {
	font-family: 'FT88-Serif';
    src: url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Serif.woff2?#iefix') format('woff2'),
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Serif.woff?#iefix') format('woff'), 
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Serif.ttf?#iefix') format('truetype');
}

@font-face {
	font-family: 'FT88-School';
    src: url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-School.woff2?#iefix') format('woff2'),
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-School.woff?#iefix') format('woff'), 
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-School.ttf?#iefix') format('truetype');
}

@font-face {
	font-family: 'FT88-Italic';
    src: url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Italic.woff2?#iefix') format('woff2'),
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Italic.woff?#iefix') format('woff'), 
    	url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/FT88-Italic.ttf?#iefix') format('truetype');
}

@page{
	size: 290mm 420mm;
	margin: 15mm;
	
	@top-left {
		content: "something";
	}
}
@page:first{
	background: coral;
}
body{
	/*background-color: pink;*/
	color: red;
	font-family: 'Director-Regular', monospace;
}

p {
	font-size: 2rem;
}
div.cover{
	break-after: always;
}
div.cover h1{
	font-size: 3rem;
}
div.article{
	break-before: always;
}
span.tocnumber,
div.pad{
	display: none;
}