aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/index.html6
-rw-r--r--docs/style.css6
-rw-r--r--posts/color_conundrum.md2
-rw-r--r--posts/don't_repeat_yourself.md9
4 files changed, 9 insertions, 14 deletions
diff --git a/docs/index.html b/docs/index.html
index cc69cbf..59a963d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -14,7 +14,7 @@
14<title>n</title> 14<title>n</title>
15 15
16 16
17<body onload="gotoId()"> 17<body>
18<h1 class="heading">n</h1> 18<h1 class="heading">n</h1>
19 19
20 20
@@ -23,7 +23,7 @@
23 23
24 <details class="post"> 24 <details class="post">
25 <summary> 25 <summary>
26 <div class="date">30/12 2019</div> 26 <div class="date">31/12 2019</div>
27 <span class="post-link">Color Conundrum</span> 27 <span class="post-link">Color Conundrum</span>
28 </summary> 28 </summary>
29 <div class="post-text"> 29 <div class="post-text">
@@ -37,7 +37,7 @@ does. It is difficult for the human eye to filter out noise
37in rainbow barf. Use color to draw attention, not diverge 37in rainbow barf. Use color to draw attention, not diverge
38it.</p> 38it.</p>
39 39
40<p>At the same time, a book devoid of color is <em>boring!</em>. What 40<p>At the same time, a book devoid of color is <em>boring!</em> What
41is the takeaway from this 10 line paragraph? What are the 41is the takeaway from this 10 line paragraph? What are the
42technical terms used?</p> 42technical terms used?</p>
43 43
diff --git a/docs/style.css b/docs/style.css
index bc722c6..88666e8 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -46,7 +46,7 @@ html {
46 46
47 47
48.post { 48.post {
49 margin: 2rem; 49 margin: 1rem;
50} 50}
51 51
52img { 52img {
@@ -63,6 +63,10 @@ details > summary::-webkit-details-marker {
63 display: none; 63 display: none;
64} 64}
65 65
66summary: hover {
67 cursor: pointer;
68}
69
66hr { 70hr {
67 color: var(--light-black); 71 color: var(--light-black);
68} 72}
diff --git a/posts/color_conundrum.md b/posts/color_conundrum.md
index 0e938b7..d051ae4 100644
--- a/posts/color_conundrum.md
+++ b/posts/color_conundrum.md
@@ -8,7 +8,7 @@ does. It is difficult for the human eye to filter out noise
8in rainbow barf. Use color to draw attention, not diverge 8in rainbow barf. Use color to draw attention, not diverge
9it. 9it.
10 10
11At the same time, a book devoid of color is *boring!*. What 11At the same time, a book devoid of color is *boring!* What
12is the takeaway from this 10 line paragraph? What are the 12is the takeaway from this 10 line paragraph? What are the
13technical terms used? 13technical terms used?
14 14
diff --git a/posts/don't_repeat_yourself.md b/posts/don't_repeat_yourself.md
deleted file mode 100644
index d39267e..0000000
--- a/posts/don't_repeat_yourself.md
+++ /dev/null
@@ -1,9 +0,0 @@
1Looping constructs are bad. Consider this:
2
3```
4for (int i = 0; i < arr.len(); i++) { ... }
5```
6
7It is not obvious at all, what this loop does. Is it
8supposed to iterate over the elements of the array? Is it
9just a variable binding that increases up to `arr.len()`?