1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.hig@use "@styles/abstracts/variables" as var;
@use "sass:math";
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-Bold.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-Bold.woff") format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-BoldItalic.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-BoldItalic.woff") format("woff");
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-SemiBold.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-SemiBold.woff") format("woff");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-SemiBoldItalic.woff2")
format("woff2"),
url("../../assets/fonts/Kanit/Kanit-SemiBoldItalic.woff") format("woff");
font-weight: 600;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-Medium.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-Medium.woff") format("woff");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-MediumItalic.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-MediumItalic.woff") format("woff");
font-weight: 500;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-Regular.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-Regular.woff") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-Italic.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-Italic.woff") format("woff");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-Light.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-Light.woff") format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Kanit;
src: url("../../assets/fonts/Kanit/Kanit-LightItalic.woff2") format("woff2"),
url("../../assets/fonts/Kanit/Kanit-LightItalic.woff") format("woff");
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Inter;
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url("../../assets/fonts/Inter/Inter.woff2?v=3.18") format("woff2");
}
@font-face {
font-family: Cousine;
src: url("../../assets/fonts/Cousine/Cousine-Bold.woff2") format("woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Cousine;
src: url("../../assets/fonts/Cousine/Cousine-BoldItalic.woff2")
format("woff2");
font-weight: 600;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Cousine;
src: url("../../assets/fonts/Cousine/Cousine-Italic.woff2") format("woff2");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Cousine;
src: url("../../assets/fonts/Cousine/Cousine-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
:root {
--font-family-primary: #{var.$font-family_primary};
--font-family-secondary: #{var.$font-family_secondary};
--font-family-mono: #{var.$font-family_mono};
--font-size-sm: clamp(
#{math.div(var.font-size("sm"), 1.2)},
1ex + 1vw,
#{var.font-size("sm")}
);
--font-size-md: clamp(
#{var.font-size("sm")},
1ex + 2vw,
#{var.font-size("md")}
);
--font-size-lg: clamp(
#{var.font-size("md")},
1ex + 3vw,
#{var.font-size("lg")}
);
--font-size-xl: clamp(
#{var.font-size("lg")},
1ex + 4vw,
#{var.font-size("xl")}
);
--font-size-2xl: clamp(
#{var.font-size("xl")},
1ex + 5vw,
#{var.font-size("2xl")}
);
--font-size-3xl: clamp(
#{var.font-size("2xl")},
1ex + 6vw,
#{var.font-size("3xl")}
);
--line-height: #{var.$line-height};
}
|