feat: update content

This commit is contained in:
ryanchristo 2026-11-15 20:31:14 -08:00
parent 5a98111911
commit 6bb8c947a3
No known key found for this signature in database
44 changed files with 696 additions and 268 deletions

86
styles/banner.css Normal file
View file

@ -0,0 +1,86 @@
/* banner */
.banner {
align-items: center;
display: flex;
font-size: 1.5em;
justify-content: center;
min-height: 10vh;
padding: 2em 0;
text-align: center;
}
@media (max-width: 850px) {
.banner {
font-size: 1em;
}
}
.banner h1 {
font-size: 1.75em;
margin-top: 2.5%;
padding: 0.15em 0;
}
@media (max-width: 850px) {
.banner h1 {
padding: 0.1em 0 !important;
}
}
.banner p {
padding: 0.2em 0;
}
@media (max-width: 850px) {
.banner p {
padding: 0.15em 0 !important;
}
}
.banner p > i {
color: var(--color-theme);
}
/* banner-full */
.banner-full {
composes: banner;
min-height: calc(100vh - var(--header-height));
padding: 0;
}
.banner-full > div {
margin-bottom: calc(1% + var(--header-height));
}
/* banner-document */
.banner-document {
composes: banner;
font-size: 1em;
}
.banner-document h1 {
color: var(--color-theme);
font-size: 1.5em;
margin: 0.5em 0;
}
@media (max-width: 850px) {
.banner-document h1 {
font-size: 1.25em;
}
}
.banner-document h2,
.banner-document h3 {
color: var(--color-text);
font-size: 1em;
font-weight: 300;
opacity: 0.8;
}
.banner-document h3 {
margin-top: 1em;
}

73
styles/content.css Normal file
View file

@ -0,0 +1,73 @@
/* content */
.content {
align-items: center;
background: var(--background-primary);
display: flex;
font-size: 1.2em;
justify-content: center;
}
@media (max-width: 850px) {
.content {
font-size: 1em;
padding: 0 2em;
}
}
.content > div {
display: block;
max-width: 650px;
padding: 2em 0 4em 0;
}
@media (max-width: 850px) {
.content > div {
padding: 1em 0 2em 0;
}
}
.content > div > h1 {
font-size: 1.8em;
padding: 0.5em 0;
}
.content > div > h2 {
padding: 0.25em 0;
}
@media (max-width: 850px) {
.content > div > h2 {
padding-bottom: 0;
}
}
.content > div > p {
padding: 1em 0;
}
.content > div > a {
display: block;
}
.content ul {
list-style-position: inside;
}
.content li {
line-height: 1.75;
}
.content hr {
border: 1px solid var(--box-shadow-color);
border-bottom-width: 0;
box-shadow: 0 0 1px var(--box-shadow-color);
margin: 5vh 0;
}
/* content-full */
.content-full {
composes: content;
min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

61
styles/page.css Normal file
View file

@ -0,0 +1,61 @@
/* page */
.page {
margin-top: var(--header-height);
min-height: calc(100vh - var(--header-height) - var(--footer-height));
}
/* page-center */
.page-center {
composes: page;
align-items: center;
display: flex;
justify-content: center;
text-align: center;
}
.page-center > div {
margin-bottom: 10vh;
}
/* page-center-not-found */
.page-center-not-found {
composes: page-center;
background: var(--background-primary);
}
@media (max-width: 850px) {
.page-center-not-found {
padding: 0 1.5em;
}
}
.page-center-not-found h1 {
color: var(--color-theme);
font-size: 3em;
margin-bottom: 0.25em;
}
@media (max-width: 850px) {
.page-center-not-found h1 {
font-size: 2em;
}
}
.page-center-not-found h2 {
font-size: 2em;
font-weight: 300;
margin-bottom: 0.5em;
}
@media (max-width: 850px) {
.page-center-not-found h2 {
font-size: 1.25em;
}
}
.page-center-not-found p {
font-style: italic;
}