slightly smaller pages
This commit is contained in:
parent
2b652d16f0
commit
9212e104f6
|
@ -32,7 +32,7 @@
|
||||||
(defun menu (lst)
|
(defun menu (lst)
|
||||||
"Blog menu"
|
"Blog menu"
|
||||||
(concat
|
(concat
|
||||||
"<navigation>"
|
"<nav>"
|
||||||
(mapconcat 'identity
|
(mapconcat 'identity
|
||||||
(append
|
(append
|
||||||
'("<a href=\"/index.html\">Home</a>"
|
'("<a href=\"/index.html\">Home</a>"
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
"<a href=\"/about-me.html\">About</a>")
|
"<a href=\"/about-me.html\">About</a>")
|
||||||
lst)
|
lst)
|
||||||
" | ")
|
" | ")
|
||||||
"</navigation>"))
|
"</nav>"))
|
||||||
|
|
||||||
|
|
||||||
(defun get-from-info (info k)
|
(defun get-from-info (info k)
|
||||||
|
|
BIN
project.el.sig
BIN
project.el.sig
Binary file not shown.
|
@ -4,54 +4,31 @@
|
||||||
|
|
||||||
/* Fonts */
|
/* Fonts */
|
||||||
body {
|
body {
|
||||||
font-family: Consolas, Anonymous Pro, Monaco, monospace;
|
font: 14px/1.4 monospace;
|
||||||
font-size: 14px;
|
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
}
|
}
|
||||||
code, pre, pre code, .todo, .done {
|
|
||||||
font-family: Menlo, Monaco, monospace;
|
|
||||||
}
|
|
||||||
pre, pre code {
|
pre, pre code {
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
}
|
}
|
||||||
/* Layout */
|
/* Layout */
|
||||||
body {
|
body, h1, h2, h3, h4, h5, h6, pre, code, blockquote, ol, ul, ol ol, ul ul, ul ol, ol
|
||||||
|
ul, li, p, section, header, footer, img {
|
||||||
|
float: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
-webkit-hyphens: auto;
|
|
||||||
-moz-hyphens:auto;
|
|
||||||
-ms-hyphens:auto;
|
|
||||||
}
|
|
||||||
h1, h2, h3, h4, h5, h6, pre, code, blockquote, ol, ul, ol ol, ul ul, ul ol, ol
|
|
||||||
ul, li, p, section, header, footer {
|
|
||||||
float: none;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
footer {
|
|
||||||
font-size: .8em;
|
|
||||||
line-height: 1.25em;
|
|
||||||
padding: 1em 0;
|
|
||||||
}
|
}
|
||||||
h1, h2, h3, h4, h5, h6, pre, code, blockquote, p, ul, ol, section, header,
|
h1, h2, h3, h4, h5, h6, pre, code, blockquote, p, ul, ol, section, header,
|
||||||
figure {
|
figure,table {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
figure {
|
|
||||||
margin: 1em 0px;
|
|
||||||
}
|
|
||||||
figure > img {
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
li {
|
li {
|
||||||
position: relative;
|
|
||||||
display: block;
|
display: block;
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
}
|
}
|
||||||
ul > li:before {
|
ol > li:before, ul > li:before {
|
||||||
content: "– ";
|
content: "– ";
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -66,11 +43,6 @@ ol {
|
||||||
ol > li:before {
|
ol > li:before {
|
||||||
content: counter(ol) ". ";
|
content: counter(ol) ". ";
|
||||||
counter-increment: ol;
|
counter-increment: ol;
|
||||||
float: left;
|
|
||||||
text-align: right;
|
|
||||||
position: relative;
|
|
||||||
left: -1.5em;
|
|
||||||
width: 0;
|
|
||||||
}
|
}
|
||||||
ol > li:nth-child(n+10) {
|
ol > li:nth-child(n+10) {
|
||||||
padding-left:28px;
|
padding-left:28px;
|
||||||
|
@ -89,8 +61,8 @@ p > img, li > img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
|
display: block; /* for overflow to work */
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 1em 0;
|
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: solid 1px;
|
border: solid 1px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
|
@ -137,26 +109,22 @@ h6::before {
|
||||||
content: "###### ";
|
content: "###### ";
|
||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
position: relative;
|
|
||||||
height: 1px;
|
|
||||||
line-height: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
hr:after {
|
#preamble:after, #postamble:before, hr:after {
|
||||||
content: "----------------------------------------------------------------------------------------------------";
|
text-align: center;
|
||||||
position: absolute;
|
content: "-----------------------------------------------------------------------------";
|
||||||
top: 0;
|
display:block;
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-weight: bold;
|
overflow: hidden;
|
||||||
word-wrap: break-word;
|
opacity: .5;
|
||||||
|
height: 1em;
|
||||||
}
|
}
|
||||||
pre { max-width: 100%; overflow: scroll; }
|
pre { max-width: 100%; overflow-x: scroll; }
|
||||||
pre::after,pre::before {
|
pre:after,pre:before {
|
||||||
content: "~~~~~~~~~";
|
content: "~~~~~~~~~";
|
||||||
display: block; }
|
display: block; }
|
||||||
pre::before {
|
pre:before {
|
||||||
content: "~~~~~~~~~ " attr(class);
|
content: "~~~~~~~~~ " attr(class);
|
||||||
}
|
}
|
||||||
pre code {
|
pre code {
|
||||||
|
@ -169,14 +137,6 @@ blockquote {
|
||||||
padding-left: 2ch;
|
padding-left: 2ch;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.notes *:first-child,
|
|
||||||
blockquote *:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
.notes *:last-child,
|
|
||||||
blockquote *:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
blockquote:after {
|
blockquote:after {
|
||||||
content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>";
|
content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>";
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
@ -184,12 +144,12 @@ blockquote:after {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
navigation {
|
nav {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
navigation > a {
|
nav > a {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,11 +160,12 @@ navigation > a {
|
||||||
}
|
}
|
||||||
#content,.content {
|
#content,.content {
|
||||||
max-width: 46em;
|
max-width: 46em;
|
||||||
margin: 0 1em;
|
|
||||||
padding: 1px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
#content:first-child {
|
#content:last-child, .notes *:last-child, blockquote *:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
#content:first-child, .notes *:first-child, blockquote *:first-child{
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
#postamble {
|
#postamble {
|
||||||
|
@ -244,15 +205,6 @@ navigation > a {
|
||||||
.underline {
|
.underline {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
#preamble:after, #postamble:before {
|
|
||||||
content: "--------------------------------------------------------------------------------";
|
|
||||||
display: block;
|
|
||||||
height: 1em;
|
|
||||||
overflow: hidden;
|
|
||||||
text-align: center;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
/* colors theme */
|
/* colors theme */
|
||||||
:root {
|
:root {
|
||||||
color-scheme: light dark; /* support color scheme */
|
color-scheme: light dark; /* support color scheme */
|
||||||
|
@ -273,8 +225,6 @@ navigation > a {
|
||||||
--cyan: #4c8493;
|
--cyan: #4c8493;
|
||||||
--green: #728b5c;
|
--green: #728b5c;
|
||||||
|
|
||||||
--transparent: rgba(255,255,255,0);
|
|
||||||
|
|
||||||
/* Solaryzed accented colors */
|
/* Solaryzed accented colors */
|
||||||
--bg: var(--base03);
|
--bg: var(--base03);
|
||||||
--fg: var(--base0);
|
--fg: var(--base0);
|
||||||
|
@ -381,7 +331,7 @@ navigation > a {
|
||||||
--todo-txt: #333;
|
--todo-txt: #333;
|
||||||
--link: var(--orange);
|
--link: var(--orange);
|
||||||
font-family: "Helvetica Neue";
|
font-family: "Helvetica Neue";
|
||||||
font-size: 14px;
|
font-size: 16px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
#simple:checked ~ #labels .content{
|
#simple:checked ~ #labels .content{
|
||||||
|
@ -408,6 +358,14 @@ navigation > a {
|
||||||
--bdr: #080;
|
--bdr: #080;
|
||||||
--todo-txt: #0b0;
|
--todo-txt: #0b0;
|
||||||
--link: #080;
|
--link: #080;
|
||||||
|
--yellow: #0f0;
|
||||||
|
--orange: #0f0;
|
||||||
|
--red: #0f0;
|
||||||
|
--magenta: #0f0;
|
||||||
|
--violet: #0f0;
|
||||||
|
--blue: #080;
|
||||||
|
--cyan: #080;
|
||||||
|
--green: #080;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
#matrix:checked ~ .main code,
|
#matrix:checked ~ .main code,
|
||||||
|
@ -510,7 +468,7 @@ navigation > a {
|
||||||
}
|
}
|
||||||
#modern:checked ~ .main #preamble,
|
#modern:checked ~ .main #preamble,
|
||||||
#modern:checked ~ .main #postamble {
|
#modern:checked ~ .main #postamble {
|
||||||
background-color: var(--cyan);
|
background: var(--cyan);
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
}
|
}
|
||||||
#modern:checked ~ .main #preamble {
|
#modern:checked ~ .main #preamble {
|
||||||
|
@ -520,7 +478,7 @@ navigation > a {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
}
|
}
|
||||||
#modern:checked ~ .main #postamble code {
|
#modern:checked ~ .main #postamble code {
|
||||||
background-color: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
#modern:checked ~ .main #preamble *,
|
#modern:checked ~ .main #preamble *,
|
||||||
#modern:checked ~ .main #postamble * {
|
#modern:checked ~ .main #postamble * {
|
||||||
|
@ -548,7 +506,7 @@ navigation > a {
|
||||||
--link: var(--green);
|
--link: var(--green);
|
||||||
font-family: "Helvetica Neue", sans-serif;
|
font-family: "Helvetica Neue", sans-serif;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 14px;
|
font-size: 16px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
#darksimple:checked ~ #labels .content{
|
#darksimple:checked ~ #labels .content{
|
||||||
|
@ -573,7 +531,7 @@ body,.main {
|
||||||
::selection, .main ::selection,
|
::selection, .main ::selection,
|
||||||
::-moz-selection, .main ::-moz-selection {
|
::-moz-selection, .main ::-moz-selection {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: var(--blue);
|
background: var(--blue);
|
||||||
}
|
}
|
||||||
a, a:visited,
|
a, a:visited,
|
||||||
.main a, .main a:visited {
|
.main a, .main a:visited {
|
||||||
|
@ -616,26 +574,18 @@ a:hover, a:active, a:focus,
|
||||||
color: white;
|
color: white;
|
||||||
background: var(--link);
|
background: var(--link);
|
||||||
}
|
}
|
||||||
navigation a, navigation a:visited,
|
nav a, nav a:visited,
|
||||||
.main navigation a,.main navigation a:visited {
|
.main nav a,.main nav a:visited {
|
||||||
color: var(--fg2);
|
color: var(--fg2);
|
||||||
}
|
}
|
||||||
navigation a:focus, navigation a:hover,
|
nav a:focus, nav a:hover,
|
||||||
.main navigation a:focus,.main navigation a:hover {
|
.main nav a:focus,.main nav a:hover {
|
||||||
color: white;
|
color: white;
|
||||||
background: var(--link);
|
background: var(--link);
|
||||||
}
|
}
|
||||||
thead,
|
thead, .main thead, tr:hover, .main tr:hover {
|
||||||
.main thead {
|
background: var(--rbg);
|
||||||
background-color: var(--rbg);
|
color: var(--rfg);
|
||||||
color: var(--fg2);
|
|
||||||
}
|
|
||||||
#preamble:after, #postamble:before {
|
|
||||||
color: var(--fg2);
|
|
||||||
}
|
|
||||||
tr:hover,
|
|
||||||
.main tr:hover {
|
|
||||||
background-color: var(--rbg);
|
|
||||||
}
|
}
|
||||||
.description {
|
.description {
|
||||||
color: var(--fg2);
|
color: var(--fg2);
|
||||||
|
@ -660,7 +610,7 @@ blockquote:after, .main blockquote:after {
|
||||||
color: var(--fg2);
|
color: var(--fg2);
|
||||||
}
|
}
|
||||||
#preamble,#postamble,.main #preamble, .main #postamble {
|
#preamble,#postamble,.main #preamble, .main #postamble {
|
||||||
border-color: var(--transparent);
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
.article-date, .main .article-date {
|
.article-date, .main .article-date {
|
||||||
color: var(--fg2);
|
color: var(--fg2);
|
||||||
|
@ -668,7 +618,7 @@ blockquote:after, .main blockquote:after {
|
||||||
/* -------- */
|
/* -------- */
|
||||||
/* org colors */
|
/* org colors */
|
||||||
.todo, .done, .main .todo, .main .done {
|
.todo, .done, .main .todo, .main .done {
|
||||||
background-color: var(--rbg);
|
background: var(--rbg);
|
||||||
border: solid 1px;
|
border: solid 1px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -698,34 +648,39 @@ blockquote:after, .main blockquote:after {
|
||||||
color: var(--magenta);
|
color: var(--magenta);
|
||||||
}
|
}
|
||||||
.notes, .main .notes {
|
.notes, .main .notes {
|
||||||
background-color: var(--rbg);
|
background: var(--rbg);
|
||||||
color: var(--rfg);
|
color: var(--rfg);
|
||||||
}
|
}
|
||||||
/* ---- SYNTAX HIGHLIGHTING ---- */
|
/* ---- SYNTAX HIGHLIGHTING ---- */
|
||||||
.org-builtin {color:var(--cyan);}
|
.org-nix-attribute, .org-builtin {
|
||||||
.org-string {color:var(--green);}
|
color:var(--cyan);
|
||||||
.org-doc {color:var(--green);}
|
}
|
||||||
.org-keyword {color:var(--green);}
|
|
||||||
.org-variable-name {color:var(--blue);}
|
.org-sh-heredoc, .org-diff-added, .org-string, .org-doc, .org-keyword {
|
||||||
.org-function-name {color:var(--blue);}
|
color:var(--green);
|
||||||
.org-type {color:var(--yellow);}
|
}
|
||||||
.org-preprocessor {color:var(--fg2);}
|
|
||||||
.org-constant {color:var(--yellow);}
|
.org-nix-builtin, .org-variable-name, .org-function-name {
|
||||||
.org-comment-delimiter {color:var(--fg2);}
|
color:var(--blue);
|
||||||
.org-comment {color:var(--fg2);}
|
}
|
||||||
.org-css-selector {color:var(--cyan);}
|
|
||||||
.org-outshine-level-1 {color:var(--fg2);}
|
.org-type, .org-constant {
|
||||||
.org-outshine-level-2 {color:var(--fg2);}
|
color:var(--yellow);
|
||||||
.org-outshine-level-3 {color:var(--fg2);}
|
}
|
||||||
.org-outshine-level-4 {color:var(--fg2);}
|
|
||||||
.org-outshine-level-5 {color:var(--fg2);}
|
.org-css-selector {
|
||||||
.org-outshine-level-6 {color:var(--fg2);}
|
color:var(--cyan);
|
||||||
.org-outshine-level-7 {color:var(--fg2);}
|
}
|
||||||
.org-outshine-level-8 {color:var(--fg2);}
|
|
||||||
.org-outshine-level-9 {color:var(--fg2);}
|
.org-diff-none, .org-preprocessor, .org-comment-delimiter, .org-comment,
|
||||||
.org-nix-builtin {color:var(--blue);}
|
.org-outshine-level-1, .org-outshine-level-2, .org-outshine-level-3,
|
||||||
.org-nix-attribute {color:var(--cyan);}
|
.org-outshine-level-4, .org-outshine-level-5, .org-outshine-level-6,
|
||||||
|
.org-outshine-level-7, .org-outshine-level-8, .org-outshine-level-9 {
|
||||||
|
color:var(--fg2);
|
||||||
|
}
|
||||||
|
|
||||||
.org-highlight-number-number {color:var(--rfg);}
|
.org-highlight-number-number {color:var(--rfg);}
|
||||||
|
|
||||||
.org-rainbow-delimiters-depth-1 {color:var(--cyan);}
|
.org-rainbow-delimiters-depth-1 {color:var(--cyan);}
|
||||||
.org-rainbow-delimiters-depth-2 {color:var(--blue);}
|
.org-rainbow-delimiters-depth-2 {color:var(--blue);}
|
||||||
.org-rainbow-delimiters-depth-3 {color:var(--violet);}
|
.org-rainbow-delimiters-depth-3 {color:var(--violet);}
|
||||||
|
@ -735,11 +690,9 @@ blockquote:after, .main blockquote:after {
|
||||||
.org-rainbow-delimiters-depth-7 {color:var(--yellow);}
|
.org-rainbow-delimiters-depth-7 {color:var(--yellow);}
|
||||||
.org-rainbow-delimiters-depth-8 {color:var(--green);}
|
.org-rainbow-delimiters-depth-8 {color:var(--green);}
|
||||||
.org-rainbow-delimiters-depth-9 {color:var(--cyan);}
|
.org-rainbow-delimiters-depth-9 {color:var(--cyan);}
|
||||||
|
|
||||||
.org-sh-quoted-exec {color:var(--magenta);}
|
.org-sh-quoted-exec {color:var(--magenta);}
|
||||||
.org-sh-heredoc {color:var(--green);}
|
|
||||||
.org-diff-added {color:var(--green);}
|
|
||||||
.org-diff-changed {color:var(--blue);}
|
.org-diff-changed {color:var(--blue);}
|
||||||
.org-diff-header {color:var(--yellow);}
|
.org-diff-header {color:var(--yellow);}
|
||||||
.org-diff-hunk-header {color:var(--magenta);}
|
.org-diff-hunk-header {color:var(--magenta);}
|
||||||
.org-diff-none {color:var(--fg2);}
|
|
||||||
.org-diff-removed {color:var(--red);}
|
.org-diff-removed {color:var(--red);}
|
||||||
|
|
Loading…
Reference in a new issue