about summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-04-12 11:19:57 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-04-12 11:19:57 +0700
commit981e41a9473654c4ee754f86a78d54c8c5cad9b2 (patch)
tree26fa9a31a9f11ec709615f1c96b0c26f2dc70538 /static
parentd02a380caa30a804c927498e624927daa70b0b13 (diff)
downloadblog-981e41a9473654c4ee754f86a78d54c8c5cad9b2.tar.gz
Switch to Hugo, restructure the page
Diffstat (limited to 'static')
-rw-r--r--static/css/custom.css68
-rw-r--r--static/favicon.icobin0 -> 15406 bytes
-rw-r--r--static/images/android-chrome-192x192.pngbin0 -> 1510 bytes
-rw-r--r--static/images/android-chrome-512x512.pngbin0 -> 3768 bytes
-rw-r--r--static/images/apple-touch-icon.pngbin0 -> 1350 bytes
-rw-r--r--static/images/favicon-16x16.pngbin0 -> 217 bytes
-rw-r--r--static/images/favicon-32x32.pngbin0 -> 296 bytes
-rw-r--r--static/images/favicon.icobin0 -> 15406 bytes
-rw-r--r--static/images/site.webmanifest1
9 files changed, 69 insertions, 0 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
new file mode 100644
index 0000000..066803e
--- /dev/null
+++ b/static/css/custom.css
@@ -0,0 +1,68 @@
+---
+---
+
+body {
+  font-family: serif;
+}
+
+.webring {
+  margin-top: 2rem;
+}
+
+.webring h2 {
+  font-size: 1.2rem;
+}
+
+.webring .articles {
+  width: 100%;
+  display: flex;
+}
+
+.webring .title {
+  margin: 0;
+}
+
+.webring .article {
+  flex: 1 1 0;
+  display: flex;
+  flex-direction: column;
+  padding: 0.5rem;
+  border: 1px solid #333;
+  margin: 0 0.5rem;
+}
+
+@media(max-width: 640px) {
+  .webring .articles {
+    flex-direction: column;
+  } 
+  .webring .article {
+    margin: 0.5rem 0;
+  }
+}
+
+.webring .article:first-child {
+  margin-left: 0;
+}
+
+.webring .article:last-child {
+  margin-right: 0;
+}
+
+.webring .summary {
+  font-size: 0.8rem;
+  flex: 1 1 0;
+}
+
+.webring .attribution {
+  float: right;
+  font-size: 0.8rem;
+  color: #555;
+  line-height: 3;
+}
+
+dl dt {
+  font-weight: bold;
+}
+dl dd {
+  text-indent: 1em;
+}
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..d9ff90e
--- /dev/null
+++ b/static/favicon.ico
Binary files differdiff --git a/static/images/android-chrome-192x192.png b/static/images/android-chrome-192x192.png
new file mode 100644
index 0000000..334222b
--- /dev/null
+++ b/static/images/android-chrome-192x192.png
Binary files differdiff --git a/static/images/android-chrome-512x512.png b/static/images/android-chrome-512x512.png
new file mode 100644
index 0000000..d935e97
--- /dev/null
+++ b/static/images/android-chrome-512x512.png
Binary files differdiff --git a/static/images/apple-touch-icon.png b/static/images/apple-touch-icon.png
new file mode 100644
index 0000000..3dcf481
--- /dev/null
+++ b/static/images/apple-touch-icon.png
Binary files differdiff --git a/static/images/favicon-16x16.png b/static/images/favicon-16x16.png
new file mode 100644
index 0000000..4e2eee7
--- /dev/null
+++ b/static/images/favicon-16x16.png
Binary files differdiff --git a/static/images/favicon-32x32.png b/static/images/favicon-32x32.png
new file mode 100644
index 0000000..9ad0725
--- /dev/null
+++ b/static/images/favicon-32x32.png
Binary files differdiff --git a/static/images/favicon.ico b/static/images/favicon.ico
new file mode 100644
index 0000000..d9ff90e
--- /dev/null
+++ b/static/images/favicon.ico
Binary files differdiff --git a/static/images/site.webmanifest b/static/images/site.webmanifest
new file mode 100644
index 0000000..45dc8a2
--- /dev/null
+++ b/static/images/site.webmanifest
@@ -0,0 +1 @@
+{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
\ No newline at end of file