271 lines
5.0 KiB
CSS
271 lines
5.0 KiB
CSS
#main {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.home-page-shell {
|
|
width: 100%;
|
|
padding: 1.5rem 1rem 2rem;
|
|
}
|
|
|
|
.home-page-container {
|
|
width: 100%;
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.home-alert {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.home-hero,
|
|
.home-section {
|
|
padding: 1rem 1.1rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
.home-hero {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.home-hero-avatar-wrap {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.home-hero-avatar {
|
|
width: 88px;
|
|
height: 88px;
|
|
border-radius: 22px;
|
|
object-fit: cover;
|
|
box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.home-kicker {
|
|
color: var(--text-secondary, #9c9c9c);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.home-greeting {
|
|
font-size: clamp(1.6rem, 3vw, 2.4rem);
|
|
font-weight: 700;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.home-status-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.home-status-text,
|
|
.home-section-meta {
|
|
color: var(--text-secondary, #9c9c9c);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.home-section-header {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 0.85rem;
|
|
}
|
|
|
|
.home-section-title {
|
|
font-size: 1.35rem;
|
|
line-height: 1.1;
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.home-section-link {
|
|
color: #4ea2ff;
|
|
text-decoration: none;
|
|
font-size: 0.92rem;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.home-section-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.card-container {
|
|
background-color: var(--card-bg) !important;
|
|
box-shadow: 0 0 10px 0 var(--card-shadow);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.home-friends-strip {
|
|
display: flex;
|
|
gap: 0.85rem;
|
|
align-items: flex-start;
|
|
min-height: 116px;
|
|
}
|
|
|
|
.home-friend-card {
|
|
width: 96px;
|
|
flex: 0 0 auto;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.home-friend-avatar-frame {
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.home-friend-avatar {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.home-friend-name {
|
|
font-size: 12px;
|
|
margin-top: 0.35rem !important;
|
|
}
|
|
|
|
.home-empty-state {
|
|
min-height: 116px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
color: var(--text-secondary, #9c9c9c);
|
|
border: 1px dashed rgba(255, 255, 255, 0.12);
|
|
border-radius: 16px;
|
|
padding: 1rem;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.home-empty-wide {
|
|
width: 100%;
|
|
}
|
|
|
|
.home-places-strip {
|
|
display: flex;
|
|
gap: 0.85rem;
|
|
overflow-x: auto;
|
|
padding-bottom: 0.25rem;
|
|
scroll-snap-type: x proximity;
|
|
}
|
|
|
|
.home-place-card {
|
|
width: 180px;
|
|
flex: 0 0 auto;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
scroll-snap-align: start;
|
|
}
|
|
|
|
.home-place-thumb-wrap {
|
|
overflow: hidden;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.home-place-thumb {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.home-place-year {
|
|
font-size: 11px;
|
|
padding: 4px 6px;
|
|
border-top-right-radius: 6px;
|
|
}
|
|
|
|
.home-place-copy {
|
|
min-height: 94px;
|
|
}
|
|
|
|
.home-place-name {
|
|
font-size: 0.98rem;
|
|
line-height: 1.15;
|
|
line-clamp: 2;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.home-place-playing {
|
|
margin: 0;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.home-place-playing span {
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.home-place-votes {
|
|
margin-top: auto;
|
|
}
|
|
|
|
.status-icon {
|
|
position: absolute;
|
|
bottom : -8px;
|
|
right: -8px;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background-color: rgb(0, 139, 219);
|
|
border: 2px solid var(--card-bg);
|
|
}
|
|
|
|
.status-icon-green {
|
|
background-color: rgb(15, 211, 80) !important;
|
|
}
|
|
|
|
.image-container {
|
|
position: relative;
|
|
display: table;
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
.friends-scroll {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
scroll-behavior: smooth;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.friends-scroll a {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.friends-scroll::-webkit-scrollbar { display: none; }
|
|
.friends-scroll { -ms-overflow-style: none; scrollbar-width: none; }
|
|
|
|
@media (max-width: 768px) {
|
|
.home-page-shell {
|
|
padding: 1rem 0.75rem 1.5rem;
|
|
}
|
|
|
|
.home-hero {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.home-section-header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.home-place-card {
|
|
width: 160px;
|
|
}
|
|
} |