mirror of
https://github.com/1f349/1f349.com.git
synced 2024-09-19 19:36:34 +01: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>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<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}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -5,7 +5,7 @@ function mp() {
|
|||||||
|
|
||||||
rm -rf build/
|
rm -rf build/
|
||||||
mkdir build/
|
mkdir build/
|
||||||
cp -r assets/ build/assets/
|
cp -r public/* build/
|
||||||
find . -name '*.page' -print0 |
|
find . -name '*.page' -print0 |
|
||||||
while IFS= read -r -d '' ff; do
|
while IFS= read -r -d '' ff; do
|
||||||
d=`dirname "$ff"`
|
d=`dirname "$ff"`
|
||||||
|
@ -8,8 +8,8 @@ meta:
|
|||||||
og-site_name: "1f349.net"
|
og-site_name: "1f349.net"
|
||||||
content: |
|
content: |
|
||||||
<main>
|
<main>
|
||||||
<code><pre>U+1F349: WATERMELON
|
<code><pre class="pre-line">U+1F349: WATERMELON</pre></code>
|
||||||
Miscellaneous Symbols and Pictographs, U+1F300 - U+1F5FF
|
<code><pre class="pre-line">Miscellaneous Symbols and Pictographs, U+1F300 - U+1F5FF</pre></code>
|
||||||
Supplementary Multilingual Plane, U+10000 - U+1FFFF</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>
|
<p>The internal domain for all Melon-hosted services.</p>
|
||||||
</main>
|
</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-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-display: swap;
|
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;
|
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-family: 'Fira Code';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url('/assets/fonts/FiraCode-Regular.woff2') format('woff2');
|
src: url('/fonts/FiraCode-Regular.woff2') format('woff2');
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -29,11 +29,26 @@ main {
|
|||||||
width: 90%;
|
width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
body {
|
||||||
|
margin-left: 1.5em;
|
||||||
|
margin-right: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
code pre {
|
code pre {
|
||||||
font-family: 'Fira Code', monospace;
|
font-family: 'Fira Code', monospace;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code pre.pre-line {
|
||||||
|
white-space: pre-line;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: tomato;
|
color: tomato;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user