summaryrefslogtreecommitdiffstats
path: root/css/main.css
diff options
context:
space:
mode:
authormaike <maike@synzr.tw>2026-09-01 22:40:10 +0500
committermaike <maike@synzr.tw>2026-09-01 23:41:22 +0500
commitd5f4539e7ab6cb00513cd428b6ab08c67ddd6bc9 (patch)
tree8767ca37a3f8ccaccde30872fdf6cde413dfb17c /css/main.css
parent04147f350f07f7cadd4fe5aa9cd74096109b275d (diff)
downloadhamster-d5f4539e7ab6cb00513cd428b6ab08c67ddd6bc9.tar.gz
hamster-d5f4539e7ab6cb00513cd428b6ab08c67ddd6bc9.tar.bz2
hamster-d5f4539e7ab6cb00513cd428b6ab08c67ddd6bc9.zip
Header with a interactive brand text
Diffstat (limited to 'css/main.css')
-rw-r--r--css/main.css53
1 files changed, 53 insertions, 0 deletions
diff --git a/css/main.css b/css/main.css
new file mode 100644
index 0000000..9531435
--- /dev/null
+++ b/css/main.css
@@ -0,0 +1,53 @@
+body {
+ margin: 0;
+ padding: 0;
+ color: #424242;
+ background-color: #f9f9f9;
+ font-family: 'PT Sans', Arial, Helvetica, sans-serif;
+ font-size: 14px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #ff685b;
+ font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, Helvetica, sans-serif;
+}
+
+.clearfix::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+
+.layout {
+ margin: 0 auto;
+ width: 100%;
+ max-width: 640px;
+ min-width: 240px;
+ min-height: 100vh;
+ background-color: #fff;
+}
+
+.header .pokepi {
+ width: 240px;
+ height: 240px;
+ user-select: none;
+}
+
+.header .brand {
+ float: right;
+ user-select: none;
+ margin: 18px;
+ font-size: 16px;
+ font-family: 'PT Mono', 'Courier New', Courier, monospace;
+}
+
+.header .brand .letter {
+ display: block;
+ margin: 4px 0;
+}
+
+@media (max-width: 480px) {
+ .header .brand {
+ display: none; /* hide on tiny screens */
+ }
+}