2023-07-23 20:21:43 -04:00
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
color: var(--color-fg);
|
|
|
|
background: var(--color-bg);
|
|
|
|
transition: color 0.5s, background-color 0.5s;
|
2023-07-27 22:51:48 -04:00
|
|
|
font-family: var(--font--sans-serif);
|
2023-07-23 20:21:43 -04:00
|
|
|
font-size: var(--text-base);
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2023-08-03 19:31:43 -04:00
|
|
|
main {
|
|
|
|
padding: 0 1rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: var(--page--max-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2023-08-03 21:39:44 -04:00
|
|
|
color: var(--color-headings);
|
2023-08-03 19:31:43 -04:00
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
border-bottom: 1px solid var(--color-black);
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2023-07-26 23:03:23 -04:00
|
|
|
p {
|
2023-08-03 19:31:43 -04:00
|
|
|
margin-top: 1rem;
|
2023-07-26 23:03:23 -04:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-07-23 20:21:43 -04:00
|
|
|
a {
|
|
|
|
color: var(--color-links);
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol, ul {
|
2023-07-25 02:59:32 -04:00
|
|
|
li {
|
|
|
|
margin-bottom: 0.4rem;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-02 20:44:01 -04:00
|
|
|
ul {
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
|
2023-07-25 02:59:32 -04:00
|
|
|
hr {
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-black);
|
|
|
|
border: none;
|
|
|
|
margin-top: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-08-02 20:44:01 -04:00
|
|
|
code {
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
border-radius: 3px;
|
|
|
|
background-color: var(--color-bg--layer-01);
|
|
|
|
font-family: var(--font--mono);
|
|
|
|
}
|
|
|
|
|
2023-07-25 02:59:32 -04:00
|
|
|
pre {
|
|
|
|
padding: 1rem;
|
|
|
|
border-radius: 5px;
|
|
|
|
display: block;
|
|
|
|
background-color: var(--color-bg--layer-01);
|
|
|
|
overflow: auto;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
word-wrap: break-word;
|
2023-07-27 22:51:48 -04:00
|
|
|
font-family: var(--font--mono);
|
2023-07-25 02:59:32 -04:00
|
|
|
code {
|
2023-08-02 20:44:01 -04:00
|
|
|
padding: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
background-color: transparent;
|
2023-07-25 02:59:32 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-26 21:50:00 -04:00
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
2023-08-02 20:13:41 -04:00
|
|
|
|
|
|
|
blockquote {
|
2023-08-03 20:50:31 -04:00
|
|
|
position: relative;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid var(--color-black);
|
|
|
|
border-left: 3rem solid var(--color-black);
|
|
|
|
padding: 1rem;
|
|
|
|
margin: 1rem 0;
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -12px;
|
|
|
|
left: calc(-0.75rem - 24px);
|
|
|
|
content: url("https://static.fosterhangdaan.com/icons/tabler-icons/svg/quote.svg");
|
|
|
|
}
|
|
|
|
&.info {
|
|
|
|
&::before {
|
|
|
|
content: url("https://static.fosterhangdaan.com/icons/tabler-icons/svg/info-circle.svg");
|
|
|
|
}
|
|
|
|
color: var(--color-blue);
|
|
|
|
border-color: var(--color-blue);
|
|
|
|
}
|
|
|
|
&.success {
|
|
|
|
&::before {
|
|
|
|
content: url("https://static.fosterhangdaan.com/icons/tabler-icons/svg/check.svg");
|
|
|
|
}
|
2023-08-02 20:13:41 -04:00
|
|
|
color: var(--color-green);
|
2023-08-03 20:50:31 -04:00
|
|
|
border-color: var(--color-green);
|
2023-08-02 20:13:41 -04:00
|
|
|
}
|
2023-08-03 20:50:31 -04:00
|
|
|
&.warning {
|
|
|
|
&::before {
|
|
|
|
content: url("https://static.fosterhangdaan.com/icons/tabler-icons/svg/alert-triangle.svg");
|
2023-08-02 20:13:41 -04:00
|
|
|
}
|
2023-08-03 20:50:31 -04:00
|
|
|
color: var(--color-warn);
|
|
|
|
border-color: var(--color-warn);
|
2023-08-02 20:13:41 -04:00
|
|
|
}
|
|
|
|
&.danger {
|
2023-08-03 20:50:31 -04:00
|
|
|
&::before {
|
|
|
|
content: url("https://static.fosterhangdaan.com/icons/tabler-icons/svg/circle-x.svg");
|
2023-08-02 20:13:41 -04:00
|
|
|
}
|
2023-08-03 20:50:31 -04:00
|
|
|
color: var(--color-error);
|
|
|
|
border-color: var(--color-error);
|
|
|
|
}
|
|
|
|
> p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
> p:last-child {
|
|
|
|
margin-bottom: 0;
|
2023-08-02 20:13:41 -04:00
|
|
|
}
|
|
|
|
}
|