Fixes for css too.
This commit is contained in:
parent
b132ed3ce1
commit
32ab26c448
3 changed files with 34 additions and 6 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
use nix
|
|
@ -1,5 +1,11 @@
|
||||||
# { pkgs ? import <nixpkgs> {} }:
|
# { pkgs ? import <nixpkgs> {} }:
|
||||||
{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/19.09-beta.tar.gz) {} }:
|
{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/19.09-beta.tar.gz) {} }:
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
buildInputs = [ pkgs.coreutils pkgs.html-xml-utils pkgs.zsh pkgs.perl pkgs.perlPackages.URI ];
|
buildInputs = [ pkgs.coreutils
|
||||||
|
pkgs.html-xml-utils
|
||||||
|
pkgs.zsh
|
||||||
|
pkgs.perl
|
||||||
|
pkgs.perlPackages.URI
|
||||||
|
pkgs.minify
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,7 +120,6 @@ sup > a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 1px 2px;
|
padding: 1px 2px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: var(--reveal-background);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Markdown tricks */
|
/* Markdown tricks */
|
||||||
|
@ -269,6 +268,14 @@ navigation > a {
|
||||||
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 */
|
||||||
|
@ -361,6 +368,15 @@ input#matrix:checked ~ .main img {
|
||||||
filter: brightness(0.8) sepia(100%) hue-rotate(55deg) saturate(2.5);
|
filter: brightness(0.8) sepia(100%) hue-rotate(55deg) saturate(2.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input#simple:checked ~ .main #preamble:after,
|
||||||
|
input#simple:checked ~ .main #postamble:before,
|
||||||
|
input#darksimple:checked ~ .main #preamble:after,
|
||||||
|
input#darksimple:checked ~ .main #postamble:before,
|
||||||
|
input#modern:checked ~ .main #preamble:after,
|
||||||
|
input#modern:checked ~ .main #postamble:before
|
||||||
|
{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
/* --------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------- */
|
||||||
/* Dark theme selected */
|
/* Dark theme selected */
|
||||||
input#dark:checked ~ .main, input#dark:checked ~ #labels {
|
input#dark:checked ~ .main, input#dark:checked ~ #labels {
|
||||||
|
@ -641,6 +657,10 @@ b, strong, i, em {
|
||||||
color: var(--reveal-foreground);
|
color: var(--reveal-foreground);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sup > a {
|
||||||
|
background: var(--reveal-background);
|
||||||
|
}
|
||||||
|
|
||||||
body > input { display:none; }
|
body > input { display:none; }
|
||||||
|
|
||||||
#labels {
|
#labels {
|
||||||
|
@ -681,13 +701,15 @@ navigation a:focus, navigation a:hover,
|
||||||
thead,
|
thead,
|
||||||
.main thead {
|
.main thead {
|
||||||
background-color: var(--reveal-background);
|
background-color: var(--reveal-background);
|
||||||
color: var(--second-fg);
|
color: var(--second-foreground);
|
||||||
|
}
|
||||||
|
#preamble:after, #postamble:before {
|
||||||
|
color: var(--second-foreground);
|
||||||
}
|
}
|
||||||
tr:hover,
|
tr:hover,
|
||||||
.main tr:hover {
|
.main tr:hover {
|
||||||
background-color: var(--reveal-background);
|
background-color: var(--reveal-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
color: var(--second-foreground);
|
color: var(--second-foreground);
|
||||||
}
|
}
|
||||||
|
@ -721,7 +743,6 @@ blockquote:after, .main blockquote:after {
|
||||||
}
|
}
|
||||||
#preamble,#postamble,.main #preamble, .main #postamble {
|
#preamble,#postamble,.main #preamble, .main #postamble {
|
||||||
border-color: var(--transparent);
|
border-color: var(--transparent);
|
||||||
background: var(--second-background);
|
|
||||||
}
|
}
|
||||||
.article-date, .main .article-date {
|
.article-date, .main .article-date {
|
||||||
color: var(--soft-foreground);
|
color: var(--soft-foreground);
|
||||||
|
@ -760,7 +781,7 @@ blockquote:after, .main blockquote:after {
|
||||||
}
|
}
|
||||||
.notes, .main .notes {
|
.notes, .main .notes {
|
||||||
background-color: var(--reveal-background);
|
background-color: var(--reveal-background);
|
||||||
color: var(--second-fg);
|
color: var(--reveal-foreground);
|
||||||
}
|
}
|
||||||
/* ---- SYNTAX HIGHLIGHTING ---- */
|
/* ---- SYNTAX HIGHLIGHTING ---- */
|
||||||
pre span.org-builtin {color:var(--cyan);}
|
pre span.org-builtin {color:var(--cyan);}
|
||||||
|
|
Loading…
Reference in a new issue