UnfoldingCSS:Spellbreak training: Difference between revisions

From titipi
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 6: Line 6:
   font-style: normal;
   font-style: normal;
}
}


@font-face {
@font-face {
Line 26: Line 25:
   font-style: normal;
   font-style: normal;
}
}


@font-face {
@font-face {
Line 64: Line 62:
@bottom-center{
@bottom-center{
margin-top: -4mm;
margin-top: -4mm;
font-family: 'asulregular';
font-family: 'authentic';
font-size: 9pt;
font-size: 9pt;
content: counter(page);
content: counter(page);
Line 72: Line 70:
           border-top: solid #222 thin;
           border-top: solid #222 thin;
           padding-top: 8pt;
           padding-top: 8pt;
           font-family: 'asulregular';
           font-family: 'authentic';
font-size: 8pt;
font-size: 8pt;
       }
       }
Line 79: Line 77:
@page:first{
@page:first{


   background-image: url(https://titipi.org/wiki/images/6/66/Vague_intellectual_pleasure.png);
   background-image: url(https://titipi.org/wiki/images/6/6a/Cover-01.gif);
   background-size: 98%;
   background-size: 98%;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
Line 86: Line 84:
@top-center{
@top-center{
                 font-family: authentic;
                 font-family: Anthony;
content: "Spellbreak Training";
content: "";
                 font-size:12pt;
                 font-size:14pt;
                font-color:aqua;


}
}
Line 108: Line 107:


@page:nth(3) {
@page:nth(3) {
background-color:white;
background-size: 98%;
        background-repeat: no-repeat;
        background-position: center;
 
@top-center{
@top-center{
                 font-family: authentic;
                 font-family: Anthony;
content: "Spellbreak Training";
                 font-size:12pt;
                 font-size:12pt;
                content: "Spellbreak Training: A peer-to-peer cloud divestment network";


}
}
Line 118: Line 120:
         @bottom-center{
         @bottom-center{
                 font-family: authentic;
                 font-family: authentic;
content: "The Institute for Technology In the Public Interest";
                 font-size:12pt;
                 font-size:12pt;
 
        content: "The Institute for Technology In the Public Interest";
         }
         }


}
}
@page:blank{
@page:blank{
background-color:white;
background-color:white;
Line 151: Line 151:
         position:relative;
         position:relative;
         hyphens:auto;
         hyphens:auto;
color: #CC3399;
color: aqua;
}
 
span.coversubtitle{
string-set:sectiontitle content(text);
font-size: 50px;
  font-family: 'Anthony';
  line-height: 0.55em;
}
}


span.frenchtitle{
span.frenchtitle{
string-set: sectiontitle content(text);  
string-set: sectiontitle content(text);  
         font-size: 140px;
         font-size: 150px;
         line-height: 0.55;
         line-height: 0.55;
margin: 0;
margin: 0;
Line 163: Line 170:
         position:relative;
         position:relative;
         hyphens:auto;
         hyphens:auto;
         color: black;
         color: aqua;
}
}


body{
body{
Line 180: Line 186:
     page-break-inside: avoid;
     page-break-inside: avoid;
}
}


/* GENERAL ELEMENTS */
/* GENERAL ELEMENTS */
Line 224: Line 229:
.thumb{
.thumb{
     /* image caption */
     /* image caption */
     font-size: 10pt;
     font-size: 8pt;
     line-height: 1.25;
     line-height: 1.25;
     margin: 24pt 16pt 16pt 16pt;
     margin: 24pt 16pt 16pt 16pt;
Line 256: Line 261:
a:active,
a:active,
a:hover{
a:hover{
     color: #CC3399;
     color: #ab00fa;
     text-decoration: none;
     text-decoration: none;
     border-bottom: 1px solid #CC3399;
     border-bottom: 1px solid #ab00fa;
}
}


Line 294: Line 299:


.tocnumber { display: none; }
.tocnumber { display: none; }
figcaption {font-size: 0.7em}

Latest revision as of 12:15, 14 June 2025


@font-face {
  font-family: 'anthony';
  src: url('https://titipi.org/wiki/images/c/ce/Anthony.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'authenticond';
  src: url('https://titipi.org/wiki/images/2/27/AUTHENTICSans-Condensed-60.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'authenticond';
  src: url('https://titipi.org/wiki/images/5/57/AUTHENTICSans-Condensed-90.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'authenticond';
  src: url('https://titipi.org/wiki/images/2/25/AUTHENTICSans-Condensed-130.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'authentic';
  src: url('https://titipi.org/wiki/images/8/87/AUTHENTICSans-60.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'authentic';
  src: url('https://titipi.org/wiki/images/9/94/AUTHENTICSans-90.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'authentic';
  src: url('https://titipi.org/wiki/images/6/66/AUTHENTICSans-130.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'authentic';
  src: url('https://titipi.org/wiki/images/b/b1/AUTHENTICSans-150.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

:root{
	--font-size: 11pt;
}


@page{
	size: 148mm 210mm;
	margin: 17mm 15mm 19mm 15mm;

	@bottom-center{
		margin-top: -4mm;
		font-family: 'authentic';
		font-size: 9pt;
		content: counter(page);
	}
       @footnote {
           float: bottom;
           border-top: solid #222 thin;
           padding-top: 8pt;
           font-family: 'authentic';
font-size: 8pt;
       }

}
@page:first{

   background-image: url(https://titipi.org/wiki/images/6/6a/Cover-01.gif);
   background-size: 98%;
   background-repeat: no-repeat;
   background-position: center center;

	
	@top-center{
                font-family: Anthony;
		content: "";
                font-size:14pt;
                font-color:aqua;

	}

        @bottom-center{
                font-family: authentic;
		content: "The Institute for Technology In the Public Interest";
                font-size:12pt;

        }
}

@page:nth(2){        
        background-color: white;
         @bottom-center{
                content:"";
        }
}

@page:nth(3) {
	background-size: 98%;
        background-repeat: no-repeat;
        background-position: center;

@top-center{
                font-family: Anthony;
                font-size:12pt;
                content: "Spellbreak Training: A peer-to-peer cloud divestment network";

	}

        @bottom-center{
                font-family: authentic;
                font-size:12pt;
		        content: "The Institute for Technology In the Public Interest";
        }

}
@page:blank{
	background-color:white;
         @bottom-center{
                content:"";
color: white;
        }
}

div.section, div.section div.contrib:nth-of-type(1){
      break-before: right;
}
div.contrib:not(:first-of-type){
      break-before: always;    
}
div.contrib{
       page: contrib;
}

span.bookcover {
	string-set: sectiontitle content(text); 
        font-size: 140px;
        line-height: 0.55;
	margin: 0;
        font-family: 'Anthony';
        position:relative;
        hyphens:auto;
color: aqua;
}

span.coversubtitle{
	string-set:sectiontitle content(text); 
font-size: 50px;
  font-family: 'Anthony';
  line-height: 0.55em;
}

span.frenchtitle{
	string-set: sectiontitle content(text); 
        font-size: 150px;
        line-height: 0.55;
	margin: 0;
        font-family: 'Anthony';
        display:inline;
        position:relative;
        hyphens:auto;
        color: aqua;
}

body{
        color: darkslateblue;
	font-size: var(--font-size);
	line-height: 1.4;
        font-family: 'authentic';
}

div.pagebreak{
    page-break-after: always;
}
div.nobreak{
    page-break-inside: avoid;
}

/* GENERAL ELEMENTS */

blockquote {
font-family: 'authentic';
}

h2{
margin-top:0;
font-weight: 600;
line-height: 1;
font-family: 'Anthony';
font-size: 2.6rem;
page-break-before: right;
}
.runningtitle {
  display:none;
}
h2:not( .runningtitle ~ h2 ){
	string-set: contributiontitle content(text); 
}

h3 {font-family: Anthony; font-size: 1.5em; line-height: 1;}

h3, h4, h5, h6{
    margin: 0 0 1em 0;
    page-break-after: avoid;
    font-weight: 600;
}

p{
    margin: 0 0 1em 0;
}

/*
.contrib p{
    orphans:2;
    widows:2;
}
*/

.thumb{
    /* image caption */
    font-size: 8pt;
    line-height: 1.25;
    margin: 24pt 16pt 16pt 16pt;
    page-break-inside: avoid;
    font-family: authentic;
}
img{
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 0 8pt 0;
}
.thumbinner{
    max-width:100%;
}
pre{
    font-size: 8pt;
    line-height: 1.8;
    white-space: pre;
    margin: 16pt 16pt;
}
table{
    width: 100%;
}
sup{
    line-height: 0;
}
a,
a:visited,
a:active,
a:hover{
    color: #ab00fa;
    text-decoration: none;
    border-bottom: 1px solid #ab00fa;
}

/* specific details */
a.external{
}

a.text{
    word-break: none !important;
}
b,strong {
     font-weight:500;
}
small, .small {font-size: 8pt;}

span.reference-text { 
    float: footnote;
}
.reference-text::footnote-call {
    font-family:'authentic';
}
        
.reference-text::footnote-marker {
    font-family:'authentic';
}
.contents ul{
    margin-top:0.5em;
}
.contents h3{
    margin-bottom: 0.5em;
}


/* WIKISTYLING */

.tocnumber { display: none; }

figcaption {font-size: 0.7em}