Foster Hangdaan
2dbc943aa1
This replaces all asset links to use the new public S3 bucket. It also upgrades several packages: - Simple Icons v10.2.0 to v13.9.0 - Tabler Icons v3.0.0/v2.47.0 to v3.14.0 - Monaspace v1.000 to v1.101
190 lines
3.6 KiB
CSS
190 lines
3.6 KiB
CSS
@import "normalize.css";
|
|
@import "fonts.css";
|
|
@import "theme.css";
|
|
@import "vars.css";
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: var(--font-sans);
|
|
background-color: var(--color-bg);
|
|
color: var(--color-fg);
|
|
|
|
> main {
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
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://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/quote.svg");
|
|
background-repeat: no-repeat !important;
|
|
background-size: contain !important;
|
|
}
|
|
&.info {
|
|
&::before {
|
|
background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/info-circle.svg");
|
|
}
|
|
color: var(--color-blue);
|
|
border-color: var(--color-blue);
|
|
}
|
|
&.success {
|
|
&::before {
|
|
background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/check.svg");
|
|
}
|
|
color: var(--color-success);
|
|
border-color: var(--color-success);
|
|
}
|
|
&.warning {
|
|
&::before {
|
|
background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/alert-triangle.svg");
|
|
}
|
|
color: var(--color-warn);
|
|
border-color: var(--color-warn);
|
|
}
|
|
&.danger {
|
|
&::before {
|
|
background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/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: var(--max-page-width);
|
|
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;
|
|
}
|
|
|
|
footer.body {
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: 0 auto;
|
|
max-width: var(--max-page-width);
|
|
border-top: 1px solid var(--color-fg);
|
|
width: 100%;
|
|
|
|
div.meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
}
|