Colors and other stuff
Some checks failed
/ get-version (push) Successful in 3s
/ astro-check (push) Failing after 9s
/ checking (push) Failing after 8s
/ create-release (push) Has been skipped
/ check-tag (push) Successful in 2s
/ build-site (push) Has been skipped
/ auto-deploy-dockge (push) Has been skipped
/ run-unlighthouse (push) Has been skipped

This commit is contained in:
Firq 2024-10-24 18:52:33 +02:00
parent aab26e63b2
commit 34e24346d1
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
25 changed files with 234 additions and 272 deletions

44
package-lock.json generated
View file

@ -2360,7 +2360,7 @@
"@types/estree-jsx": "^1.0.0", "@types/estree-jsx": "^1.0.0",
"@types/hast": "^3.0.0", "@types/hast": "^3.0.0",
"@types/mdx": "^2.0.0", "@types/mdx": "^2.0.0",
"collapse-white-space": "^2.0.0", "collapse-var(--c-primary-text)-space": "^2.0.0",
"devlop": "^1.0.0", "devlop": "^1.0.0",
"estree-util-build-jsx": "^3.0.0", "estree-util-build-jsx": "^3.0.0",
"estree-util-is-identifier-name": "^3.0.0", "estree-util-is-identifier-name": "^3.0.0",
@ -3535,9 +3535,9 @@
"node": ">=6" "node": ">=6"
} }
}, },
"node_modules/collapse-white-space": { "node_modules/collapse-var(--c-primary-text)-space": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", "resolved": "https://registry.npmjs.org/collapse-var(--c-primary-text)-space/-/collapse-var(--c-primary-text)-space-2.1.0.tgz",
"integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==", "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==",
"funding": { "funding": {
"type": "github", "type": "github",
@ -4297,7 +4297,7 @@
"devlop": "^1.0.0", "devlop": "^1.0.0",
"estree-util-attach-comments": "^3.0.0", "estree-util-attach-comments": "^3.0.0",
"estree-util-is-identifier-name": "^3.0.0", "estree-util-is-identifier-name": "^3.0.0",
"hast-util-whitespace": "^3.0.0", "hast-util-var(--c-primary-text)space": "^3.0.0",
"mdast-util-mdx-expression": "^2.0.0", "mdast-util-mdx-expression": "^2.0.0",
"mdast-util-mdx-jsx": "^3.0.0", "mdast-util-mdx-jsx": "^3.0.0",
"mdast-util-mdxjs-esm": "^2.0.0", "mdast-util-mdxjs-esm": "^2.0.0",
@ -4321,7 +4321,7 @@
"@types/unist": "^3.0.0", "@types/unist": "^3.0.0",
"ccount": "^2.0.0", "ccount": "^2.0.0",
"comma-separated-tokens": "^2.0.0", "comma-separated-tokens": "^2.0.0",
"hast-util-whitespace": "^3.0.0", "hast-util-var(--c-primary-text)space": "^3.0.0",
"html-void-elements": "^3.0.0", "html-void-elements": "^3.0.0",
"mdast-util-to-hast": "^13.0.0", "mdast-util-to-hast": "^13.0.0",
"property-information": "^6.0.0", "property-information": "^6.0.0",
@ -4345,7 +4345,7 @@
"comma-separated-tokens": "^2.0.0", "comma-separated-tokens": "^2.0.0",
"devlop": "^1.0.0", "devlop": "^1.0.0",
"estree-util-is-identifier-name": "^3.0.0", "estree-util-is-identifier-name": "^3.0.0",
"hast-util-whitespace": "^3.0.0", "hast-util-var(--c-primary-text)space": "^3.0.0",
"mdast-util-mdx-expression": "^2.0.0", "mdast-util-mdx-expression": "^2.0.0",
"mdast-util-mdx-jsx": "^3.0.0", "mdast-util-mdx-jsx": "^3.0.0",
"mdast-util-mdxjs-esm": "^2.0.0", "mdast-util-mdxjs-esm": "^2.0.0",
@ -4406,9 +4406,9 @@
"url": "https://opencollective.com/unified" "url": "https://opencollective.com/unified"
} }
}, },
"node_modules/hast-util-whitespace": { "node_modules/hast-util-var(--c-primary-text)space": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", "resolved": "https://registry.npmjs.org/hast-util-var(--c-primary-text)space/-/hast-util-var(--c-primary-text)space-3.0.0.tgz",
"integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
"dependencies": { "dependencies": {
"@types/hast": "^3.0.0" "@types/hast": "^3.0.0"
@ -5201,7 +5201,7 @@
"micromark-factory-label": "^2.0.0", "micromark-factory-label": "^2.0.0",
"micromark-factory-space": "^2.0.0", "micromark-factory-space": "^2.0.0",
"micromark-factory-title": "^2.0.0", "micromark-factory-title": "^2.0.0",
"micromark-factory-whitespace": "^2.0.0", "micromark-factory-var(--c-primary-text)space": "^2.0.0",
"micromark-util-character": "^2.0.0", "micromark-util-character": "^2.0.0",
"micromark-util-chunked": "^2.0.0", "micromark-util-chunked": "^2.0.0",
"micromark-util-classify-character": "^2.0.0", "micromark-util-classify-character": "^2.0.0",
@ -5530,9 +5530,9 @@
"micromark-util-types": "^2.0.0" "micromark-util-types": "^2.0.0"
} }
}, },
"node_modules/micromark-factory-whitespace": { "node_modules/micromark-factory-var(--c-primary-text)space": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.0.tgz", "resolved": "https://registry.npmjs.org/micromark-factory-var(--c-primary-text)space/-/micromark-factory-var(--c-primary-text)space-2.0.0.tgz",
"integrity": "sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==", "integrity": "sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==",
"funding": [ "funding": [
{ {
@ -9505,7 +9505,7 @@
"@types/estree-jsx": "^1.0.0", "@types/estree-jsx": "^1.0.0",
"@types/hast": "^3.0.0", "@types/hast": "^3.0.0",
"@types/mdx": "^2.0.0", "@types/mdx": "^2.0.0",
"collapse-white-space": "^2.0.0", "collapse-var(--c-primary-text)-space": "^2.0.0",
"devlop": "^1.0.0", "devlop": "^1.0.0",
"estree-util-build-jsx": "^3.0.0", "estree-util-build-jsx": "^3.0.0",
"estree-util-is-identifier-name": "^3.0.0", "estree-util-is-identifier-name": "^3.0.0",
@ -10343,9 +10343,9 @@
"resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
"integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==" "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="
}, },
"collapse-white-space": { "collapse-var(--c-primary-text)-space": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", "resolved": "https://registry.npmjs.org/collapse-var(--c-primary-text)-space/-/collapse-var(--c-primary-text)-space-2.1.0.tgz",
"integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==" "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw=="
}, },
"color": { "color": {
@ -10865,7 +10865,7 @@
"devlop": "^1.0.0", "devlop": "^1.0.0",
"estree-util-attach-comments": "^3.0.0", "estree-util-attach-comments": "^3.0.0",
"estree-util-is-identifier-name": "^3.0.0", "estree-util-is-identifier-name": "^3.0.0",
"hast-util-whitespace": "^3.0.0", "hast-util-var(--c-primary-text)space": "^3.0.0",
"mdast-util-mdx-expression": "^2.0.0", "mdast-util-mdx-expression": "^2.0.0",
"mdast-util-mdx-jsx": "^3.0.0", "mdast-util-mdx-jsx": "^3.0.0",
"mdast-util-mdxjs-esm": "^2.0.0", "mdast-util-mdxjs-esm": "^2.0.0",
@ -10885,7 +10885,7 @@
"@types/unist": "^3.0.0", "@types/unist": "^3.0.0",
"ccount": "^2.0.0", "ccount": "^2.0.0",
"comma-separated-tokens": "^2.0.0", "comma-separated-tokens": "^2.0.0",
"hast-util-whitespace": "^3.0.0", "hast-util-var(--c-primary-text)space": "^3.0.0",
"html-void-elements": "^3.0.0", "html-void-elements": "^3.0.0",
"mdast-util-to-hast": "^13.0.0", "mdast-util-to-hast": "^13.0.0",
"property-information": "^6.0.0", "property-information": "^6.0.0",
@ -10905,7 +10905,7 @@
"comma-separated-tokens": "^2.0.0", "comma-separated-tokens": "^2.0.0",
"devlop": "^1.0.0", "devlop": "^1.0.0",
"estree-util-is-identifier-name": "^3.0.0", "estree-util-is-identifier-name": "^3.0.0",
"hast-util-whitespace": "^3.0.0", "hast-util-var(--c-primary-text)space": "^3.0.0",
"mdast-util-mdx-expression": "^2.0.0", "mdast-util-mdx-expression": "^2.0.0",
"mdast-util-mdx-jsx": "^3.0.0", "mdast-util-mdx-jsx": "^3.0.0",
"mdast-util-mdxjs-esm": "^2.0.0", "mdast-util-mdxjs-esm": "^2.0.0",
@ -10956,9 +10956,9 @@
"unist-util-find-after": "^5.0.0" "unist-util-find-after": "^5.0.0"
} }
}, },
"hast-util-whitespace": { "hast-util-var(--c-primary-text)space": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", "resolved": "https://registry.npmjs.org/hast-util-var(--c-primary-text)space/-/hast-util-var(--c-primary-text)space-3.0.0.tgz",
"integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
"requires": { "requires": {
"@types/hast": "^3.0.0" "@types/hast": "^3.0.0"
@ -11506,7 +11506,7 @@
"micromark-factory-label": "^2.0.0", "micromark-factory-label": "^2.0.0",
"micromark-factory-space": "^2.0.0", "micromark-factory-space": "^2.0.0",
"micromark-factory-title": "^2.0.0", "micromark-factory-title": "^2.0.0",
"micromark-factory-whitespace": "^2.0.0", "micromark-factory-var(--c-primary-text)space": "^2.0.0",
"micromark-util-character": "^2.0.0", "micromark-util-character": "^2.0.0",
"micromark-util-chunked": "^2.0.0", "micromark-util-chunked": "^2.0.0",
"micromark-util-classify-character": "^2.0.0", "micromark-util-classify-character": "^2.0.0",
@ -11731,9 +11731,9 @@
"micromark-util-types": "^2.0.0" "micromark-util-types": "^2.0.0"
} }
}, },
"micromark-factory-whitespace": { "micromark-factory-var(--c-primary-text)space": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.0.tgz", "resolved": "https://registry.npmjs.org/micromark-factory-var(--c-primary-text)space/-/micromark-factory-var(--c-primary-text)space-2.0.0.tgz",
"integrity": "sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==", "integrity": "sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==",
"requires": { "requires": {
"micromark-factory-space": "^2.0.0", "micromark-factory-space": "^2.0.0",

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.30", "version": "0.2.0-pre.32",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -41,21 +41,21 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
width: 100%; width: 100%;
} }
p { p {
color: white; color: var(--c-primary-text);
text-align: left; text-align: left;
font-size: 1.1em; font-size: 1.1em;
margin: 0.5em; margin: 0.5em;
} }
article > h2 { article > h2 {
margin: 0.3rem 0.5rem; margin: 0.3rem 0.5rem;
color: var(--c-darkpurple); color: var(--c-accent-1);
font-size: 1.5rem; font-size: 1.5rem;
line-height: normal; line-height: normal;
text-decoration: none; text-decoration: none;
} }
article > h3 { article > h3 {
margin: 0.2em 0.5rem; margin: 0.2em 0.5rem;
color: white; color: var(--c-primary-text);
font-size: 1rem; font-size: 1rem;
line-height: normal; line-height: normal;
text-decoration: none; text-decoration: none;
@ -68,19 +68,13 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
align-items: center; align-items: center;
align-content: center; align-content: center;
justify-content: center; justify-content: center;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
padding: 10px; padding: 10px;
text-align: center; text-align: center;
transition: transform var(--speed) var(--ease);
min-height: 100%; min-height: 100%;
border-radius: 1.25rem; border-radius: 1.25rem;
} }
a:hover > article {
transform: scaleY(102.5%) scaleX(101%);
transition: transform var(--speed) var(--ease);
}
@media (min-width: 900px) { @media (min-width: 900px) {
.circle { .circle {
margin: 1rem 0.5rem 1rem 0.5rem; margin: 1rem 0.5rem 1rem 0.5rem;
@ -89,12 +83,12 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
visibility: visible; visibility: visible;
height: 1rem; height: 1rem;
width: 1rem; width: 1rem;
background-color: var(--c-darkpurple); background-color: var(--c-accent-1);
border-style: solid; border-style: solid;
border-width: 0.25rem; border-width: 0.25rem;
border-color: var(--c-lightgray); border-color: var(--c-secondary-background);
border-radius: 40%; border-radius: 40%;
transition: transform var(--speed) var(--ease); transition: all var(--a-time-short) var(--a-animation-1);
} }
a:hover > .circle { a:hover > .circle {
@ -105,14 +99,14 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
} }
a:hover article { a:hover article {
border-color: var(--c-darkpurple); border-color: var(--c-accent-1);
transform: none; transform: none;
} }
article { article {
border-style: solid; border-style: solid;
border-width: 2px; border-width: 2px;
border-color: var(--c-darkergray); border-color: var(--c-primary-background);
align-items: flex-start; align-items: flex-start;
align-content: flex-start; align-content: flex-start;
margin-left: 0.5rem; margin-left: 0.5rem;

View file

@ -35,8 +35,8 @@ const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
article { article {
border-radius: 1.25rem; border-radius: 1.25rem;
border: 2px var(--c-darkgray) solid; border: 2px var(--c-primary-background) solid;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
width: 35%; width: 35%;
height: auto; height: auto;
justify-content: center; justify-content: center;
@ -53,7 +53,7 @@ const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
} }
article:hover { article:hover {
border: 2px var(--c-darkpurple) solid; border: 2px var(--c-accent-1) solid;
} }
article div { article div {

View file

@ -10,7 +10,6 @@ export interface Props {
} }
const { imageFile, link, site } = Astro.props const { imageFile, link, site } = Astro.props
const logoAltText = `${site} Logo`
const imagePath = `/src/assets/social/${imageFile}` const imagePath = `/src/assets/social/${imageFile}`
const images_logos = import.meta.glob<GlobImage>( const images_logos = import.meta.glob<GlobImage>(
'/src/assets/social/*.{png,webp}' '/src/assets/social/*.{png,webp}'
@ -25,12 +24,12 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
aria-label=`${site} - new window` aria-label=`${site} - new window`
> >
<article class="contact do-hover"> <article class="contact do-hover">
<Image src={loadedLogoImage} alt="" loading={'eager'} width={150} height={150} quality={100}/> <Image src={loadedLogoImage} alt="" loading={'eager'} width={128} height={128} quality={100}/>
<div> <div>
<h2>{site}</h2> <h2>{site}</h2>
</div> </div>
</article> </article>
<span class="visually-hidden">{logoAltText}</span> <span class="visually-hidden">{site}</span>
</a> </a>
<style> <style>
@ -39,64 +38,52 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
} }
article { article {
--size-value: 6.25rem;
border-radius: 1.25rem;
display: flex; display: flex;
justify-content: center; position: relative;
align-items: center; align-items: center;
background-color: var(--c-darkergray); justify-content: center;
border-color: var(--c-darkgray);
padding: 10px;
text-align: center; text-align: center;
transition: transform var(--speed) var(--ease); background-color: var(--c-primary-background);
border: 2px solid var(--c-primary-background);
border-radius: 1.25rem;
padding: 6px;
height: auto; height: auto;
width: auto; width: auto;
position: relative;
} }
article img { article img {
border-radius: 1.25rem; border-radius: 1.25rem;
width: var(--size-value); width: 80px;
height: var(--size-value); height: auto;
}
article:hover div {
border-radius: 1.25rem;
padding: 0 0.5rem;
margin: unset;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background-color: var(--c-darkgray);
height: calc(var(--size-value));
width: calc(var(--size-value) - 1rem);
opacity: 90%;
border-style: solid;
border-width: 10px;
border-color: var(--c-darkgray);
z-index: 100;
position: absolute;
}
article:hover h2 {
margin: 0;
display: inline-flex;
font-weight: bold;
color: white;
font-size: 18px;
}
article h2 {
position: absolute;
display: none;
} }
article div { article div {
display: none; display: none;
} }
a:hover { article:hover {
transform: scale(var(--hover-scale)); border-color: var(--c-accent-1);
}
article:hover div {
display: flex;
position: absolute;
margin: unset;
align-items: center;
justify-content: center;
text-align: center;
background-color: var(--c-primary-background);
border-radius: 1.25rem;
width: 80px;
height: 80px;
opacity: 90%;
z-index: 100;
}
article:hover h2 {
display: inline-flex;
font-size: 16px;
font-weight: 500;
color: var(--c-primary-text);
} }
</style> </style>

View file

@ -38,7 +38,7 @@ const loadedImage = plsLoadImage(images, imagePath)
min-height: 2.5rem; min-height: 2.5rem;
line-height: 1.75rem; line-height: 1.75rem;
font-size: 24px; font-size: 24px;
color: white; color: var(--c-primary-text);
max-width: 200px; max-width: 200px;
padding-bottom: 0.3rem; padding-bottom: 0.3rem;
font-weight: bold; font-weight: bold;
@ -52,19 +52,18 @@ const loadedImage = plsLoadImage(images, imagePath)
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
padding: 0em 0.25em; padding: 0em 0.25em;
width: max(40%, 128px); width: max(40%, 128px);
height: auto; height: auto;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
transition: transform var(--speed) var(--ease);
text-decoration: none; text-decoration: none;
border: 2px var(--c-darkgray) solid; border: 2px var(--c-primary-background) solid;
&:hover { &:hover {
border: 2px var(--c-darkpurple) solid; border: 2px var(--c-accent-1) solid;
} }
img { img {
@ -87,7 +86,7 @@ const loadedImage = plsLoadImage(images, imagePath)
} }
.subtext { .subtext {
color: white; color: var(--c-primary-text);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
margin: 0.5rem; margin: 0.5rem;

View file

@ -48,15 +48,15 @@ let loading: "eager" | "lazy" = index <= 3 ? "eager" : "lazy";
<style> <style>
article:hover { article:hover {
transform: scale(1); transform: scale(1);
border-color: var(--c-darkpurple); border-color: var(--c-accent-1);
} }
article { article {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
border: 2px var(--c-darkgray) solid; border: 2px var(--c-primary-background) solid;
padding: 10px; padding: 10px;
width: max(30%, 100px); width: max(30%, 100px);
height: auto; height: auto;
@ -73,7 +73,7 @@ let loading: "eager" | "lazy" = index <= 3 ? "eager" : "lazy";
margin-top: 0.75rem; margin-top: 0.75rem;
} }
.subtext { .subtext {
color: white; color: var(--c-primary-text);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
margin: 5; margin: 5;
@ -81,8 +81,8 @@ let loading: "eager" | "lazy" = index <= 3 ? "eager" : "lazy";
} }
.expand-on-hover { .expand-on-hover {
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
border: 2px var(--c-darkpurple) solid; border: 2px var(--c-accent-1) solid;
border-top: 0px; border-top: 0px;
z-index: 99; z-index: 99;
transform: scaleY(0); transform: scaleY(0);
@ -95,7 +95,7 @@ let loading: "eager" | "lazy" = index <= 3 ? "eager" : "lazy";
article:hover .expand-on-hover { article:hover .expand-on-hover {
transform: scaleY(1); transform: scaleY(1);
transition: transform 200ms ease-in-out; transition: all var(--a-time-default) var(--a-animation-1);
} }
.bond-ce { .bond-ce {

View file

@ -62,8 +62,8 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
border: 2px var(--c-darkgray) solid; border: 2px var(--c-primary-background) solid;
padding: 10px; padding: 10px;
text-align: center; text-align: center;
width: max(30%, 100px); width: max(30%, 100px);
@ -76,7 +76,7 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
a:hover { a:hover {
transform: scale(1); transform: scale(1);
border-color: var(--c-darkpurple); border-color: var(--c-accent-1);
z-index: 10; z-index: 10;
} }
@ -98,11 +98,11 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
align-items: center; align-items: center;
justify-content: center; justify-content: center;
text-align: center; text-align: center;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
width: 100%; width: 100%;
height: 100%; height: 100%;
opacity: 90%; opacity: 90%;
box-shadow: 0px 0px 0px 1px var(--c-darkgray); box-shadow: 0px 0px 0px 1px var(--c-primary-background);
border-radius: 1.25rem; border-radius: 1.25rem;
} }
@ -110,7 +110,7 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
margin: 4px; margin: 4px;
display: inline-flex; display: inline-flex;
font-weight: 500; font-weight: 500;
color: white; color: var(--c-primary-text);
font-size: 1rem; font-size: 1rem;
line-height: 150%; line-height: 150%;
} }
@ -128,7 +128,7 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
align-items: center; align-items: center;
line-height: 100%; line-height: 100%;
text-decoration: none; text-decoration: none;
color: white; color: var(--c-primary-text);
font-size: 1rem; font-size: 1rem;
font-weight: 400; font-weight: 400;
margin: 0.5rem 0px 0.25rem 0px; margin: 0.5rem 0px 0.25rem 0px;
@ -140,8 +140,8 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
flex-wrap: wrap; flex-wrap: wrap;
align-items: top; align-items: top;
justify-content: space-evenly; justify-content: space-evenly;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
border: 2px var(--c-darkpurple) solid; border: 2px var(--c-accent-1) solid;
border-top: 0px; border-top: 0px;
z-index: 99; z-index: 99;
transform: scaleY(0); transform: scaleY(0);
@ -150,7 +150,7 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
top: 90%; top: 90%;
padding-top: 0.5rem; padding-top: 0.5rem;
margin-top: 0.2rem; margin-top: 0.2rem;
color: white; color: var(--c-primary-text);
border-radius: 0px 0px 1.25rem 1.25rem; border-radius: 0px 0px 1.25rem 1.25rem;
width: 100%; width: 100%;
} }
@ -168,8 +168,8 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none'
a:hover .expand-on-hover { a:hover .expand-on-hover {
transform: scaleY(1); transform: scaleY(1);
transition: transform 200ms ease-in-out; transition: transform var(--a-time-default) var(--a-animation-1);
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
} }
@media (min-width: 512px) { @media (min-width: 512px) {

View file

@ -31,64 +31,54 @@ const loadedImage = plsLoadImage(images_logos, imagePath)
a { a {
text-decoration: none; text-decoration: none;
} }
article { article {
--size-value: 6.25rem;
background-color: var(--c-darkergray);
border-color: var(--c-darkgray);
padding: 10px;
display: flex; display: flex;
justify-content: center; position: relative;
align-items: center; align-items: center;
justify-content: center;
text-align: center; text-align: center;
transition: transform var(--speed) var(--ease); background-color: var(--c-primary-background);
border: 2px solid var(--c-primary-background);
border-radius: 1.25rem;
padding: 6px;
height: auto; height: auto;
width: auto; width: auto;
line-height: 100px;
border-radius: 1.25rem;
position: relative;
}
article:hover {
transform: scale(var(--hover-scale));
}
article > img {
border-radius: 1.25rem;
width: var(--size-value);
height: var(--size-value);
} }
article:hover div { article img {
border-radius: 1.25rem; border-radius: 1.25rem;
padding: 0 0.5rem; width: 80px;
display: flex; height: auto;
align-items: center;
justify-content: center;
text-align: center;
background-color: var(--c-darkgray);
height: calc(var(--size-value));
width: calc(var(--size-value) - 1rem);
opacity: 90%;
z-index: 100;
position: absolute;
border-style: solid;
border-width: 10px;
border-color: var(--c-darkgray);
}
article:hover h2 {
margin: 0;
position: absolute;
display: inline-flex;
font-weight: bold;
color: white;
font-size: 18px;
line-height: 150%;
}
article h2 {
display: none;
} }
article div { article div {
display: none; display: none;
} }
article:hover {
border-color: var(--c-accent-1);
}
article:hover div {
display: flex;
position: absolute;
margin: unset;
align-items: center;
justify-content: center;
text-align: center;
background-color: var(--c-primary-background);
border-radius: 1.25rem;
width: 80px;
height: 80px;
opacity: 90%;
z-index: 100;
}
article:hover h2 {
display: inline-flex;
font-size: 16px;
font-weight: 500;
color: var(--c-primary-text);
}
</style> </style>

View file

@ -10,7 +10,7 @@ const display = fadeout ? "": "display: none"
<span> <span>
I am currently creating a site to catalogue past and future TAs for the whole community. I am currently creating a site to catalogue past and future TAs for the whole community.
</span> </span>
<a href=`https://fgo-ta.com/`><span class="fancy">Visit fgo-ta.com &gt;&gt;</span></a> <a href=`https://fgo-ta.com/` target="_blank" rel="noopener noreferrer"><span class="fancy">Visit fgo-ta.com &gt;&gt;</span></a>
<div class="fade" style={display}></div> <div class="fade" style={display}></div>
</div> </div>
@ -20,11 +20,11 @@ const display = fadeout ? "": "display: none"
width: 100%; width: 100%;
flex-wrap: nowrap; flex-wrap: nowrap;
flex-flow: column; flex-flow: column;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
text-align: center; text-align: center;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: white; color: var(--c-primary-text);
font-size: 1.5em; font-size: 1.5em;
padding: 2rem 0rem 0rem 0rem; padding: 2rem 0rem 0rem 0rem;
font-weight: 400; font-weight: 400;
@ -34,33 +34,33 @@ const display = fadeout ? "": "display: none"
a { a {
font-weight: 500; font-weight: 500;
font-family: 'Work Sans Variable', sans-serif; font-family: 'Work Sans Variable', sans-serif;
color: white; color: var(--c-primary-text);
margin: 1rem 0px 0px; margin: 1rem 0px 0px;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
text-decoration: none; text-decoration: none;
background-color: var(--c-duskgray); background-color: var(--c-secondary-background);
border-radius: 10px; border-radius: 10px;
border: 2px var(--c-darkpurple) solid; border: 2px var(--c-accent-1) solid;
} }
a:hover { a:hover {
border-color: var(--c-purplepink); border-color: var(--c-accent-1-alt);
} }
.fade { .fade {
margin-top: 3rem; margin-top: 3rem;
background: linear-gradient(to bottom, transparent, var(--c-lightgray)); background: linear-gradient(to bottom, transparent, var(--c-secondary-background));
height: 2.5rem; height: 2.5rem;
width: 100%; width: 100%;
} }
.fancy { .fancy {
color: var(--c-darkpurple); color: var(--c-accent-1);
} }
@supports (background-clip: text) { @supports (background-clip: text) {
a:hover .fancy { a:hover .fancy {
background: linear-gradient(125deg, var(--c-darkpurple), var(--c-purplepink), var(--c-reddish) ); background: linear-gradient(125deg, var(--c-accent-1), var(--c-accent-1-alt), var(--c-accent-2) );
background-clip: text; background-clip: text;
color: transparent; color: transparent;
} }

View file

@ -12,11 +12,11 @@
display: flex; display: flex;
width: 100%; width: 100%;
height: 5em; height: 5em;
background-color: var(--c-gray); background-color: var(--c-secondary-background);
text-align: center; text-align: center;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: white; color: var(--c-primary-text);
font-size: 1.5em; font-size: 1.5em;
} }
</style> </style>

View file

@ -33,13 +33,13 @@ const hamburger_src_url = `url("${hamburger.src}")`
z-index: 1000; z-index: 1000;
position: sticky; position: sticky;
top: 0px; top: 0px;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
display: flex; display: flex;
height: auto; height: auto;
width: 100%; width: 100%;
align-items: flex-start; align-items: flex-start;
line-height: 1.5em; line-height: 1.5em;
border-bottom: 2px solid var(--c-darkpurple) ; border-bottom: 2px solid var(--c-accent-1) ;
} }
header > a { header > a {
margin-left: 16px; margin-left: 16px;
@ -68,7 +68,7 @@ const hamburger_src_url = `url("${hamburger.src}")`
line-height: 1.5em; line-height: 1.5em;
} }
.mobile > ul { .mobile > ul {
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
@ -85,7 +85,7 @@ const hamburger_src_url = `url("${hamburger.src}")`
.mobile { .mobile {
display: flex; display: flex;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
border: 0px; border: 0px;
width: 100%; width: 100%;
height: 64px; height: 64px;
@ -116,7 +116,7 @@ const hamburger_src_url = `url("${hamburger.src}")`
.hamburger-menu { .hamburger-menu {
mask: var(--hamburger_src_url) no-repeat center; mask: var(--hamburger_src_url) no-repeat center;
mask-size: cover; mask-size: cover;
background-color: white; background-color: var(--c-primary-text);
width: 2.25rem; width: 2.25rem;
height: 2.25rem; height: 2.25rem;
position: static; position: static;

View file

@ -49,7 +49,7 @@ let extraattributes = navtype === 'mobile' ? { tabindex: '0' } : {}
li > a { li > a {
display: inline-flex; display: inline-flex;
color: white; color: var(--c-primary-text);
text-decoration: none; text-decoration: none;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -60,24 +60,24 @@ let extraattributes = navtype === 'mobile' ? { tabindex: '0' } : {}
} }
li > a:hover { li > a:hover {
color: var(--c-purplepink) !important; color: var(--c-accent-1-alt) !important;
} }
li > a:hover > .icon { li > a:hover > .icon {
background-color: var(--c-purplepink) !important; background-color: var(--c-accent-1-alt) !important;
} }
.current { .current {
color: var(--c-darkpurple) !important; color: var(--c-accent-1) !important;
} }
.current > .icon { .current > .icon {
background-color: var(--c-darkpurple) !important; background-color: var(--c-accent-1) !important;
} }
.icon { .icon {
mask: var(--icon_src_url) no-repeat center; mask: var(--icon_src_url) no-repeat center;
background-color: white; background-color: var(--c-primary-text);
width: 1.4em; width: 1.4em;
height: 1.4em; height: 1.4em;
} }

View file

@ -22,20 +22,20 @@ const displayBackButton = returnbutton ? "": "display: none"
a { a {
font-weight: 500; font-weight: 500;
font-family: 'Work Sans Variable', sans-serif; font-family: 'Work Sans Variable', sans-serif;
color: white; color: var(--c-primary-text);
margin: 1rem 0px 0px; margin: 1rem 0px 0px;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
text-decoration: none; text-decoration: none;
background-color: var(--c-lightgray); background-color: var(--c-secondary-background);
border-radius: 10px; border-radius: 10px;
border-style: solid; border-style: solid;
border-width: 2px; border-width: 2px;
border-color: var(--c-lightgray); border-color: var(--c-secondary-background);
text-transform: capitalize; text-transform: capitalize;
} }
a:hover { a:hover {
border-color: var(--c-darkpurple); border-color: var(--c-accent-1);
} }
.wrap { .wrap {
@ -46,13 +46,13 @@ const displayBackButton = returnbutton ? "": "display: none"
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
color: var(--c-lighter); color: var(--c-primary-text);
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
} }
.fade { .fade {
margin-top: 2rem; margin-top: 2rem;
background: linear-gradient(to bottom, transparent, var(--c-lightgray)); background: linear-gradient(to bottom, transparent, var(--c-secondary-background));
height: 2.5rem; height: 2.5rem;
width: 100%; width: 100%;
} }
@ -73,12 +73,12 @@ const displayBackButton = returnbutton ? "": "display: none"
} }
.head { .head {
color: var(--c-darkpurple); color: var(--c-accent-1);
} }
@supports (background-clip: text) { @supports (background-clip: text) {
.head { .head {
background: linear-gradient(125deg, var(--c-darkpurple), var(--c-purplepink), var(--c-reddish) ); background: linear-gradient(125deg, var(--c-accent-1), var(--c-accent-1-alt), var(--c-accent-2) );
background-clip: text; background-clip: text;
color: transparent; color: transparent;
} }

View file

@ -16,13 +16,13 @@
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
color: var(--c-lighter); color: var(--c-primary-text);
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
} }
.fade { .fade {
margin-top: 1.5rem; margin-top: 1.5rem;
background: linear-gradient(to bottom, transparent, var(--c-lightgray)); background: linear-gradient(to bottom, transparent, var(--c-secondary-background));
height: 2.5rem; height: 2.5rem;
width: 100%; width: 100%;
} }
@ -41,12 +41,12 @@
} }
.fancy { .fancy {
color: var(--c-darkpurple); color: var(--c-accent-1);
} }
@supports (background-clip: text) { @supports (background-clip: text) {
.fancy { .fancy {
background: linear-gradient(125deg, var(--c-darkpurple), var(--c-purplepink), var(--c-reddish) ); background: linear-gradient(125deg, var(--c-accent-1), var(--c-accent-1-alt), var(--c-accent-2) );
background-clip: text; background-clip: text;
color: transparent; color: transparent;
} }

View file

@ -44,7 +44,7 @@ const { id, thumbnail } = Astro.props
.warningtext { .warningtext {
display: flex; display: flex;
justify-content: center; justify-content: center;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
width: 640px; width: 640px;
height: 360px; height: 360px;
} }

View file

@ -107,22 +107,28 @@ const mapped_navdata = navdata.map((item) => ({
</html> </html>
<style is:global> <style is:global>
:root { :root {
--hover-scale: 1.05; /* Animations */
--speed: 50%; --a-time-default: 200ms;
--ease: 50%; --a-time-short: 100ms;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; --a-time-slow: 1000ms;
--c-darkgray: #1e1e1e; --a-animation-1: ease-in-out;
--c-duskgray: #242424;
--c-gray: #2e2e2e; /* Fonts */
--c-lighter: #eee; --f-default: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
--c-lightgray: #3e3e3e; --f-title: 'Work Sans Variable', sans-serif;
--c-darkpurple: #b86cff;
--c-purplepink: #c105ff; font-family: var(--f-default);
--c-darkergray: #1b1b1b;
--c-reddish: #ff0077; /* Colors */
--c-primary-background: #1b1b1b;
--c-secondary-background: #333;
--c-primary-text: #eee;
--c-accent-1: #b86cff;
--c-accent-1-alt: #c105ff;
--c-accent-2: #ff0077;
} }
body { body {
background: var(--c-lightgray); background: var(--c-secondary-background);
margin: 0px; margin: 0px;
} }

View file

@ -34,7 +34,7 @@ const { title } = Astro.props
font-size: 40px; font-size: 40px;
line-height: 48px; line-height: 48px;
letter-spacing: -1px; letter-spacing: -1px;
color: white; color: var(--c-primary-text);
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 0px; margin-bottom: 0px;
margin-left: auto; margin-left: auto;
@ -42,7 +42,7 @@ const { title } = Astro.props
padding: 0.25rem 1.5rem; padding: 0.25rem 1.5rem;
border-radius: 0.5rem; border-radius: 0.5rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }
@media (min-width: 512px) { @media (min-width: 512px) {

View file

@ -33,8 +33,8 @@ const subtext = `Written by ${frontmatter.author} • Published on ${date}`
justify-content: center; justify-content: center;
width: 100%; width: 100%;
text-align: center; text-align: center;
color: white; color: var(--c-primary-text);
background-color: var(--c-gray); background-color: var(--c-secondary-background);
padding: 0.5rem 0px; padding: 0.5rem 0px;
margin-bottom: 2rem; margin-bottom: 2rem;
text-decoration: none; text-decoration: none;
@ -43,31 +43,31 @@ const subtext = `Written by ${frontmatter.author} • Published on ${date}`
font-size: 34px; font-size: 34px;
line-height: 40px; line-height: 40px;
letter-spacing: -1px; letter-spacing: -1px;
color: white; color: var(--c-primary-text);
margin: 0.5rem 3rem 0.5rem 3rem; margin: 0.5rem 3rem 0.5rem 3rem;
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding: 0.25rem 1rem; padding: 0.25rem 1rem;
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }
p { p {
color: white; color: var(--c-primary-text);
margin: 0.5rem 3rem 0.5rem 3rem; margin: 0.5rem 3rem 0.5rem 3rem;
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-gray); background-color: var(--c-secondary-background);
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }
article :global(h2) { article :global(h2) {
margin-right: 3rem; margin-right: 3rem;
word-wrap: normal; word-wrap: normal;
color: white; color: var(--c-primary-text);
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding: 0.25rem 1rem; padding: 0.25rem 1rem;
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
@ -77,10 +77,10 @@ const subtext = `Written by ${frontmatter.author} • Published on ${date}`
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
margin-right: 3rem; margin-right: 3rem;
word-wrap: normal; word-wrap: normal;
color: white; color: var(--c-primary-text);
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding: 0.25rem 1rem; padding: 0.25rem 1rem;
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
@ -90,10 +90,10 @@ const subtext = `Written by ${frontmatter.author} • Published on ${date}`
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
margin-right: 3rem; margin-right: 3rem;
word-wrap: normal; word-wrap: normal;
color: white; color: var(--c-primary-text);
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding: 0.25rem 1rem; padding: 0.25rem 1rem;
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
@ -104,9 +104,10 @@ const subtext = `Written by ${frontmatter.author} • Published on ${date}`
font-style: italic; font-style: italic;
} }
article { article {
color: white; color: var(--c-primary-text);
margin: 0.5rem 3rem 0.5rem 3rem; margin: 0.5rem 3rem 0.5rem 3rem;
font-size: 1.1em; font-size: 1.1em;
text-align: justify;
padding-bottom: 5rem; padding-bottom: 5rem;
} }
article :global(.astro-code) { article :global(.astro-code) {
@ -120,31 +121,16 @@ const subtext = `Written by ${frontmatter.author} • Published on ${date}`
@media (min-width: 1000px) { @media (min-width: 1000px) {
article { article {
margin-left: 10rem; margin-left: 22.5%;
margin-right: 10rem; margin-right: 22.5%;
} }
h1 { h1 {
margin-left: 10rem; margin-left: 20%;
margin-right: 10rem; margin-right: 20%;
} }
p { p {
margin-left: 10rem; margin-left: 20%;
margin-right: 10rem; margin-right: 20%;
}
}
@media (min-width: 1500px) {
article {
margin-left: 20rem;
margin-right: 20rem;
}
h1 {
margin-left: 20rem;
margin-right: 20rem;
}
p {
margin-left: 20rem;
margin-right: 20rem;
} }
} }
</style> </style>

View file

@ -42,7 +42,7 @@ const line = displayLine ? "flex" : "none"
bottom: -5rem; bottom: -5rem;
border-radius: 0% 50% 50% 50%; border-radius: 0% 50% 50% 50%;
transform: rotate(45deg); transform: rotate(45deg);
background-color: var(--c-darkpurple); background-color: var(--c-accent-1);
} }
.start { .start {
@ -50,8 +50,8 @@ const line = displayLine ? "flex" : "none"
border-radius: 40%; border-radius: 40%;
border-style: solid; border-style: solid;
border-width: 0.25rem; border-width: 0.25rem;
border-color: var(--c-lightgray); border-color: var(--c-secondary-background);
background-color: var(--c-darkpurple); background-color: var(--c-accent-1);
} }
.line { .line {
@ -62,7 +62,7 @@ const line = displayLine ? "flex" : "none"
right: 0; right: 0;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
background-color: var(--c-darkpurple); background-color: var(--c-accent-1);
height: calc(100% + 5rem); height: calc(100% + 5rem);
translate: 0% 2rem; translate: 0% 2rem;
width: 0.25rem; width: 0.25rem;
@ -71,14 +71,14 @@ const line = displayLine ? "flex" : "none"
h1 { h1 {
line-height: 48px; line-height: 48px;
letter-spacing: -1px; letter-spacing: -1px;
color: white; color: var(--c-primary-text);
font-size: 1.6rem; font-size: 1.6rem;
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 0; margin-bottom: 0;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding: 0.25rem 1.5rem; padding: 0.25rem 1.5rem;
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
@ -96,7 +96,7 @@ const line = displayLine ? "flex" : "none"
align-content: center; align-content: center;
justify-content: space-around; justify-content: space-around;
padding: 1em; padding: 1em;
color: white; color: var(--c-primary-text);
font-size: 1em; font-size: 1em;
position: relative; position: relative;
} }
@ -115,10 +115,10 @@ const line = displayLine ? "flex" : "none"
font-size: 1.85rem; font-size: 1.85rem;
} }
} }
@media (min-width: 1500px) { @media (min-width: 1100px) {
.wrapper { .wrapper {
margin-left: 15rem; margin-left: 20%;
margin-right: 15rem; margin-right: 20%;
flex-direction: row; flex-direction: row;
} }
section { section {

View file

@ -15,14 +15,14 @@ const { title } = Astro.props
<style> <style>
h1 { h1 {
color: white; color: var(--c-primary-text);
font-size: 26px; font-size: 26px;
line-height: 32px; line-height: 32px;
letter-spacing: -1px; letter-spacing: -1px;
margin: 0.5rem 0px 0.5rem 0.5em; margin: 0.5rem 0px 0.5rem 0.5em;
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
width: max-content; width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding: 0.25rem 1rem; padding: 0.25rem 1rem;
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;

View file

@ -88,11 +88,11 @@ const release = `https://forgejo.neshweb.net/Firq/firq-dev-website/releases/tag/
<style> <style>
footer { footer {
color: white; color: var(--c-primary-text);
bottom: 0; bottom: 0;
} }
footer > div > a { footer > div > a {
color: white; color: var(--c-primary-text);
} }
.sticky-image-wrapper { .sticky-image-wrapper {
position: fixed; position: fixed;
@ -108,7 +108,7 @@ const release = `https://forgejo.neshweb.net/Firq/firq-dev-website/releases/tag/
bottom: -100px; bottom: -100px;
height: 64px; height: 64px;
width: 64px; width: 64px;
transition: transform 1s ease-in-out; transition: transform var(--a-time-slow) var(--a-animation-1);
transform: translateX(-50%); transform: translateX(-50%);
} }
</style> </style>

View file

@ -36,7 +36,7 @@ const { title } = Astro.props
font-size: 40px; font-size: 40px;
line-height: 48px; line-height: 48px;
letter-spacing: -1px; letter-spacing: -1px;
color: white; color: var(--c-primary-text);
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 0px; margin-bottom: 0px;
margin-left: auto; margin-left: auto;
@ -44,7 +44,7 @@ const { title } = Astro.props
padding: 0.25rem 1.5rem; padding: 0.25rem 1.5rem;
border-radius: 0.5rem; border-radius: 0.5rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }

View file

@ -37,20 +37,20 @@ if (abovetext === undefined) {
font-size: 40px; font-size: 40px;
line-height: 48px; line-height: 48px;
letter-spacing: -1px; letter-spacing: -1px;
color: white; color: var(--c-primary-text);
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 0; margin-bottom: 0;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-primary-background);
padding: 0.25rem 1.5rem; padding: 0.25rem 1.5rem;
border-radius: 0.5rem; border-radius: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }
h2 { h2 {
color: white; color: var(--c-primary-text);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
margin: 5; margin: 5;

View file

@ -33,7 +33,7 @@ const description = "Error. This shouldn't happen :/"
h2 { h2 {
font-family: 'Work Sans Variable', sans-serif; font-family: 'Work Sans Variable', sans-serif;
font-weight: 500; font-weight: 500;
color: white; color: var(--c-primary-text);
font-size: 1.25rem; font-size: 1.25rem;
margin-top: 1rem; margin-top: 1rem;
max-width: max-content; max-width: max-content;
@ -46,20 +46,20 @@ const description = "Error. This shouldn't happen :/"
width: fit-content; width: fit-content;
font-weight: 500; font-weight: 500;
font-family: 'Work Sans Variable', sans-serif; font-family: 'Work Sans Variable', sans-serif;
color: white; color: var(--c-primary-text);
margin: 1rem 0px 0px; margin: 1rem 0px 0px;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
text-decoration: none; text-decoration: none;
background-color: var(--c-darkergray); background-color: var(--c-primary-background);
border-radius: 10px; border-radius: 10px;
border-style: solid; border-style: solid;
border-width: 2px; border-width: 2px;
border-color: var(--c-darkergray); border-color: var(--c-primary-background);
text-transform: capitalize; text-transform: capitalize;
} }
a:hover { a:hover {
border-color: var(--c-darkpurple); border-color: var(--c-accent-1);
} }
img { img {