diff --git a/+layout.html b/+layout.html index 32e31b1..705ff0e 100644 --- a/+layout.html +++ b/+layout.html @@ -3,7 +3,7 @@ - + {{head}} diff --git a/compile.sh b/compile.sh index e5547b5..dd607ff 100755 --- a/compile.sh +++ b/compile.sh @@ -5,7 +5,7 @@ function mp() { rm -rf build/ mkdir build/ -cp -r assets/ build/assets/ +cp -r public/* build/ find . -name '*.page' -print0 | while IFS= read -r -d '' ff; do d=`dirname "$ff"` diff --git a/index.page b/index.page index 0d067ff..3bfc6f3 100644 --- a/index.page +++ b/index.page @@ -8,8 +8,8 @@ meta: og-site_name: "1f349.net" content: |
-
U+1F349: WATERMELON
-  Miscellaneous Symbols and Pictographs, U+1F300 - U+1F5FF
-  Supplementary Multilingual Plane, U+10000 - U+1FFFF
+
U+1F349: WATERMELON
+
Miscellaneous Symbols and Pictographs, U+1F300 - U+1F5FF
+
Supplementary Multilingual Plane, U+10000 - U+1FFFF

The internal domain for all Melon-hosted services.

diff --git a/1f349.svg b/public/1f349.svg similarity index 100% rename from 1f349.svg rename to public/1f349.svg diff --git a/favicon.ico b/public/favicon.ico similarity index 100% rename from favicon.ico rename to public/favicon.ico diff --git a/assets/fonts/FiraCode-Regular.woff2 b/public/fonts/FiraCode-Regular.woff2 similarity index 100% rename from assets/fonts/FiraCode-Regular.woff2 rename to public/fonts/FiraCode-Regular.woff2 diff --git a/assets/fonts/Ubuntu.woff2 b/public/fonts/Ubuntu.woff2 similarity index 100% rename from assets/fonts/Ubuntu.woff2 rename to public/fonts/Ubuntu.woff2 diff --git a/assets/style.css b/public/style.css similarity index 68% rename from assets/style.css rename to public/style.css index e8bd433..5448302 100644 --- a/assets/style.css +++ b/public/style.css @@ -7,7 +7,7 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url('/assets/fonts/Ubuntu.woff2') format('woff2'); + src: url('/fonts/Ubuntu.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @@ -15,7 +15,7 @@ font-family: 'Fira Code'; font-style: normal; font-weight: 400; - src: url('/assets/fonts/FiraCode-Regular.woff2') format('woff2'); + src: url('/fonts/FiraCode-Regular.woff2') format('woff2'); } body { @@ -29,11 +29,26 @@ main { width: 90%; } +@media only screen and (max-width: 600px) { + body { + margin-left: 1.5em; + margin-right: 1.5em; + } + + main { + width: 100%; + } +} + code pre { font-family: 'Fira Code', monospace; font-size: 90%; } +code pre.pre-line { + white-space: pre-line; +} + a { color: tomato; }