Commit 4f4956db authored by svilayphiou's avatar svilayphiou

cleaning up the first generation process of Markdown files since now we are using Pelican

parent 459531f3
/* CSS for Paged.js interface */
/* Change the look */
:root {
--color-background: whitesmoke;
--color-pageBox: #666;
--color-paper: white;
--color-marginBox: transparent;
}
/* To define how the book look on the screen: */
@media screen {
body {
background-color: var(--color-background);
}
.pagedjs_pages {
display: flex;
width: calc(var(--pagedjs-width) * 2);
flex: 0;
flex-wrap: wrap;
margin: 0 auto;
}
.pagedjs_page {
background-color: var(--color-paper);
box-shadow: 0 0 0 1px var(--color-pageBox);
margin: 0;
flex-shrink: 0;
flex-grow: 0;
margin-top: 10mm;
}
.pagedjs_first_page {
margin-left: var(--pagedjs-width);
}
.pagedjs_page:last-of-type {
margin-bottom: 10mm;
}
/* show the margin-box */
.pagedjs_margin-top-left-corner-holder,
.pagedjs_margin-top,
.pagedjs_margin-top-left,
.pagedjs_margin-top-center,
.pagedjs_margin-top-right,
.pagedjs_margin-top-right-corner-holder,
.pagedjs_margin-bottom-left-corner-holder,
.pagedjs_margin-bottom,
.pagedjs_margin-bottom-left,
.pagedjs_margin-bottom-center,
.pagedjs_margin-bottom-right,
.pagedjs_margin-bottom-right-corner-holder,
.pagedjs_margin-right,
.pagedjs_margin-right-top,
.pagedjs_margin-right-middle,
.pagedjs_margin-right-bottom,
.pagedjs_margin-left,
.pagedjs_margin-left-top,
.pagedjs_margin-left-middle,
.pagedjs_margin-left-bottom {
box-shadow: 0 0 0 1px inset var(--color-marginBox);
}
/* uncomment this part for recto/verso book : ------------------------------------ */
/*
.pagedjs_pages {
flex-direction: column;
width: 100%;
}
.pagedjs_first_page {
margin-left: 0;
}
.pagedjs_page {
margin: 0 auto;
margin-top: 10mm;
}
*/
/*--------------------------------------------------------------------------------------*/
/* uncomment this par to see the baseline : -------------------------------------------*/
/*
.pagedjs_pagebox {
--pagedjs-baseline: 11px;
--pagedjs-baseline-position: -4px;
--pagedjs-baseline-color: cyan;
background: linear-gradient(var(--color-paper) 0%, var(--color-paper) calc(var(--pagedjs-baseline) - 1px), var(--pagedjs-baseline-color) calc(var(--pagedjs-baseline) - 1px), var(--pagedjs-baseline-color) var(--pagedjs-baseline)), transparent;
background-size: 100% var(--pagedjs-baseline);
background-repeat: repeat-y;
background-position-y: var(--pagedjs-baseline-position);
}
*/
/*--------------------------------------------------------------------------------------*/
}
@page {
size: 140mm 200mm;
}
.debug .pagedjs_page {
}
.pagedjs_page {
counter-increment: page;
}
.pagedjs_margin-bottom:before {
/*content: var(--pagedjs-page-count);*/
content: counter(page);
}
@font-face {
font-family: Code;
src: url("/assets/fonts/CutiveMono-Regular.ttf");
}
@font-face {
font-family: Text;
src: url("/assets/fonts/cmunui.ttf");
}
body {
font-family: Text;
}
pre,
code {
font-family: Code;
}
/home/svilayphiou/fonts/Cutive_Mono/CutiveMono-Regular.ttf
\ No newline at end of file
/home/svilayphiou/fonts/Computer Modern/Upright Italic/cmunui.ttf
\ No newline at end of file
This diff is collapsed.
cat templates/header.html >| output/3-InfiniteLoops/index.html
markdown_py source/3-InfiniteLoops/Readme.md >> output/3-InfiniteLoops/index.html
cat templates/footer.html >> output/3-InfiniteLoops/index.html
cp source/3-InfiniteLoops/*.png output/3-InfiniteLoops/
<!DOCTYPE HTML>
<html class="debug">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Aesthetic Programming</title>
<link rel="stylesheet" href="/assets/css/styles.css" type="text/css" media="all" charset="utf-8">
<link rel="stylesheet" href="/assets/css/interface-0.1.css" type="text/css" media="all" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="/assets/js/paged.polyfill.js">
</script>
</head>
<body>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment