style: apply prettier formatting
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
gap: 4rem;
|
||||
align-items: center;
|
||||
text-align: center; /* Center on mobile */
|
||||
|
||||
@media(min-width: 992px) {
|
||||
|
||||
@media (min-width: 992px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 6rem;
|
||||
text-align: left; /* Reset to left on desktop */
|
||||
@@ -59,7 +59,7 @@ h1 {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
@media(min-width: 992px) {
|
||||
@media (min-width: 992px) {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -86,8 +86,8 @@ h1 {
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
justify-content: center; /* Center tags on mobile */
|
||||
|
||||
@media(min-width: 992px) {
|
||||
|
||||
@media (min-width: 992px) {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
@@ -101,7 +101,11 @@ h1 {
|
||||
font-weight: 500;
|
||||
font-size: 0.9rem;
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
|
||||
transition:
|
||||
background-color 0.2s ease,
|
||||
border-color 0.2s ease,
|
||||
color 0.2s ease,
|
||||
box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.tag.is-active {
|
||||
@@ -119,8 +123,8 @@ h1 {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
|
||||
@media(min-width: 768px) {
|
||||
|
||||
@media (min-width: 768px) {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
align-items: start;
|
||||
@@ -137,7 +141,11 @@ h1 {
|
||||
width: 100%;
|
||||
max-width: 260px;
|
||||
position: relative;
|
||||
transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, outline-color 0.2s ease;
|
||||
transition:
|
||||
box-shadow 0.2s ease,
|
||||
transform 0.2s ease,
|
||||
border-color 0.2s ease,
|
||||
outline-color 0.2s ease;
|
||||
cursor: pointer;
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: 2px;
|
||||
@@ -155,7 +163,9 @@ h1 {
|
||||
|
||||
.photo-card.is-active {
|
||||
border-color: var(--color-primary-600);
|
||||
box-shadow: 0 0 0 3px rgb(250 207 10 / 30%), var(--shadow-md);
|
||||
box-shadow:
|
||||
0 0 0 3px rgb(250 207 10 / 30%),
|
||||
var(--shadow-md);
|
||||
}
|
||||
|
||||
.photo-card.is-selected {
|
||||
@@ -165,7 +175,11 @@ h1 {
|
||||
.placeholder-img {
|
||||
width: 100%;
|
||||
aspect-ratio: 3/4;
|
||||
background: linear-gradient(45deg, var(--color-neutral-200), var(--color-neutral-100));
|
||||
background: linear-gradient(
|
||||
45deg,
|
||||
var(--color-neutral-200),
|
||||
var(--color-neutral-100)
|
||||
);
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: 1rem;
|
||||
border-bottom: 1px solid var(--color-neutral-300);
|
||||
|
||||
Reference in New Issue
Block a user