Browse Source

print css work

master
alicestrt 4 years ago
parent
commit
0065aef798
  1. 25
      content/circle.md
  2. 24
      content/zabala_warning.md
  3. 122
      themes/basic/static/css/print.css
  4. BIN
      themes/basic/static/fonts/imbplexmono/IBMPlexMono-ExtraLight.ttf
  5. BIN
      themes/basic/static/fonts/imbplexmono/IBMPlexMono-Light.ttf
  6. BIN
      themes/basic/static/fonts/imbplexmono/IBMPlexMono-Medium.ttf
  7. BIN
      themes/basic/static/fonts/imbplexmono/IBMPlexMono-Regular.ttf
  8. BIN
      themes/basic/static/fonts/imbplexmono/IBMPlexMono-Thin.ttf
  9. BIN
      themes/basic/static/fonts/printedcircuit/PrintedCircuitBoard.ttf
  10. BIN
      themes/basic/static/fonts/printedcircuit/PrintedCircuitBoardItalic.ttf
  11. BIN
      themes/basic/static/fonts/whiterabbit/whitrabt.ttf

25
content/circle.md

@ -0,0 +1,25 @@
<pre>
,,lopes""""Nouri,,
,nve""' `""sh,
,ine" "ing,
,l" "ne,
,ai" _,,yay"""Base,,_ "tw,
,m" ,al"' `"d, "o,
,e' ,v" "o, `r,
,h' i" "n `k,
t' t' ,gPPRg, `w `i
h s dP' `Yb h s
g e 8) (8 i t
u f Yb dP r h
o o, "8ggg8" ,p e
r, mr oo ,t
`h, "ea ls" ,i'
`t, "th,_ _,an" ,t'
`ng `""dtornados""' le'
`uti oft'
"rib hep"
`"ist, ,ubl"'
`"ared, ,icat"'
``""ionthatwe""''
</pre>

24
content/zabala_warning.md

@ -1,20 +1,23 @@
Title: The Philosophy of Warnings
Author: Santiago Zabala
Category: Articles
<div id="title_edition">Title of the publication</div>
<div id="amro">AMRO Servus etc</div>
<div class="title">The Philosophy of Warnings</div>
<div class="colophon">
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eget arcu at ligula vulputate euismod non eget risus. Nullam placerat risus nulla. Fusce in arcu dolor. Quisque nec dignissim nulla, a dapibus lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sed quam sit amet sapien faucibus convallis ac a sem. Etiam commodo elit id consequat tempus.
</p><p>
Fusce porttitor consectetur lacinia. Suspendisse facilisis ligula sed libero cursus, eget iaculis lectus vulputate. Nam lacinia massa vitae dapibus blandit. Donec tempus pulvinar ornare. Aliquam dictum accumsan tellus et ullamcorper. Nunc nisl tortor, hendrerit et sem eget, feugiat venenatis orci. Nullam condimentum fringilla commodo. </p></div>
<div class="first-page">
<div id="title_edition">Of Whirlpools and Tornadoes <br> Nourishing Networks</div>
<div id="amro">AMRO 2020</div>
<div class="author">Santiago Zabala</div>
<div class="title">The Philosophy of Warnings</div>
<div class="published">Published in the *Institute of Arts and Ideas* on October 7,
2020</div>
<header id="pageheader">Some stuff here in the header</header>
<div class="published">Published in the *Institute of Arts and Ideas* </div>
</div>
<header id="pageheader-issue">Nourishing Networks</header>
<header id="pageheader-theme">Theme</header>
<div class="essay_content">
<p>This month an undergraduate student told me his parents were using the
@ -123,7 +126,8 @@ realism by challenging our framed global order and its realist
advocates. This philosophy is not meant to rescue us *from* emergencies
but rather rescue us *into* emergencies that we are trained to ignore.</p>
</div>
<div class="bio">
[[Santiago Zabala]{.underline}](http://www.santiagozabala.com/) is ICREA
Research Professor of Philosophy at the Pompeu Fabra University in
Barcelona. His most recent book is *Being at Large: Freedom in the Age
of Alternative Facts* (McGill-Queen's University Press, 2020).
of Alternative Facts* (McGill-Queen's University Press, 2020).</div>

122
themes/basic/static/css/print.css

@ -1,52 +1,95 @@
@font-face {
font-family: 'notcouriersans';
src: url('../fonts/notcouriersans');
font-family: "White Rabbit";
src: url("../fonts/whiterabbit/whitrabt.ttf") format("truetype");
}
@font-face {
font-family: "IMB Plex Mono";
src: url("../fonts/imbplexmono/IBMPlexMono-Regular.ttf") format("truetype");
}
@font-face {
font-family: "IMB Plex Mono";
src: url("../fonts/imbplexmono/IBMPlexMono-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Printed Circuitboard";
src: url("../fonts/printedcircuit/PrintedCircuitBoard.ttf") format("truetype");
}
@font-face {
font-family: "Not Courier Sans";
src: url("../fonts/notcouriersans/NotCourierSans.ttf") format("truetype");
}
@page{
size:A4;
@bottom-center {
content: counter(page);
font-size: 12px;
font-family: "White Rabbit";
}
}
@page :left {
margin-left: 0.4in;
margin-right: 1.2in;
@bottom-left {
content: counter(page);
font-size: 9px;
}
@top-left {
content: element(pageheader, first-except);
font-size: 9px;
content: element(pageheader-issue, first-except);
font-size: 8px;
}
@top-right {
content: element(pageheader-theme, first-except);
font-size: 8px;
}
}
@page :right {
margin-left: 1.2in;
margin-right: 0.4in;
@bottom-right {
content: counter(page);
font-size: 9px;
}
@top-right {
content: element(pageheader, first-except);
font-size: 9px;
content: element(pageheader-issue, first-except);
font-size: 8px;
}
@top-left {
content: element(pageheader-theme, first-except);
font-size: 8px;
}
}
#pageheader-issue{
position: running(pageheader-issue);
font-family: 'White Rabbit';
}
#pageheader-theme{
position: running(pageheader-theme);
font-family: 'White Rabbit';
}
#pageheader{
position: running(pageheader);
.first-page {
line-height: 1.6;
}
.title {
font-size: 25px;
font-size: 20px;
text-align: center;
font-family: 'notcouriersans';
margin-top: 7in;
font-family: 'White Rabbit';
}
.published {
font-size: 20px;
font-family: 'notcouriersans';
font-family: 'White Rabbit';
page-break-after: always;
text-align: center;
text-decoration: none;
@ -57,26 +100,53 @@
.author {
font-size: 20px;
font-family: 'notcouriersans';
font-family: 'White Rabbit';
text-align: center;
margin-top: 7in;
}
#title_edition {
font-size: 20px;
font-family: 'notcouriersans';
font-family: 'White Rabbit';
text-align: center;
page-break-before: always;
}
#amro {
font-size: 20px;
font-family: 'notcouriersans';
font-family: 'White Rabbit';
text-align: center;
}
.colophon {
column-count: 2;
column-gap: 40px;
column-fill: balance;
column-rule-width: medium;
page-break-before: always;
}
.essay_content {
font-family: 'notcouriersans';
font-family: 'Not Courier Sans';
font-weight: 300;
font-size: 18px;
page-break-before: always;
}
.essay_content p:first-of-type {
margin-top: 100px;
}
.bio {
font-family: 'Not Courier Sans';
font-weight: 300;
font-size: 18px;
margin-top: 650px;
margin-left: 400px;
page-break-before: always;
}
@counter-style numeric {
suffix: "-- ";
prefix: " --";
}

BIN
themes/basic/static/fonts/imbplexmono/IBMPlexMono-ExtraLight.ttf

Binary file not shown.

BIN
themes/basic/static/fonts/imbplexmono/IBMPlexMono-Light.ttf

Binary file not shown.

BIN
themes/basic/static/fonts/imbplexmono/IBMPlexMono-Medium.ttf

Binary file not shown.

BIN
themes/basic/static/fonts/imbplexmono/IBMPlexMono-Regular.ttf

Binary file not shown.

BIN
themes/basic/static/fonts/imbplexmono/IBMPlexMono-Thin.ttf

Binary file not shown.

BIN
themes/basic/static/fonts/printedcircuit/PrintedCircuitBoard.ttf

Binary file not shown.

BIN
themes/basic/static/fonts/printedcircuit/PrintedCircuitBoardItalic.ttf

Binary file not shown.

BIN
themes/basic/static/fonts/whiterabbit/whitrabt.ttf

Binary file not shown.
Loading…
Cancel
Save