diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-18 18:58:00 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-18 18:58:00 +0200 |
| commit | 644e3b2f2892bd9e762b8ee3b493a1a4cf7ba946 (patch) | |
| tree | 053efcda2e1fd7953c987d7ce5c1f21c8aab7476 /templates | |
| parent | ffe3ec0b24834b38564db3c63d99eecdb62a37c4 (diff) | |
| download | mitjafelicijan.com-644e3b2f2892bd9e762b8ee3b493a1a4cf7ba946.tar.gz | |
Simplified template
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/base.html | 3 | ||||
| -rwxr-xr-x | templates/index.html | 2 | ||||
| -rwxr-xr-x | templates/note.html | 3 | ||||
| -rwxr-xr-x | templates/post.html | 3 |
4 files changed, 4 insertions, 7 deletions
diff --git a/templates/base.html b/templates/base.html index 4689ecc..bc85947 100755 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | body { | 32 | body { |
| 33 | padding: 1rem; | 33 | padding: 1em; |
| 34 | background: white; | 34 | background: white; |
| 35 | line-height: 1.3; | 35 | line-height: 1.3; |
| 36 | font-family: sans-serif; | 36 | font-family: sans-serif; |
| @@ -138,7 +138,6 @@ | |||
| 138 | 138 | ||
| 139 | @media only screen and (max-width: 600px) { | 139 | @media only screen and (max-width: 600px) { |
| 140 | body { | 140 | body { |
| 141 | padding: 0.5em; | ||
| 142 | word-wrap: break-word; | 141 | word-wrap: break-word; |
| 143 | } | 142 | } |
| 144 | 143 | ||
diff --git a/templates/index.html b/templates/index.html index 368cb0f..e36d83b 100755 --- a/templates/index.html +++ b/templates/index.html | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | {{ define "content" }} | 3 | {{ define "content" }} |
| 4 | <section> | 4 | <section> |
| 5 | <mark><i>You do not learn by relaxing. You learn by violently assaulting your problem until it surrenders its mysteries to you.</i></mark> | 5 | <mark><small><i>You do not learn by relaxing. You learn by violently assaulting your problem until it surrenders its mysteries to you.</i></small></mark> |
| 6 | </section> | 6 | </section> |
| 7 | 7 | ||
| 8 | <a class="promobox" href="https://mitjafelicijan.github.io/binary-visualization/" target="_blank"> | 8 | <a class="promobox" href="https://mitjafelicijan.github.io/binary-visualization/" target="_blank"> |
diff --git a/templates/note.html b/templates/note.html index c5241c3..a72453f 100755 --- a/templates/note.html +++ b/templates/note.html | |||
| @@ -12,9 +12,8 @@ | |||
| 12 | </div> | 12 | </div> |
| 13 | </section> | 13 | </section> |
| 14 | 14 | ||
| 15 | <br><hr> | ||
| 16 | |||
| 17 | <section> | 15 | <section> |
| 16 | <br><hr> | ||
| 18 | <p><big><strong>Other notes</strong></big></p> | 17 | <p><big><strong>Other notes</strong></big></p> |
| 19 | <ul> | 18 | <ul> |
| 20 | {{ range random 20 .Pages }} | 19 | {{ range random 20 .Pages }} |
diff --git a/templates/post.html b/templates/post.html index 6061e47..0f0265e 100755 --- a/templates/post.html +++ b/templates/post.html | |||
| @@ -12,9 +12,8 @@ | |||
| 12 | </div> | 12 | </div> |
| 13 | </section> | 13 | </section> |
| 14 | 14 | ||
| 15 | <br><hr> | ||
| 16 | |||
| 17 | <section> | 15 | <section> |
| 16 | <br><hr> | ||
| 18 | <p><big><strong>Other posts</strong></big></p> | 17 | <p><big><strong>Other posts</strong></big></p> |
| 19 | <ul> | 18 | <ul> |
| 20 | {{ range random 20 .Pages }} | 19 | {{ range random 20 .Pages }} |
