Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
work.aesthetic-programming
Commits
4f4956db
Commit
4f4956db
authored
Oct 25, 2019
by
svilayphiou
Browse files
cleaning up the first generation process of Markdown files since now we are using Pelican
parent
459531f3
Pipeline
#483
failed with stages
Changes
8
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
assets/css/interface-0.1.css
deleted
100644 → 0
View file @
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);
}
*/
/*--------------------------------------------------------------------------------------*/
}
assets/css/styles.css
deleted
100644 → 0
View file @
459531f3
@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
;
}
assets/fonts/CutiveMono-Regular.ttf
deleted
120000 → 0
View file @
459531f3
/home/svilayphiou/fonts/Cutive_Mono/CutiveMono-Regular.ttf
\ No newline at end of file
assets/fonts/cmunui.ttf
deleted
120000 → 0
View file @
459531f3
/home/svilayphiou/fonts/Computer Modern/Upright Italic/cmunui.ttf
\ No newline at end of file
assets/js/paged.polyfill.js
deleted
100644 → 0
View file @
459531f3
This diff is collapsed.
Click to expand it.
makefile
deleted
100755 → 0
View file @
459531f3
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/
templates/footer.html
deleted
100644 → 0
View file @
459531f3
</body>
</html>
templates/header.html
deleted
100644 → 0
View file @
459531f3
<!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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment