minor fixes

This commit is contained in:
Yann Esposito (Yogsototh) 2019-08-14 00:20:14 +02:00
parent b8e6e1f4ac
commit 2db39c15a4
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
4 changed files with 11 additions and 9 deletions

Binary file not shown.

View file

@ -3,6 +3,6 @@
#+EMAIL: yann@esposito.host #+EMAIL: yann@esposito.host
#+begin_archive #+begin_archive
@@html:<li>@@ @@html:<span class="archive-item"><span class="archive-date">@@ 2019-07-28: @@html:</span>@@ [[file:posts/project-el/index.org][Autoload Script by project]] @@html:</span>@@ @@html:</li>@@ @@html:<li>@@ @@html:<span class="archive-item"><span class="archive-date">@@ 2019-08-13: @@html:</span>@@ [[file:posts/project-el/index.org][Autoload Script by project]] @@html:</span>@@ @@html:</li>@@
@@html:<li>@@ @@html:<span class="archive-item"><span class="archive-date">@@ 2019-07-07: @@html:</span>@@ [[file:posts/2019-07-04-static-org-publish.org][Static blog with org-mode]] @@html:</span>@@ @@html:</li>@@ @@html:<li>@@ @@html:<span class="archive-item"><span class="archive-date">@@ 2019-07-15: @@html:</span>@@ [[file:posts/2019-07-04-static-org-publish.org][Static blog with org-mode]] @@html:</span>@@ @@html:</li>@@
#+end_archive #+end_archive

View file

@ -196,14 +196,12 @@ navigation > a {
} }
#postamble { #postamble {
border-top: solid 1px; border-top: solid 1px;
} margin-top: 10px;
#preamble,#postamble {
padding: 10px 0;
} }
#content,.content { #content,.content {
max-width: 50em; max-width: 50em;
margin: 0 auto; margin: 0 auto;
padding: 10px; padding: 1px;
} }
#content *:first-child { #content *:first-child {
margin-top: 0; margin-top: 0;
@ -285,10 +283,12 @@ navigation > a {
} }
#labels { #labels {
width: 100%; width: 100%;
text-align: right;
} }
#labels label { #labels label {
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
font-style: italic;
} }
input#light, input#dark { display:none; } input#light, input#dark { display:none; }
input#light:checked ~ .main { input#light:checked ~ .main {
@ -311,15 +311,16 @@ input#dark:checked ~ .main {
} }
input#light:checked ~ #labels { input#light:checked ~ #labels {
background: #fefaf0; background: #fefaf0;
color: var(--base01); color: var(--base00);
} }
input#dark:checked ~ #labels { input#dark:checked ~ #labels {
background: var(--base03); background: var(--base03);
color: var(--base1); color: var(--base0);
} }
body,.main { body,.main {
background: var(--main-background); background: var(--main-background);
color: var(--main-foreground); color: var(--main-foreground);
min-height: 100vh;
} }
::selection, .main ::selection, ::selection, .main ::selection,
::-moz-selection, .main ::-moz-selection { ::-moz-selection, .main ::-moz-selection {

View file

@ -12,7 +12,8 @@ Welcome!
#+begin_notes #+begin_notes
This website is dark by default, but it support user preferred theme. This website is dark by default, but it support user preferred theme.
For example in Mac if you have a light theme, the website will be light. For example on Mac OS X > 10.14, if you have selected a light theme, the website
will be light.
#+end_notes #+end_notes
- [[./archive.html][articles]] - [[./archive.html][articles]]