mirror of
https://github.com/1f349/1f349.com.git
synced 2024-11-12 14:41:40 +00:00
Move assets to public directory and add some mobile support
This commit is contained in:
parent
99e27c0fdc
commit
bce4b005b0
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/assets/style.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
{{head}}
|
||||
</head>
|
||||
<body>
|
||||
|
@ -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"`
|
||||
|
@ -8,8 +8,8 @@ meta:
|
||||
og-site_name: "1f349.net"
|
||||
content: |
|
||||
<main>
|
||||
<code><pre>U+1F349: WATERMELON
|
||||
Miscellaneous Symbols and Pictographs, U+1F300 - U+1F5FF
|
||||
Supplementary Multilingual Plane, U+10000 - U+1FFFF</pre></code>
|
||||
<code><pre class="pre-line">U+1F349: WATERMELON</pre></code>
|
||||
<code><pre class="pre-line">Miscellaneous Symbols and Pictographs, U+1F300 - U+1F5FF</pre></code>
|
||||
<code><pre class="pre-line">Supplementary Multilingual Plane, U+10000 - U+1FFFF</pre></code>
|
||||
<p>The internal domain for all Melon-hosted services.</p>
|
||||
</main>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 330 KiB After Width: | Height: | Size: 330 KiB |
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user