Skip to content

Commit

Permalink
make and use dark color theme
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianopol committed Jul 10, 2024
1 parent 51a14d3 commit b7ffba5
Show file tree
Hide file tree
Showing 13 changed files with 593 additions and 2,159 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ htmls := $(patsubst %.adoc,%.html,$(adocs))
default: $(htmls)

%.html : %.adoc
asciidoctor $<
asciidoctor -a stylesheet=paq-dark.css -a linkcss $<

.PHONY: clean
clean:
Expand Down
2 changes: 2 additions & 0 deletions altai.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:stylesdir: ./css

Алтай, район Кош-Агача (2022.01.02--09)
=======================================
Andrew <adrianopol@gmail.com>
Expand Down
433 changes: 3 additions & 430 deletions altai.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
:stylesdir: ../css
:tabsize: 8

= Reflections on Trusting Trust

(original: https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf)

TURING AWARD LECTURE

(original: https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf)

_Communications of the ACM, August 1984, Volume 27, Number 8_

[quote.epigraph]
Expand Down
433 changes: 4 additions & 429 deletions articles/1984-08-01_ken-thompson_reflections-on-trusting-trust.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:stylesdir: ../css

= The Best Programming Advice I Ever Got

(Aug 15, 2012)
Expand Down

Large diffs are not rendered by default.

423 changes: 423 additions & 0 deletions css/asciidoctor-default.css

Large diffs are not rendered by default.

116 changes: 116 additions & 0 deletions css/paq-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
@import url("asciidoctor-default.css");

/* override color definitions ; TODO: this should be finished! */

body {
background: #0d1117;
color: rgb(232 230 227 / 0.8);
}

a {
color: #72ace3;
}

#header > h1:first-child,
.paragraph.lead > p,
/**/
#preamble > .sectionbody > [class=paragraph]:first-of-type p,
/**/
.quoteblock blockquote,
.quoteblock p,
/**/
#header .details span.email a {
color: rgb(255 255 255 / 0.85);
}

#header > h1:only-child,
body.toc2 #header > h1:nth-last-child(2) {
border-bottom-color: #7a7a7c;
}

#header .details {
border-bottom-color: #7a7a7c;
color: rgb(255 255 255 / 0.7);
}

#toc {
border-bottom-color: #404042;
}

hr {
border-color: #404042;
}

.sect1+.sect1 {
border-top-color: #404042;
}

h1,
h2,
h3,
#toctitle,
.sidebarblock > .content > .title,
h4,
h5,
h6,
/**/
#content h1 > a.link,
h2 > a.link,
h3 > a.link,
#toctitle > a.link,
.sidebarblock > .content > .title > a.link,
h4 > a.link,
h5 > a.link,
h6 > a.link {
color: #dd6552;
}

.quoteblock blockquote::before {
color: #e68d7f;
text-shadow: 0 1px 2px rgb(255 255 255 / 0.1);
}

.subheader,
.admonitionblock td.content > .title,
.audioblock > .title,
.exampleblock > .title,
.imageblock > .title,
.listingblock > .title,
.literalblock > .title,
.stemblock > .title,
.openblock > .title,
.paragraph > .title,
.quoteblock > .title,
table.tableblock > .title,
.verseblock > .title,
.videoblock > .title,
.dlist > .title,
.olist > .title,
.ulist > .title,
.qlist > .title,
.hdlist > .title {
color: #e68d7f;
}

.literalblock pre,
.listingblock > .content > pre:not(.highlight),
.listingblock > .content > pre[class=highlight],
.listingblock > .content > pre[class^="highlight "] {
background: #1a1a1a;
}

code,
pre {
color: rgb(255 255 255 / 0.9);
}

table tr th,
table tr td {
color: rgb(255 255 255 / 0.8);
}

/* monospace font is too large, make it smaller */
.literalblock pre,
.listingblock > .content > pre {
font-size: 0.8125em;
}
31 changes: 18 additions & 13 deletions index.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
:stylesdir: ./css
// Set caption for figures for the rest of the document to empty string.
:figure-caption:

Expand All @@ -8,7 +9,7 @@
- link:articles/1984-08-01_ken-thompson_reflections-on-trusting-trust.html[Reflections on Trusting Trust (Ken Thompson, 1984)]
- link:articles/2012-08-15_rob-pike_the-best-programming-advice-i-ever-got.html[The Best Programming Advice I Ever Got (Rob Pike, 2012)]

== Походы (trips) ==
== Походы (trips)

//TODO
// set russian quotation marks
Expand All @@ -17,12 +18,12 @@
//{set:ldquo:&laquo;}
//{set:rdquo:&raquo;}

=== Рассказы ===
=== Рассказы

- 2022-01-02: link:altai.html[Алтай (лыжи)]
- 2018-10-15: link:umb.html[Оленегорск--Ревда--Умбозеро--Апатиты (вело)]

=== Чужие рассказы ===
=== Чужие рассказы

- 2020-08-28: Приполярный Урал (пеший):
https://sebram.livejournal.com/73378.html[sebram],
Expand All @@ -38,16 +39,20 @@
https://sebram.livejournal.com/61338.html[sebram],
https://www.komoot.com/tour/473014476[my-komoot]

=== Треки без описания (Komoot) ===
=== Треки без описания (Komoot)

* 2021-01-10: https://www.komoot.com/tour/305305455[Долина реки Смородинки (лыжи)]
* 2020-08-10: https://www.komoot.com/tour/305972769[Вдоль Оки (Пахомово — Таруса — Лукьяново; вело)]
* 2020-05-04: https://www.komoot.com/tour/227052882[Бородино — Шаховская (вело)]
* 2019-09-29: https://www.komoot.com/tour/227867774[Узуново — 163 км (вело)]
* 2019-02-23: https://www.komoot.com/tour/305989584[Рождествено: к болотам и обратно (вело)]
* 2017-08-07: https://www.komoot.com/tour/227875963[Бавария (вело)]
* 2017-07-22: https://www.komoot.com/tour/237481782[132 км — Тарусская (вело)]
- 2021-01-10: https://www.komoot.com/tour/305305455[Долина реки Смородинки (лыжи)]
- 2020-08-10: https://www.komoot.com/tour/305972769[Вдоль Оки (Пахомово — Таруса — Лукьяново; вело)]
- 2020-05-04: https://www.komoot.com/tour/227052882[Бородино — Шаховская (вело)]
- 2019-09-29: https://www.komoot.com/tour/227867774[Узуново — 163 км (вело)]
- 2019-02-23: https://www.komoot.com/tour/305989584[Рождествено: к болотам и обратно (вело)]
- 2017-08-07: https://www.komoot.com/tour/227875963[Бавария (вело)]
- 2017-07-22: https://www.komoot.com/tour/237481782[132 км — Тарусская (вело)]

=== Другое ===
=== Другое

* Методичка -- «Собираемся в поход»: https://sebram.livejournal.com/55366.html[sebram]
- Методичка -- «Собираемся в поход»: https://sebram.livejournal.com/55366.html[sebram]

== Stuff

- site sources: https://github.com/adrianopol/adrianopol.github.io
Loading

0 comments on commit b7ffba5

Please sign in to comment.