UnfoldingCSS:Counter Cloud Action Plan: Difference between revisions

From titipi
Jump to navigation Jump to search
No edit summary
(Undo revision 846 by FS (talk))
Tag: Undo
Line 1: Line 1:
@font-face {
@font-face {
  font-family:'Picnic';
  font-family:'Picnic';
  src:url(http://titipi.org/wiki/images/b/bf/PicNic-Regular.woff2) format('woff2');
  src:url('http://titipi.org/wiki/images/b/bf/PicNic-Regular.woff2') format('woff2');
  font-weight:normal;
  font-weight:normal;
  font-style:normal
  font-style:normal
}
}
@font-face {
@font-face {
font-family:'asulbold';
    font-family: 'asulbold';
src:url(http://titipi.org/wiki/images/2/2f/Asul-bold-webfont.woff) format('woff2'),
    src: url('http://titipi.org/wiki/images/2/2f/Asul-bold-webfont.woff') format('woff2'),
url(http://titipi.org/wiki/images/3/3c/Asul-bold-webfont.woff2) format('woff');
        url('http://titipi.org/wiki/images/3/3c/Asul-bold-webfont.woff2') format('woff');
font-weight:normal;
    font-weight: normal;
font-style:normal
    font-style: normal;
}
}
@font-face {
@font-face {
font-family:'asulregular';
    font-family: 'asulregular';
src:url(http://titipi.org/wiki/images/0/03/Asul-regular-webfont.woff) format('woff2'),
    src: url('http://titipi.org/wiki/images/0/03/Asul-regular-webfont.woff') format('woff2'),
url(http://titipi.org/wiki/images/c/c7/Asul-regular-webfont.woff2) format('woff');
        url('http://titipi.org/wiki/images/c/c7/Asul-regular-webfont.woff2') format('woff');
font-weight:normal;
    font-weight: normal;
font-style:normal
    font-style: normal;
 
}
}
:root {
 
--font-size: 12pt
:root{
--font-size: 12pt;
}
}
div.section {
 
.pagedjs_section_first_page + .pagedjs_blank_page {
        background-color:red !important;
}
}
div.contrib {
 
}
@page{
h1 {
size: 148mm 210mm;
margin:0;
margin: 17mm 15mm 19mm 15mm;
font-family:'Picnic';
 
font-size:170px;
@top-center{
font-weight:normal;
    content: string(contributiontitle);  
line-height:0.8em;
            font-family: Picnic;
hyphens:auto;
            font-size: 20pt;
color:white
            overflow: hidden;
}
            text-overflow:ellipsis;
span.bookcover {
            white-space: nowrap;
color:#222;
            margin-left: -10mm;
string-set:sectiontitle content(text);
            margin-right: -10mm;
font-size:165px;
}
line-height:0.55;
@bottom-center{
margin:0;
margin-top: -4mm;
font-family:'Picnic';
font-family: 'asulregular';
display:inline;
                font-weight: 500;
position:relative;
font-size: 9pt;
hyphens:auto;
content: counter(page);
color: white
}
      @footnote {
          float: bottom;
          border-top: solid #222 thin;
          padding-top: 8pt;
          font-family: 'asulregular';
      }
 
}
}
@page:first{
margin: 5mm 5mm 5mm 5mm;
background-color: #a5d;
@top-left{
content: "";
}
@top-center{
                font-family: asulregular;
content: "Big Tech strikethrough";
                font-size:11pt;
                font-weight: 500;
                margin-bottom: -5mm;


body {
}
color:#222;
        @bottom-center{
font-size:var(--font-size);
                font-family: asulregular;
line-height:1.5;
content: "The Institute for Technology In the Public Interest";
font-family:'asulregular'
                font-size:11pt;
}
                font-weight: 500;
div.pagebreak {
        }
}
}  
div.nobreak {
page-break-inside:avoid
}
div.cover {
}
div.cover h1,
div.cover ul li {
font-size:18pt;
line-height:1.25;
color:yellow;
font-weight:bold
}
div.cover ul li {
list-style:none;
margin-bottom:0.5em;
width:80mm
}
h2 {
margin-top:0;
font-weight:600;
line-height:1.25;
font-family:'Picnic';
font-size:2.5rem;
}


.runningtitle {
@page:blank{
display:none
background-color:#222;
@top-left{
content: "";
}
@top-center{
content: "";
}
@top-center{
content: "";
}
        @top-center{
content: "";
        }
        @bottom-center{
                content:"";
        }
}
}


/*
@page:nth(2){      
h2:not(.runningtitle~h2) {
        background-color: #222;
string-set:contributiontitle content(text)
        @bottom-center{
                content:"";
        }
}
}
*/


h3 {font-family: Picnic; font-size: 1.5em}
@page section:first{
margin: 8mm 8mm 0mm 8mm;
background-color: #222;


h3,
        @bottom-center{
h4,
                content:"";
h5,
        }
h6 {
margin:0 0 1em 0;
font-weight:600
}
}
p {
 
margin:0 0 1em 0
@page contrib:first{
        @top-center{
content: "";
        }
}
}
.contrib p {
 
orphans:2;
div.section{
widows:2
page: section;
}
}
.thumb {
 
font-size:10pt;
div.section, div.section div.contrib:nth-of-type(1){
line-height:1.25;
      break-before: right;
margin:24pt 16pt 16pt 16pt;
page-break-inside:avoid;
font-family:asulregular
}
}
img {
div.contrib:not(:first-of-type){
position:relative;
      break-before: always;  
display:block;
max-width:100%;
height:auto;
margin:0 0 8pt 0
}
}
.thumbinner {
div.contrib{
max-width:100%
      page: contrib;
}
}
pre {
 
font-size:8pt;
h1{
line-height:1.8;
  margin:0;
white-space:pre;
  font-family: 'Picnic';
margin:16pt 16pt
  font-size: 170px;
  font-weight: normal;
  line-height: 0.8em;
  hyphens:auto;
  color:white;
  page-break-after: always;
}
}
table {
 
width:100%
span.bookcover{
        color:#222;
string-set: sectiontitle content(text);
        font-size: 222px;
        line-height: 0.55;
margin: 0;
/*        margin-left: 32pt; */
        font-family: 'Picnic';
        display:inline;
        position:relative;
        hyphens:auto;
}
}
sup {
span.bookcover.floating{
line-height:0
      font-weight:300;
      font-size: 132pt;
      font-family:'asulregular';
      color:#222;
        line-height: 160px;
      width:70%;
}
}
a,
 
a:visited,
 
a:active,
body{
a:hover {
        color:#222;
color:#83b;
font-size: var(--font-size);
text-decoration:none;
line-height: 1.6;
font-weight:500
        font-family: 'asulregular';
}
}
a.external {
 
word-break:break-all
div.pagebreak{
    page-break-after: always;
}
}
b,
div.nobreak{
strong {
    page-break-inside: avoid;
font-weight:500
}
}
span.reference-text {
 
div.cover{
}
}
.reference-text[data-footnote-call]::after {
div.cover h1,
font-family:'asulregular'
div.cover ul li{
font-size: 18pt;
line-height: 1.25;
color: yellow;
font-weight: bold;
}
div.cover ul li{
list-style: none;
margin-bottom: 0.5em;
width: 80mm;
}
 
/* general elements*/
 
 
 
h2{
margin-top:0;
font-weight: 600;
line-height: 1.25;
font-family: 'Picnic';
font-size: 2rem;
}
}
.reference-text[data-footnote-marker]::marker {
.runningtitle {
font-family:'asulregular'
  display:none;
}
}
.contents ul {
h2:not( .runningtitle ~ h2 ){
margin-top:0.5em
string-set: contributiontitle content(text);
}
}
.contents h3 {
 
margin-bottom:0.5em
h3, h4, h5, h6{
    margin: 0 0 1em 0;
    page-break-after: avoid;
    font-weight: 600;
}
}
.pagedjs_page .pagedjs_margin-top-center {
 
font-family:Picnic;
p{
font-size:20pt;
    margin: 0 0 1em 0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
margin-left:-10mm;
margin-right:-10mm
}
.pagedjs_page .pagedjs_margin-bottom-center {
margin-top:-4mm;
font-family:'asulregular';
font-weight:500;
font-size:9pt
}
.pagedjs_page .pagedjs_margin-top-center>.pagedjs_margin-content>* {
display:block
}
}


/*
.contrib p{
.pagedjs_page .pagedjs_margin-top-center>.pagedjs_margin-content::after {
    orphans:2;
content:var(--pagedjs-string-first-contributiontitle)
    widows:2;
}
}


*/
.thumb{
.pagedjs_page .pagedjs_margin-bottom-center>.pagedjs_margin-content>* {
    /* image caption */
display:block
    font-size: 10pt;
    line-height: 1.25;
    margin: 24pt 16pt 16pt 16pt;
    page-break-inside: avoid;
    font-family: asulregular;
}
}
.pagedjs_page .pagedjs_margin-bottom-center>.pagedjs_margin-content::after {
img{
content:counter(page)
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 0 8pt 0;
}
}
.pagedjs_page .pagedjs_footnote_content {
.thumbinner{
float:bottom;
    max-width:100%;
border-top:solid #222 thin;
padding-top:8pt;
font-family:'asulregular'
}
}
.pagedjs_page {
pre{
--pagedjs-margin-top:17mm;
    font-size: 8pt;
--pagedjs-margin-right:15mm;
    line-height: 1.8;
--pagedjs-margin-left:15mm;
    white-space: pre;
--pagedjs-margin-bottom:19mm;
    margin: 16pt 16pt;
--pagedjs-pagebox-width:148mm;
--pagedjs-pagebox-height:210mm
}
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-top-left {
table{
    width: 100%;
}
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-top-center {
sup{
font-family:asulregular;
    line-height: 0;
font-size:11pt;
font-weight:500;
margin-bottom:-5mm
}
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-bottom-center {
a,
font-family:asulregular;
a:visited,
font-size:11pt;
a:active,
font-weight:500
a:hover{
    color: #83b;
    text-decoration: none;
    font-weight: 500;
}
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-top-left>.pagedjs_margin-content>* {
 
display:block
/* specific details */
a.external{
    word-break: break-all;
}
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-top-left>.pagedjs_margin-content::after {
b,strong {
content:""
    font-weight:500;
}
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-top-center>.pagedjs_margin-content>* {
 
display:block
span.reference-text {  
}
    float: footnote;
.pagedjs_page.pagedjs_first_page .pagedjs_margin-top-center>.pagedjs_margin-content::after {
content:"NEoN Big Tech strikethrough"
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-bottom-center>.pagedjs_margin-content>* {
display:block
}
.pagedjs_page.pagedjs_first_page .pagedjs_margin-bottom-center>.pagedjs_margin-content::after {
content:"The Institute for Technology In the Public Interest"
}
.pagedjs_page.pagedjs_first_page {
background-color:#a5d;
--pagedjs-margin-top:5mm;
--pagedjs-margin-right:5mm;
--pagedjs-margin-left:5mm;
--pagedjs-margin-bottom:5mm
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-top-left {
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-top-center {
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-bottom-center {
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-top-left>.pagedjs_margin-content>* {
display:block
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-top-left>.pagedjs_margin-content::after {
content:""
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-top-center>.pagedjs_margin-content>* {
display:block
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-top-center>.pagedjs_margin-content::after {
content:""
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-bottom-center>.pagedjs_margin-content>* {
display:block
}
.pagedjs_page.pagedjs_blank_page .pagedjs_margin-bottom-center>.pagedjs_margin-content::after {
content:""
}
.pagedjs_page.pagedjs_blank_page {
background-color:#222
}
.pagedjs_page:nth-of-type(2) .pagedjs_margin-bottom-center {
}
.pagedjs_page:nth-of-type(2) .pagedjs_margin-bottom-center>.pagedjs_margin-content>* {
display:block
}
.pagedjs_page:nth-of-type(2) .pagedjs_margin-bottom-center>.pagedjs_margin-content::after {
content:""
}
.pagedjs_page:nth-of-type(2) {
background-color:#222
}
.pagedjs_page.pagedjs_named_page.pagedjs_section_page.pagedjs_section_first_page .pagedjs_margin-bottom-center {
}
.pagedjs_page.pagedjs_named_page.pagedjs_section_page.pagedjs_section_first_page .pagedjs_margin-bottom-center>.pagedjs_margin-content>* {
display:block
}
.pagedjs_page.pagedjs_named_page.pagedjs_section_page.pagedjs_section_first_page .pagedjs_margin-bottom-center>.pagedjs_margin-content::after {
content:""
}
.pagedjs_page.pagedjs_named_page.pagedjs_section_page.pagedjs_section_first_page {
background-color:#222;
--pagedjs-margin-top:8mm;
--pagedjs-margin-right:8mm;
--pagedjs-margin-left:8mm;
--pagedjs-margin-bottom:0mm
}
.pagedjs_page.pagedjs_named_page.pagedjs_contrib_page.pagedjs_contrib_first_page .pagedjs_margin-top-center {
}
.pagedjs_page.pagedjs_named_page.pagedjs_contrib_page.pagedjs_contrib_first_page .pagedjs_margin-top-center>.pagedjs_margin-content>* {
display:block
}
}
.pagedjs_page.pagedjs_named_page.pagedjs_contrib_page.pagedjs_contrib_first_page .pagedjs_margin-top-center>.pagedjs_margin-content::after {
.reference-text::footnote-call {
content:""
    font-family:'asulregular';
}
}
.pagedjs_page.pagedjs_named_page.pagedjs_contrib_page.pagedjs_contrib_first_page {
       
.reference-text::footnote-marker {
    font-family:'asulregular';
}
}
:root {
.contents ul{
--pagedjs-width:148mm;
    margin-top:0.5em;
--pagedjs-height:210mm;
--pagedjs-width-right:148mm;
--pagedjs-height-right:210mm;
--pagedjs-width-left:148mm;
--pagedjs-height-left:210mm
}
}
@page {
.contents h3{
size:148mm 210mm;
    margin-bottom: 0.5em;
margin:0px;
padding:0px;
padding:0px
}
}

Revision as of 16:10, 15 February 2022

@font-face {
 font-family:'Picnic';
 src:url('http://titipi.org/wiki/images/b/bf/PicNic-Regular.woff2') format('woff2');
 font-weight:normal;
 font-style:normal
}

@font-face {
    font-family: 'asulbold';
    src: url('http://titipi.org/wiki/images/2/2f/Asul-bold-webfont.woff') format('woff2'),
         url('http://titipi.org/wiki/images/3/3c/Asul-bold-webfont.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'asulregular';
    src: url('http://titipi.org/wiki/images/0/03/Asul-regular-webfont.woff') format('woff2'),
         url('http://titipi.org/wiki/images/c/c7/Asul-regular-webfont.woff2') format('woff');
    font-weight: normal;
    font-style: normal;

}

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

.pagedjs_section_first_page + .pagedjs_blank_page {
        background-color:red !important;
}

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

	@top-center{
	     content: string(contributiontitle); 
             font-family: Picnic;
             font-size: 20pt;
             overflow: hidden;
             text-overflow:ellipsis;
             white-space: nowrap;
             margin-left: -10mm;
             margin-right: -10mm;
	}
	@bottom-center{
		margin-top: -4mm;
		font-family: 'asulregular';
                font-weight: 500;
		font-size: 9pt;
		content: counter(page);
	}
       @footnote {
           float: bottom;
           border-top: solid #222 thin;
           padding-top: 8pt;
           font-family: 'asulregular';
       }

}
@page:first{
	margin: 5mm 5mm 5mm 5mm;

	background-color: #a5d;
	
	@top-left{
		content: "";
	}
	@top-center{
                font-family: asulregular;
		content: "Big Tech strikethrough";
                font-size:11pt;
                font-weight: 500;
                margin-bottom: -5mm;


	}
        @bottom-center{
                font-family: asulregular;
		content: "The Institute for Technology In the Public Interest";
                font-size:11pt;
                font-weight: 500;
        }
} 

@page:blank{
	background-color:#222;
	@top-left{
		content: "";
	}
	@top-center{
		content: "";
	}
	@top-center{
		content: "";
	}
        @top-center{
		content: "";
        }
         @bottom-center{
                content:"";
        }
}

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

@page section:first{
	margin: 8mm 8mm 0mm 8mm;
	background-color: #222;

         @bottom-center{
                content:"";
        }
}

@page contrib:first{
        @top-center{
		content: "";
        }
}

div.section{
	page: section;
}

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;
}

h1{
  margin:0;
  font-family: 'Picnic';
  font-size: 170px;
  font-weight: normal;
  line-height: 0.8em;
  hyphens:auto;
  color:white;
  page-break-after: always;
}

span.bookcover{
        color:#222;
	string-set: sectiontitle content(text); 
        font-size: 222px;
        line-height: 0.55;
	margin: 0;
/*        margin-left: 32pt; */
        font-family: 'Picnic';
        display:inline;
        position:relative;
        hyphens:auto;
}
span.bookcover.floating{
       font-weight:300;
       font-size: 132pt;
       font-family:'asulregular';
       color:#222;
        line-height: 160px;
       width:70%;
}


body{
        color:#222;
	font-size: var(--font-size);
	line-height: 1.6;
        font-family: 'asulregular';
}

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

div.cover{
}
	div.cover h1,
	div.cover ul li{
		font-size: 18pt;
		line-height: 1.25;
		color: yellow;
		font-weight: bold;
	}
	div.cover ul li{
		list-style: none;
		margin-bottom: 0.5em;
		width: 80mm;
	}

/* general elements*/



h2{
margin-top:0;
font-weight: 600;
line-height: 1.25;
font-family: 'Picnic';
font-size: 2rem;
}
.runningtitle {
  display:none;
}
h2:not( .runningtitle ~ h2 ){
	string-set: contributiontitle content(text); 
}

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: 10pt;
    line-height: 1.25;
    margin: 24pt 16pt 16pt 16pt;
    page-break-inside: avoid;
    font-family: asulregular;
}
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: #83b;
    text-decoration: none;
    font-weight: 500;
}

/* specific details */
a.external{
    word-break: break-all;
}
b,strong {
     font-weight:500;
}

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