160 lines
3.1 KiB
CSS
160 lines
3.1 KiB
CSS
@import "normalize.css";
|
|
@import "fonts.css";
|
|
@import "theme.css";
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
background-color: var(--color-bg);
|
|
color: var(--color-fg);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-sans-alt);
|
|
color: var(--color-headings);
|
|
}
|
|
|
|
a {
|
|
color: var(--color-links);
|
|
}
|
|
|
|
p {
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
pre {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
border-radius: 5px;
|
|
display: block;
|
|
overflow: auto;
|
|
page-break-inside: avoid;
|
|
word-wrap: break-word;
|
|
font-family: var(--font-mono);
|
|
font-weight: 500;
|
|
background-color: var(--color-bg-01);
|
|
padding: 1rem;
|
|
}
|
|
|
|
.inline {
|
|
display: inline;
|
|
}
|
|
|
|
blockquote {
|
|
position: relative;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--color-black);
|
|
border-left: 3rem solid var(--color-black);
|
|
padding: 1em;
|
|
margin: 1em 0;
|
|
&::before {
|
|
display: block;
|
|
position: absolute;
|
|
height: 1.5rem;
|
|
width: 1.5rem;
|
|
top: 50%;
|
|
margin-top: -0.75rem;
|
|
left: calc(-0.75rem - 1.5rem);
|
|
filter: var(--filter-bg);
|
|
content: "";
|
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/quote.svg");
|
|
background-repeat: no-repeat !important;
|
|
background-size: contain !important;
|
|
}
|
|
&.info {
|
|
&::before {
|
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg");
|
|
}
|
|
color: var(--color-blue);
|
|
border-color: var(--color-blue);
|
|
}
|
|
&.success {
|
|
&::before {
|
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg");
|
|
}
|
|
color: var(--color-success);
|
|
border-color: var(--color-success);
|
|
}
|
|
&.warning {
|
|
&::before {
|
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg");
|
|
}
|
|
color: var(--color-warn);
|
|
border-color: var(--color-warn);
|
|
}
|
|
&.danger {
|
|
&::before {
|
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg");
|
|
}
|
|
color: var(--color-error);
|
|
border-color: var(--color-error);
|
|
}
|
|
> p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
> p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
details {
|
|
> summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
list-style: none;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
font-size: 1.4rem;
|
|
color: var(--color-green);
|
|
border-top: 1px solid var(--color-white);
|
|
|
|
&:hover {
|
|
background-color: var(--color-bg-01);
|
|
}
|
|
}
|
|
|
|
div.content {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.home-container {
|
|
margin: 0 auto;
|
|
max-width: 48rem;
|
|
padding: 1rem;
|
|
|
|
> div.preamble {
|
|
margin: 2rem auto;
|
|
}
|
|
}
|
|
|
|
img.icon {
|
|
max-width: 1.5rem;
|
|
filter: var(--filter-green)
|
|
}
|
|
|
|
img.qrcode {
|
|
width: 16rem;
|
|
}
|
|
|
|
div.tag {
|
|
font-size: 0.8rem;
|
|
font-weight: normal;
|
|
font-family: var(--font-mono);
|
|
display: inline-block;
|
|
border-radius: 14px;
|
|
background-color: var(--color-yellow);
|
|
color: var(--color-bg);
|
|
padding: 0.3em 0.8em;
|
|
}
|