New TA and align fix

This commit is contained in:
Firq 2023-07-13 20:15:57 +02:00
parent 26ea489fd9
commit 8ae8efe2e8
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
9 changed files with 37 additions and 4 deletions

View file

@ -18,7 +18,7 @@ const options_date: Intl.DateTimeFormatOptions = {
} }
const formatted_date = new Date(date).toLocaleDateString('de-DE', options_date) const formatted_date = new Date(date).toLocaleDateString('de-DE', options_date)
const icon: string = `background: url('/assets/ta_icons/${image}.webp')` const icon: string = `background-image: url('/assets/ta_icons/${image}.webp')`
const servant: string = `/assets/ta_icons/ta_servants/${ta_servant}.webp` const servant: string = `/assets/ta_icons/ta_servants/${ta_servant}.webp`
let hasuser = '' let hasuser = ''
@ -77,8 +77,8 @@ if (user !== undefined) {
width: var(--size-value); width: var(--size-value);
height: var(--size-value); height: var(--size-value);
margin: 0.5rem; margin: 0.5rem;
object-fit: contain; background-size: var(--size-value);
object-position: 0% 0%; background-position: center center;
} }
article:hover .icon span { article:hover .icon span {

View file

@ -18,7 +18,8 @@ const important_data = tadata.filter(function (el) {
'DB 7T (No Duplicates)', 'DB 7T (No Duplicates)',
'Kingprotea 1T', 'Kingprotea 1T',
'Goetia Memorial Quest 2T', 'Goetia Memorial Quest 2T',
'Morgan 3T (LB 6) Skadi' 'Morgan 3T (LB 6) Skadi',
'Albion 3T (LB 6) Skadi'
].includes(el.title) ].includes(el.title)
}) })

View file

@ -222,5 +222,37 @@
"date": "2023-06-08", "date": "2023-06-08",
"ta_servant": "shishou", "ta_servant": "shishou",
"turns": "3T" "turns": "3T"
},
{
"title": "Red Dragon 1T (LB 6)",
"link": "https://www.youtube.com/watch?v=MKhkvG0CHko",
"image": "reddragon",
"date": "2023-07-10",
"ta_servant": "tomoesummer",
"turns": "1T"
},
{
"title": "Albion 3T (LB 6) Skadi",
"link": "https://www.youtube.com/watch?v=tejeiYpzfqo",
"image": "albion",
"date": "2023-07-11",
"ta_servant": "skadi",
"turns": "3T"
},
{
"title": "Albion 3T (LB 6) Shishou",
"link": "https://www.youtube.com/watch?v=E8fjEYFqrWI",
"image": "albion",
"date": "2023-07-12",
"ta_servant": "shishou",
"turns": "3T"
},
{
"title": "Albion 3T (LB 6) Salter",
"link": "https://www.youtube.com/watch?v=5U42nu-vPnk",
"image": "albion",
"date": "2023-07-12",
"ta_servant": "saberalter",
"turns": "3T"
} }
] ]

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB