0015-style.css-Replace-with-my-own.patch (2598B)
- From bbb1b0664c34bd7953f790f7a60e32821f7e9185 Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Mon, 31 Jul 2017 09:12:55 +0200
- Subject: [PATCH 15/22] style.css: Replace with my own
- ---
- style.css | 100 +++++++++++++++++++++++-------------------------------
- 1 file changed, 42 insertions(+), 58 deletions(-)
- diff --git a/style.css b/style.css
- index d8f9fff..167498a 100644
- --- a/style.css
- +++ b/style.css
- @@ -1,102 +1,86 @@
- -body {
- - color: #000;
- - background-color: #fff;
- - font-family: monospace;
- -}
- +@import '/css/colorscheme.css'; /* This makes it depend on blog.git at the root */
- -h1, h2, h3, h4, h5, h6 {
- - font-size: 1em;
- +html, body {
- + background-color: var(--dark-ansi00-soft);
- + color: var(--dark-ansi15);
- margin: 0;
- + padding: 0;
- + font-family: sans;
- }
- -img, h1, h2 {
- - vertical-align: middle;
- +header h1 {
- + display: inline;
- + margin: 0 1em;
- }
- -img {
- - border: 0;
- +header {
- + background-color: var(--dark-ansi00);
- + padding: 1ch 2em;
- }
- -a.d,
- -a.h,
- -a.i,
- -a.line {
- - text-decoration: none;
- +footer {
- + margin: 2ch 2em;
- }
- -#blob a {
- - color: #777;
- +main {
- + display: table;
- + margin: 0 auto;
- }
- -#blob a:hover {
- - color: blue;
- +a {
- + color: var(--dark-ansi04);
- text-decoration: none;
- }
- -table thead td {
- - font-weight: bold;
- +h1,h2,h3,h4,h5,h6 { font-family: serif; }
- +pre {
- + white-space: pre-wrap;
- + font-family: monospace;
- }
- -table td {
- - padding: 0 0.4em;
- +nav, .line, tr:nth-child(even) {
- + background-color: var(--dark-ansi00);
- }
- -#content table td {
- - vertical-align: top;
- - white-space: nowrap;
- +nav {
- + font-size: larger;
- + font-weight: bold;
- + padding: 0.25rem;
- }
- -#branches tr:hover td,
- -#tags tr:hover td,
- -#index tr:hover td,
- -#log tr:hover td,
- -#files tr:hover td {
- - background-color: #eee;
- +table thead td {
- + font-weight: bold;
- }
- -#index tr td:nth-child(2),
- -#tags tr td:nth-child(3),
- -#branches tr td:nth-child(3),
- -#log tr td:nth-child(2) {
- - white-space: normal;
- +table td {
- + padding: 0 0.4em;
- }
- td.num {
- text-align: right;
- }
- -.desc {
- - color: #777;
- +td:nth-child(1) {
- + text-align: right;
- + min-width: 8em;
- }
- -hr {
- - border: 0;
- - border-top: 1px solid #777;
- - height: 1px;
- -}
- -
- -pre {
- - font-family: monospace;
- +tr td {
- + padding: 0.5em 1em;
- }
- pre a.h {
- - color: #00a;
- + color: var(--dark-ansi05);
- }
- .A,
- span.i,
- pre a.i {
- - color: #070;
- + color: var(--dark-ansi02);
- }
- .D,
- span.d,
- pre a.d {
- - color: #e00;
- -}
- -
- -pre a.h:hover,
- -pre a.i:hover,
- -pre a.d:hover {
- - text-decoration: none;
- -}
- + color: var(--dark-ansi01);
- +}
- \ No newline at end of file
- --
- 2.26.2