sendou.ink/app/styles/front.css
Kalle 35168111a6
Art (#1412)
* Add to nav

* Allow nav items on front page to take full width

* Initial+

* Fix vods page title

* Add page title

* Common art type

* ArtGrid to a different component

* User arts page initial

* Add art tab to user page

* Preview initial

* Fix art counting

* Fix link and onclick overlapping

* Link to user art page to arts they made

* Artist role initial

* Show description

* Make toggle in art page saved in search params

* Add white-space pre-wrap to plus comments

Not sure why it was removed in the first place?

* Commission open / text and edit those

* Add simple pagination

* New art link display logic

* New art initial

* Upload art

* Hide art from side nav too

* Show banner when waiting for approval

* Edit art

* Fix art sub nav link not showing active

* Relocate unvalidated art text

* Delete art

* Extract ImagePreview component

* Eliminate some layout shift

* BigImageDialog extract component + prevent layout shift

* i18n

* Fix unused var

* Fix tests
2023-07-09 11:48:28 +03:00

119 lines
1.9 KiB
CSS

.front__nav-items-container {
display: flex;
margin: 0 auto;
column-gap: var(--s-4);
font-size: 13px;
flex-wrap: wrap;
row-gap: var(--s-4);
justify-content: center;
}
.front__nav-item {
display: flex;
flex-direction: column;
align-items: center;
color: var(--text);
font-weight: bold;
gap: var(--s-1);
text-align: center;
width: 100px;
}
.front__log-in-button {
display: grid;
width: 50px;
height: 50px;
border: none;
border-radius: 100%;
background-color: var(--bg-lighter);
color: var(--text);
place-items: center;
transition: all 0.2s ease-out;
}
.front__nav-image-container {
display: grid;
width: 75px;
height: 75px;
border-radius: var(--rounded);
background-color: var(--bg-lighter);
color: var(--text);
place-items: center;
transition: all 0.2s ease-out;
}
.front__nav-image-container.round {
width: 50px;
height: 50px;
border-radius: 100%;
}
.front__avatar {
width: 50px;
height: 50px;
}
.front__nav-image-container:hover {
background-color: var(--theme-transparent);
}
.front__log-out-container {
display: flex;
justify-content: center;
}
.front__drawings {
display: grid;
grid-template-columns: 1fr 1fr;
margin-block-start: var(--s-8);
}
.front__drawing-img {
max-height: 175px;
}
@media screen and (min-width: 400px) {
.front__drawing-img {
max-height: 200px;
}
}
@media screen and (min-width: 600px) {
.front__drawing-img {
max-height: 300px;
}
}
@media screen and (min-width: 800px) {
.front__drawing-img {
max-height: 400px;
}
}
.front__drawings__boy {
z-index: 10;
grid-column: 1 / 2;
grid-row: 1;
}
.front__drawings__girl {
z-index: 10;
grid-column: 2 / 3;
grid-row: 1;
justify-self: flex-end;
}
.front__drawings__girl.bg {
z-index: 1;
}
.front__drawings__boy.bg {
z-index: 1;
}
@media screen and (min-width: 640px) {
.front__nav-item.round {
display: none;
}
}