cmd/web: render posts with Inter, show border around posts
Signed-off-by: Xe Iaso <xe@tailscale.com>
This commit is contained in:
parent
dc69c0cd81
commit
21f7d61b42
BIN
cmd/web/static/css/font-files/Inter-Black.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-Black.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Black.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-Black.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-BlackItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-BlackItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-BlackItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Bold.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-Bold.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Bold.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-Bold.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-BoldItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-BoldItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-BoldItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraBold.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraBold.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraBold.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraBoldItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraBoldItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraBoldItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraBoldItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraLight.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraLight.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraLight.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraLightItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraLightItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ExtraLightItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Italic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-Italic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Italic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-Italic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Light.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-Light.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Light.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-Light.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-LightItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-LightItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-LightItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-LightItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Medium.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-Medium.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Medium.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-Medium.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-MediumItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-MediumItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-MediumItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Regular.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-Regular.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Regular.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-Regular.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-SemiBold.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-SemiBold.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-SemiBold.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-SemiBold.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-SemiBoldItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-SemiBoldItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-SemiBoldItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Thin.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-Thin.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-Thin.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-Thin.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ThinItalic.woff
Normal file
BIN
cmd/web/static/css/font-files/Inter-ThinItalic.woff
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-ThinItalic.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-ThinItalic.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-italic.var.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-italic.var.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter-roman.var.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter-roman.var.woff2
Normal file
Binary file not shown.
BIN
cmd/web/static/css/font-files/Inter.var.woff2
Normal file
BIN
cmd/web/static/css/font-files/Inter.var.woff2
Normal file
Binary file not shown.
94
cmd/web/static/css/font-files/LICENSE.txt
Normal file
94
cmd/web/static/css/font-files/LICENSE.txt
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
Copyright (c) 2016-2020 The Inter Project Authors.
|
||||||
|
"Inter" is trademark of Rasmus Andersson.
|
||||||
|
https://github.com/rsms/inter
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION AND CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
200
cmd/web/static/css/font-files/inter.css
Normal file
200
cmd/web/static/css/font-files/inter.css
Normal file
|
@ -0,0 +1,200 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 100;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-Thin.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-Thin.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 100;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-ThinItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-ThinItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 200;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-ExtraLight.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-ExtraLight.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 200;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-ExtraLightItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-Light.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-Light.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-LightItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-LightItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-Regular.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-Regular.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-Italic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-Italic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-Medium.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-Medium.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-MediumItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-MediumItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-SemiBold.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-SemiBold.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-SemiBoldItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-Bold.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-Bold.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-BoldItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-BoldItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-ExtraBold.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-ExtraBold.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-ExtraBoldItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-Black.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-Black.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("Inter-BlackItalic.woff2?v=3.19") format("woff2"),
|
||||||
|
url("Inter-BlackItalic.woff?v=3.19") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------------------------------------------------------
|
||||||
|
Variable font.
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
html { font-family: 'Inter', sans-serif; }
|
||||||
|
@supports (font-variation-settings: normal) {
|
||||||
|
html { font-family: 'Inter var', sans-serif; }
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter var';
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-display: swap;
|
||||||
|
font-style: normal;
|
||||||
|
font-named-instance: 'Regular';
|
||||||
|
src: url("Inter-roman.var.woff2?v=3.19") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter var';
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-display: swap;
|
||||||
|
font-style: italic;
|
||||||
|
font-named-instance: 'Italic';
|
||||||
|
src: url("Inter-italic.var.woff2?v=3.19") format("woff2");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* --------------------------------------------------------------------------
|
||||||
|
[EXPERIMENTAL] Multi-axis, single variable font.
|
||||||
|
|
||||||
|
Slant axis is not yet widely supported (as of February 2019) and thus this
|
||||||
|
multi-axis single variable font is opt-in rather than the default.
|
||||||
|
|
||||||
|
When using this, you will probably need to set font-variation-settings
|
||||||
|
explicitly, e.g.
|
||||||
|
|
||||||
|
* { font-variation-settings: "slnt" 0deg }
|
||||||
|
.italic { font-variation-settings: "slnt" 10deg }
|
||||||
|
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter var experimental';
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-display: swap;
|
||||||
|
font-style: oblique 0deg 10deg;
|
||||||
|
src: url("Inter.var.woff2?v=3.19") format("woff2");
|
||||||
|
}
|
|
@ -16,6 +16,10 @@
|
||||||
--text-light: hsla(var(--text-color), 90%, 5%, 100%);
|
--text-light: hsla(var(--text-color), 90%, 5%, 100%);
|
||||||
--pre-background: hsla(var(--background-color), 90%, 5%, 100%);
|
--pre-background: hsla(var(--background-color), 90%, 5%, 100%);
|
||||||
--pre-background-light: hsla(var(--background-color), 10%, 80%, 100%);
|
--pre-background-light: hsla(var(--background-color), 10%, 80%, 100%);
|
||||||
|
--article-text: hsla(var(--text-color), 0%, 95%, 100%);
|
||||||
|
--article-text-light: hsla(var(--text-color), 0%, 0%, 100%);
|
||||||
|
--article-background: hsla(var(--background-color), 80%, 5%, 100%);
|
||||||
|
--article-background-light: hsla(var(--background-color), 15%, 75%, 100%);
|
||||||
--a-background: hsla(var(--background-color), 90%, 5%, 100%);
|
--a-background: hsla(var(--background-color), 90%, 5%, 100%);
|
||||||
--a-background-light: hsla(var(--background-color), 30%, 90%, 100%);
|
--a-background-light: hsla(var(--background-color), 30%, 90%, 100%);
|
||||||
--a-color: hsla(var(--accent-color), 80%, 90%, 100%);
|
--a-color: hsla(var(--accent-color), 80%, 90%, 100%);
|
||||||
|
@ -32,6 +36,18 @@
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
article {
|
||||||
|
font-family: "OpenDyslexic", "Inter";
|
||||||
|
background-color: var(--article-background);
|
||||||
|
color: var(--article-text);
|
||||||
|
padding: 1em;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
article h1, article h2, article h3, article h4, article h5, article h6 {
|
||||||
|
font-family: "OpenDyslexic", "Inter";
|
||||||
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
max-width: var(--width);
|
max-width: var(--width);
|
||||||
|
@ -110,6 +126,11 @@ footer {
|
||||||
margin: 0.5em 10px;
|
margin: 0.5em 10px;
|
||||||
padding: 0.5em 10px;
|
padding: 0.5em 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
article {
|
||||||
|
background-color: var(--article-background-light);
|
||||||
|
color: var(--article-text-light);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{.Title}}</title>
|
<title>{{.Title}}</title>
|
||||||
|
<link rel="stylesheet" href="/static/css/font-files/inter.css" />
|
||||||
<link rel="stylesheet" href="/static/css/xess.css" />
|
<link rel="stylesheet" href="/static/css/xess.css" />
|
||||||
<link rel="stylesheet" href="/static/css/prism.css" />
|
<link rel="stylesheet" href="/static/css/prism.css" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
<p>Created at {{.CreatedAt}}</p>
|
<p>Created at {{.CreatedAt}}</p>
|
||||||
|
|
||||||
{{if .RawHTML}}
|
{{if .RawHTML}}
|
||||||
|
<article>
|
||||||
{{.RawHTML}}
|
{{.RawHTML}}
|
||||||
|
</article>
|
||||||
<br />
|
<br />
|
||||||
{{else}}
|
{{else}}
|
||||||
<div style="display:inline-block;">
|
<div style="display:inline-block;">
|
||||||
|
|
Loading…
Reference in a new issue