More Redesign 2
All checks were successful
/ build-site (push) Successful in 1m58s
/ checking (push) Successful in 20s
/ publish (push) Successful in 7s

This commit is contained in:
Firq 2024-07-15 22:38:41 +02:00
parent 5da1dde6a6
commit 1f1bc5a7db
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
5 changed files with 48 additions and 22 deletions

View file

@ -1,7 +1,7 @@
{
"name": "fgo-ta-com-website",
"type": "module",
"version": "0.2.2-pre.5",
"version": "0.2.2-pre.6",
"scripts": {
"dev": "astro dev",
"start": "astro dev",

View file

@ -90,16 +90,19 @@ const render_date = releaseDate.toLocaleDateString('en-GB', options_date)
position: relative;
display: flex;
visibility: visible;
height: 1.5rem;
width: 1.5rem;
border-radius: 40%;
height: 1rem;
width: 1rem;
background-color: var(--c-darkpurple);
border-style: solid;
border-width: 0.25rem;
border-color: var(--c-lightgray);
border-radius: 40%;
transition: transform var(--speed) var(--ease);
}
a:hover > .circle {
height: 1.75rem;
width: 1.75rem;
height: 1.25rem;
width: 1.25rem;
translate: -0.125rem;
margin-right: 0.825rem;
}

View file

@ -91,16 +91,19 @@ const render_date = releaseDate.toLocaleDateString(
position: relative;
display: flex;
visibility: visible;
height: 1.5rem;
width: 1.5rem;
border-radius: 40%;
height: 1rem;
width: 1rem;
background-color: var(--c-darkpurple);
border-style: solid;
border-width: 0.25rem;
border-color: var(--c-lightgray);
border-radius: 40%;
transition: transform var(--speed) var(--ease);
}
a:hover > .circle {
height: 1.75rem;
width: 1.75rem;
height: 1.25rem;
width: 1.25rem;
translate: -0.125rem;
margin-right: 0.825rem;
}

View file

@ -12,9 +12,10 @@ const line = displayLine ? "flex" : "none"
<section>
<h1 style={display}>{title}</h1>
<div class="wrapper">
<div class="start hightlighter"></div>
<div class="line"></div>
<slot />
<div class="drop"></div>
<div class="drop hightlighter"></div>
</div>
</section>
@ -24,21 +25,35 @@ const line = displayLine ? "flex" : "none"
padding-right: 0.25em;
padding-bottom: 5rem;
}
.drop {
.hightlighter {
left: 0;
right: 0;
display: flex;
position: absolute;
visibility: visible;
left: 0;
right: 0;
bottom: -5rem;
margin-left: auto;
margin-right: auto;
height: 1.5rem;
width: 1.5rem;
}
.drop {
bottom: -5rem;
border-radius: 0% 50% 50% 50%;
transform: rotate(45deg);
background-color: var(--c-darkpurple);
}
.start {
top: -2rem;
border-radius: 40%;
border-style: solid;
border-width: 0.25rem;
border-color: var(--c-lightgray);
background-color: var(--c-darkpurple);
}
.line {
display: flex;
position: absolute;
@ -89,6 +104,9 @@ const line = displayLine ? "flex" : "none"
.drop {
margin-left: 1.5rem;
}
.start {
margin-left: 1.25rem;
}
.line {
margin-left: 2.1rem;
}
@ -106,15 +124,17 @@ const line = displayLine ? "flex" : "none"
section {
padding-bottom: unset;
}
.drop {
.drop, .start, .line {
display: var(--line);
margin-left: 2rem;
}
.start {
margin-left: 1.75rem;
}
.line {
display: var(--line);
margin-left: 2.6rem;
height: calc(100% + 4rem);
translate: unset;
height: calc(100% + 6rem);
translate: 0px -2rem;
}
h1 {
margin-left: 15rem;

View file

@ -6,7 +6,7 @@ import EventListing from '../../components/listings/eventListingLine.astro'
import DatabaseSection from '../../layouts/databaseSection.astro'
import SmallTitle from '../../components/smallTitle.astro'
const description = 'FGO NA TA Database'
const description = 'A mostly up-to-date list of NA TA runs'
const fulldata = await getCollection('taInfoData')
const groups = await getCollection('groups')
const changes = await getCollection('changes')
@ -30,7 +30,7 @@ combined.sort(
descriptionOverride={description}
>
<SmallTitle
maintext="TA DATA­BASE"
maintext="TA DATA&shy;BASE"
subtext="A mostly up-to-date list of NA TA runs"
fadeout={true}
/>