mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 12:13:10 -05:00
* Read in x rank placements script
* Xsearch initial
* XSearch initial
* XSearch with select
* Add badges
* XSearch player page initial
* Consider only one build by user for popular builds Closes #1312
* Revert "Side nav labels on hover (#1290)"
This reverts commit 6e839c6c2d.
* Added and fixed DAnish translations (#1315)
* Added Danish translations
Added Danish translations for the builds.json file.
Translations for the following variables have been added
stats.count.title # used the Danish word for "average" instead of "stats", as it makes more sense in Danish.
stats.ap.title
stats.percentage.title
stats.all
linkButton.abilityStats
linkButton.popularBuilds
noPopularBuilds
* Added Danish translations
Added Danish translations in the calander.json file
tag.desc.SZ
tag.desc.TW
tag.desc.S1
tag.desc.S2
tag.desc.SR
tag.desc.CARDS
* Added Danish translations
Added Danish translations in the common.json file
The following translations have been added
pages.vods
tag.name.SZ
tag.name.TW
tag.name.S1
tag.name.S2
tag.name.SR
tag.name.CARDS
* Added Danish translations in the faq.json file
Added the following Danish translations in the faq.json file
q7
a7
* Updated the DA/game-misc.json file
Added the names for the 3.0 maps.
* Added Danish translation for team.json
Added the following Danish translations for team.json file
- roles.MIDLINE
Fixed the following translation for the team.json file
- "roles.FRONTLINE": # fixed a typo
* Created a vods.json file for the Danish trans
* Fixed typo
Fixed the following translation in the Da\contributions.json file
"yaga" # fixed a Typo of "våben"
* Add Chinese Translation (#1314)
* Update contributions.json
* Update contributions.json
* Update faq.json
* Update user.json
* Create team.json
* Update common.json
* Update analyzer.json
* Prettier
* Prettier
* Prettier
* Update builds.json
* Update calendar.json
* Update common.json
* Update faq.json
* Update team.json
* Create vods.json
* Admin link player action
* Make PlacementTable rounded if only child
* Fix arrow disappeared
* Placements on user page initial
* Remove S2 site link
* Add badge
* Add feature to README
* Fix type error
* Different badge text if XP badge
* Add badge winners script
* Better user avatar + name wrapping for mobile
* Allow script to skip users
* Fix bad align when no weapons in weapon pool
* Add aliases to player name
* Add division icon to placements table
* Link to user page
* Link to xsearch on player details page
* Top 500 icons to user build page
* Working query but slow for weapons page
* Fix lint complaints
* Add cache to builds
* Remove useless SWR value
* Group months in xsearch
* Add xsearch to nav
* Add meta
* Remove TW for now
* Add splatoon3.ink as contributor
* Remove unneeded TODO
* Fix TODOs related to fetching monthYears
* Add FAQ question
* Leaderboards to nav
* Fix sploosh build stat pages returning 404
* Add badge
* Add article
* Patch 3.1
* Fix Prettier issue
* Add badge
* Add April SR gear
* Add badges
* Rename badge
* Add badge
* Add zh badge translation (#1322)
* Splatoon Competitive Guide article (#1316)
* Create splatoon-competitive-guide.md
* Update splatoon-competitive-guide.md
* Fix ToC Issues
* Update splatoon-competitive-guide.md
* Update splatoon-competitive-guide.md
* Update splatoon-competitive-guide.md
* Corrections
* Formatting
---------
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Fix typos
* Rename table and adjust columns
* Make cache ttl 0 in dev
* Make placements container a bit nicer for mobile
* Rename leftover xxx
* Placements script allow passing number as arg
* Skip leaderboards for now
* Add translations
* Rename placements folder to top-search
* Add placements to seed
* Add E2E tests
* Read in x rank placements script
* Xsearch initial
* XSearch initial
* XSearch with select
* XSearch player page initial
* Admin link player action
* Make PlacementTable rounded if only child
* Fix arrow disappeared
* Placements on user page initial
* Fix bad align when no weapons in weapon pool
* Add aliases to player name
* Add division icon to placements table
* Link to user page
* Link to xsearch on player details page
* Top 500 icons to user build page
* Working query but slow for weapons page
* Fix lint complaints
* Add cache to builds
* Remove useless SWR value
* Group months in xsearch
* Add xsearch to nav
* Add meta
* Remove TW for now
* Add splatoon3.ink as contributor
* Remove unneeded TODO
* Fix TODOs related to fetching monthYears
* Add FAQ question
* Leaderboards to nav
* Fix sploosh build stat pages returning 404
* Rename table and adjust columns
* Make cache ttl 0 in dev
* Make placements container a bit nicer for mobile
* Rename leftover xxx
* Placements script allow passing number as arg
* Skip leaderboards for now
* Add translations
* Rename placements folder to top-search
* Add placements to seed
* Add E2E tests
* Rename url variable and unify
* Tweaks
---------
Co-authored-by: Frederik <112972665+FrederikFraJylland@users.noreply.github.com>
Co-authored-by: Gell <61431488+gellneko@users.noreply.github.com>
Co-authored-by: Zen <99558412+zenpk@users.noreply.github.com>
Co-authored-by: Teddi <83455454+teddinotteddy@users.noreply.github.com>
274 lines
4.5 KiB
CSS
274 lines
4.5 KiB
CSS
.u__container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-6);
|
|
}
|
|
|
|
.u__avatar-container {
|
|
display: grid;
|
|
justify-content: center;
|
|
column-gap: var(--s-2-5);
|
|
grid-template-areas: "avatar name" "avatar team" "avatar ." "avatar ." "socials .";
|
|
}
|
|
|
|
.u__avatar {
|
|
min-width: 125px;
|
|
grid-area: avatar;
|
|
}
|
|
|
|
.u__team {
|
|
display: flex;
|
|
color: var(--text-lighter);
|
|
font-weight: var(--bold);
|
|
gap: var(--s-1-5);
|
|
grid-area: team;
|
|
}
|
|
|
|
.u__name {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
grid-area: name;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.u__discriminator {
|
|
color: var(--text-lighter);
|
|
margin-inline-end: var(--s-2);
|
|
}
|
|
|
|
.u__country-name {
|
|
color: var(--text-lighter);
|
|
font-weight: var(--bold);
|
|
}
|
|
|
|
.u__socials {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--s-1-5);
|
|
grid-area: socials;
|
|
padding-block-start: var(--s-2-5);
|
|
}
|
|
|
|
.u__social-link {
|
|
padding: var(--s-1);
|
|
border: 1px solid;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.u__social-link > svg {
|
|
width: 0.9rem;
|
|
}
|
|
|
|
.u__social-link.youtube {
|
|
border-color: #f00;
|
|
background-color: #ff00002f;
|
|
}
|
|
|
|
.u__social-link.youtube > svg {
|
|
fill: #f00;
|
|
}
|
|
|
|
.u__social-link.twitter {
|
|
border-color: #1da1f2;
|
|
background-color: #1da0f22f;
|
|
}
|
|
|
|
.u__social-link.twitter > svg {
|
|
fill: #1da1f2;
|
|
}
|
|
|
|
.u__social-link.twitch {
|
|
border-color: #9146ff;
|
|
background-color: #9146ff2f;
|
|
}
|
|
|
|
.u__social-link.twitch > svg {
|
|
fill: #9146ff;
|
|
}
|
|
|
|
.u__extra-infos {
|
|
display: flex;
|
|
max-width: 24rem;
|
|
flex-wrap: wrap;
|
|
gap: var(--s-2-5);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.u__extra-info {
|
|
padding: var(--s-1) var(--s-1-5);
|
|
border-radius: var(--rounded);
|
|
background-color: var(--bg-darker);
|
|
font-size: var(--fonts-xxs);
|
|
}
|
|
|
|
.u__extra-info__heading {
|
|
color: var(--theme);
|
|
font-weight: var(--bold);
|
|
}
|
|
|
|
.u__badges {
|
|
display: flex;
|
|
max-width: 24rem;
|
|
align-items: center;
|
|
padding: var(--s-2);
|
|
border-radius: var(--rounded);
|
|
background-color: var(--bg-badge);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.u__small-badges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
gap: var(--s-3);
|
|
}
|
|
|
|
.u__badge-explanation {
|
|
color: var(--text-lighter);
|
|
font-size: var(--fonts-xs);
|
|
text-align: center;
|
|
}
|
|
|
|
.u__small-badge-container {
|
|
position: relative;
|
|
}
|
|
|
|
.u__small-badge-count {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin-top: -8px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
color: var(--theme-vibrant);
|
|
font-size: var(--fonts-xxxs);
|
|
font-weight: var(--bold);
|
|
}
|
|
|
|
.u__results-table-wrapper {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.u__results-table-highlights {
|
|
border: var(--s-2) solid var(--bg-lighter);
|
|
padding-inline: 0 !important;
|
|
}
|
|
|
|
.u__results-table-highlights > legend {
|
|
margin-inline-start: var(--s-2);
|
|
padding-inline: var(--s-1);
|
|
}
|
|
|
|
.u__results-players {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 0;
|
|
gap: var(--s-3);
|
|
list-style: none;
|
|
}
|
|
|
|
.u-search__container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-12);
|
|
}
|
|
|
|
.u-search__users {
|
|
display: flex;
|
|
width: 325px;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
gap: var(--s-6);
|
|
}
|
|
|
|
.u-search__user {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--text);
|
|
font-weight: var(--body);
|
|
gap: var(--s-4);
|
|
line-height: 1.2rem;
|
|
}
|
|
|
|
.u-search__ign {
|
|
color: var(--text-lighter);
|
|
font-size: var(--fonts-sm);
|
|
font-weight: var(--body);
|
|
}
|
|
|
|
.u-search__users > li {
|
|
list-style: none;
|
|
}
|
|
|
|
.u-search__input {
|
|
height: 40px !important;
|
|
margin: 0 auto;
|
|
font-size: var(--fonts-lg);
|
|
}
|
|
|
|
.u-search__icon {
|
|
height: 25px;
|
|
margin: auto;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.u-search__info {
|
|
color: var(--text-lighter);
|
|
font-size: var(--fonts-sm);
|
|
text-align: center;
|
|
}
|
|
|
|
.u__weapon {
|
|
padding: var(--s-2);
|
|
border-radius: 100%;
|
|
background-color: var(--bg-lighter);
|
|
}
|
|
|
|
.u__build-form {
|
|
--input-width: min(18rem, 75vw);
|
|
}
|
|
|
|
.u__build-form__weapon {
|
|
--input-width: 16rem;
|
|
}
|
|
|
|
.u__placements {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: var(--s-4);
|
|
border-radius: var(--rounded);
|
|
margin: 0 auto;
|
|
background-color: var(--bg-lighter);
|
|
color: var(--text);
|
|
gap: var(--s-6);
|
|
transition: 0.1s ease-in-out background-color;
|
|
}
|
|
|
|
.u__placements:hover {
|
|
background-color: var(--theme-transparent);
|
|
}
|
|
|
|
.u__placements__mode {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
font-size: var(--fonts-xs);
|
|
font-weight: var(--semi-bold);
|
|
gap: var(--s-1-5);
|
|
}
|
|
|
|
@media screen and (min-width: 480px) {
|
|
.u__placements {
|
|
gap: var(--s-10);
|
|
}
|
|
|
|
.u__placements__mode {
|
|
font-size: var(--fonts-sm);
|
|
}
|
|
}
|