aboutsummaryrefslogtreecommitdiff
path: root/static/css/hack.css
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-03-18 15:19:19 -0400
committerXe Iaso <me@xeiaso.net>2023-03-18 15:19:19 -0400
commit13475efda64dd9a89923df9bcd2acb9a53ba5d1c (patch)
treee2d202ef9a6a94521f090615ba58eb6fcdb0e444 /static/css/hack.css
parentccf0864e49a3dcf4c42c4a8a5f62877b45148cb4 (diff)
downloadxesite-13475efda64dd9a89923df9bcd2acb9a53ba5d1c.tar.xz
xesite-13475efda64dd9a89923df9bcd2acb9a53ba5d1c.zip
css: use Iosevka Iaso fonts
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'static/css/hack.css')
-rw-r--r--static/css/hack.css40
1 files changed, 27 insertions, 13 deletions
diff --git a/static/css/hack.css b/static/css/hack.css
index c531557..c8be19c 100644
--- a/static/css/hack.css
+++ b/static/css/hack.css
@@ -1,17 +1,32 @@
+@font-face {
+ font-family: "Iosevka Etoile Iaso";
+ font-weight: 100 900;
+ src: local("Iosevka Etoile Iaso"), url("iosevka/iosevka-etoile-regular.woff2") format("woff2"), url("iosevka/iosevka-etoile-italic.woff2") format("woff2");
+}
+
+@font-face {
+ font-family: "Iosevka Aile Iaso";
+ font-weight: 100 900;
+ src: local("Iosevka Aile Iaso"), url("iosevka/iosevka-aile-regular.woff2") format("woff2"), url("iosevka/iosevka-aile-italic.woff2") format("woff2");
+}
+
+@font-face {
+ font-family: "Iosevka Term Iaso";
+ font-weight: 100 900;
+ src: local("Iosevka Term Iaso"), url("iosevka/iosevka-curly-regular.woff2") format("woff2");
+}
+
html {
font-size: 14px;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
-* {
- box-sizing: border-box;
- text-rendering: geometricPrecision;
-}
body {
font-size: 1rem;
line-height: 1.75rem;
margin: 0;
- font-family: Menlo, monospace;
+ font-family: "Iosevka Aile Iaso", Menlo, monospace;
+ font-weight: 500;
word-wrap: break-word;
}
::selection {
@@ -33,6 +48,11 @@ pre code {
font-weight: 100;
text-shadow: none;
margin: 1.75rem 0;
+ font-size: 1.5rem;
+ font-family: "Iosevka Term Iaso", Menlo, monospace;
+}
+code {
+ font-family: "Iosevka Term Iaso", Menlo, monospace;
}
iframe {
max-width: 100%;
@@ -158,11 +178,10 @@ a:hover {
.hack p,
.hack .conversation-chat,
.hack blockquote,
-.hack em,
.hack strong {
font-size: 1rem;
font-style: normal;
- font-family: Menlo, monospace;
+ font-family: "Iosevka Aile Iaso", Menlo, monospace;
}
.hack blockquote,
.hack code,
@@ -246,11 +265,6 @@ a:hover {
left: 0;
line-height: 20px;
}
-.hack em:after,
-.hack em:before {
- content: "*";
- display: inline;
-}
.hack pre code:after,
.hack pre code:before {
display: none;
@@ -286,7 +300,7 @@ p {
margin: 0 0 1.75rem;
}
.container {
- max-width: 70rem;
+ max-width: 60rem;
}
.container,
.container-fluid {