scripting a bit more, fix css
This commit is contained in:
parent
12b29fe361
commit
b1ca6cb4ba
3
build.sh
Executable file
3
build.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
emacs --load .project.el.gpg --eval '(progn (org-publish "blog" t) (evil-quit))'
|
2
serve.sh
2
serve.sh
|
@ -1,2 +1,2 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
cd _site && sws --local --no-auth . --port 5443
|
cd _site && sws --local --no-auth . --port 3001
|
||||||
|
|
|
@ -1,10 +1,24 @@
|
||||||
/* CSS to be used for HTML Org-mode export
|
/* CSS to be used for HTML Org-mode export
|
||||||
Author: Yann Esposito
|
Author: Yann Esposito
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Fonts */
|
||||||
body {
|
body {
|
||||||
font-family: menlo, monospace;
|
font-family: Menlo, Monaco, monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 20px;
|
line-height: 18px;
|
||||||
|
}
|
||||||
|
code {
|
||||||
|
font-family: Menlo, Monaco, monospace;
|
||||||
|
}
|
||||||
|
pre, pre code {
|
||||||
|
font-family: Menlo, Monaco, monospace;
|
||||||
|
}
|
||||||
|
.todo, .done {
|
||||||
|
font-family: Menlo, Monaco, monospace;
|
||||||
|
}
|
||||||
|
/* Layout */
|
||||||
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -103,29 +117,19 @@ hr {
|
||||||
}
|
}
|
||||||
hr:after {
|
hr:after {
|
||||||
content: "----------------------------------------------------------------------------------------------------";
|
content: "----------------------------------------------------------------------------------------------------";
|
||||||
font-family: menlo, monospace;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
opacity: 0.3;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
font-size: 14px;
|
|
||||||
line-height: 20px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
pre { max-width: 100%; overflow: scroll; }
|
pre { max-width: 100%; overflow: scroll; }
|
||||||
pre::after,pre::before {
|
pre::after,pre::before {
|
||||||
content: "~~~~~~~~~";
|
content: "~~~~~~~~~";
|
||||||
font-size: 16px;
|
display: block; }
|
||||||
line-height: 20px;
|
|
||||||
display: block;
|
|
||||||
opacity: 0.3; }
|
|
||||||
pre::before {
|
pre::before {
|
||||||
content: "~~~~~~~~~ " attr(class);
|
content: "~~~~~~~~~ " attr(class);
|
||||||
}
|
}
|
||||||
code {
|
|
||||||
font-family: menlo, monospace;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
@ -148,7 +152,6 @@ blockquote:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
line-height: 20px;
|
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
}
|
}
|
||||||
li {
|
li {
|
||||||
|
@ -210,7 +213,6 @@ td, th {
|
||||||
}
|
}
|
||||||
navigation {
|
navigation {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-family: menlo, monospace;
|
|
||||||
display: block;
|
display: block;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
@ -219,7 +221,6 @@ navigation > a {
|
||||||
}
|
}
|
||||||
.footpara { display: inline; }
|
.footpara { display: inline; }
|
||||||
.footdef > sup {
|
.footdef > sup {
|
||||||
font-size: 16px;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.footdef > sup::after {
|
.footdef > sup::after {
|
||||||
|
@ -228,14 +229,11 @@ navigation > a {
|
||||||
|
|
||||||
/* org mode statuses */
|
/* org mode statuses */
|
||||||
.timestamp-wrapper {
|
.timestamp-wrapper {
|
||||||
font-family: menlo, monospace;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.todo, .done {
|
.todo, .done {
|
||||||
font-family: menlo, monospace;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 20px;
|
|
||||||
padding: 1px 1ex;
|
padding: 1px 1ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -261,8 +259,9 @@ navigation > a {
|
||||||
--transparent: rgba(255,255,255,0);
|
--transparent: rgba(255,255,255,0);
|
||||||
|
|
||||||
--main-background: #00151b; /* 0.5 darker than #002b36; */
|
--main-background: #00151b; /* 0.5 darker than #002b36; */
|
||||||
--main-foreground: var(--base0);
|
--main-foreground: var(--base1);
|
||||||
--second-foreground: var(--base0);
|
--second-foreground: var(--base0);
|
||||||
|
--soft-foreground: var(--base01);
|
||||||
--reveal-background: var(--base03);
|
--reveal-background: var(--base03);
|
||||||
--border-color: var(--base02);
|
--border-color: var(--base02);
|
||||||
--todo-txt: #000;
|
--todo-txt: #000;
|
||||||
|
@ -274,6 +273,7 @@ navigation > a {
|
||||||
--main-background: #fefaf0; /* 0.5 lighter than #fdf6e3 */
|
--main-background: #fefaf0; /* 0.5 lighter than #fdf6e3 */
|
||||||
--main-foreground: var(--base01);
|
--main-foreground: var(--base01);
|
||||||
--second-foreground: var(--base00);
|
--second-foreground: var(--base00);
|
||||||
|
--soft-foreground: var(--base1);
|
||||||
--reveal-background: var(--base3);
|
--reveal-background: var(--base3);
|
||||||
--border-color: var(--base2);
|
--border-color: var(--base2);
|
||||||
--todo-txt: #FFF;
|
--todo-txt: #FFF;
|
||||||
|
@ -295,6 +295,9 @@ body {
|
||||||
a, a:visited {
|
a, a:visited {
|
||||||
color: var(--second-foreground);
|
color: var(--second-foreground);
|
||||||
}
|
}
|
||||||
|
pre::after,pre::before,hr:after {
|
||||||
|
color: var(--soft-foreground);
|
||||||
|
}
|
||||||
a:hover, a:active, a:focus {
|
a:hover, a:active, a:focus {
|
||||||
color: var(--yellow);
|
color: var(--yellow);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue