1339 lines
24 KiB
CSS
1339 lines
24 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
button,a,.nav-link,.room-card,.user-card,.photo-card,.shop-card,.website-badge {
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--canvas-glow), var(--canvas);
|
|
background-attachment: fixed;
|
|
color: var(--ink);
|
|
font: 15px/1.5 var(--font-body);
|
|
--shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.masthead {
|
|
height: 64px;
|
|
background: var(--appbar-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 24px;
|
|
color: #fff;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
box-shadow: 0px 2px 4px -1px rgba(0,0,0,.2), 0px 4px 5px 0px rgba(0,0,0,.14), 0px 1px 10px 0px rgba(0,0,0,.12);
|
|
}
|
|
|
|
.masthead-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.masthead-links .nav-link {
|
|
width: auto;
|
|
padding: 8px 12px;
|
|
border-radius: var(--radius-sm);
|
|
border-left: 0;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.masthead-links .nav-link:hover {
|
|
background: var(--surface-hover);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.masthead-links .nav-link.active {
|
|
background: transparent;
|
|
color: var(--pink);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wordmark {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: auto;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.logo-mark {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 37px;
|
|
height: 37px;
|
|
border: 3px solid #fff;
|
|
border-radius: var(--radius-md);
|
|
font-size: 21px;
|
|
line-height: 1;
|
|
transform: rotate(-3deg);
|
|
}
|
|
|
|
.global-search {
|
|
height: 36px;
|
|
max-width: 320px;
|
|
flex: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.global-search span {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 5px;
|
|
color: var(--muted);
|
|
font-size: 0;
|
|
}
|
|
|
|
.global-search span:before {
|
|
content: "\2315";
|
|
font-size: 18px;
|
|
}
|
|
|
|
.global-search input {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(255,255,255,.09);
|
|
padding: 0 14px 0 38px;
|
|
font: inherit;
|
|
font-size: 14px;
|
|
color: var(--ink);
|
|
outline: 0;
|
|
}
|
|
|
|
.global-search input::placeholder {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.global-search input:focus {
|
|
background: rgba(255,255,255,.13);
|
|
}
|
|
|
|
.mast-actions {
|
|
margin-left: auto;
|
|
padding-left: 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.circle-button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: #fff;
|
|
opacity: .75;
|
|
cursor: pointer;
|
|
transition: .15s opacity;
|
|
}
|
|
|
|
.circle-button:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mini-avatar {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 37px;
|
|
height: 37px;
|
|
border: 2px solid rgba(255,255,255,.75);
|
|
border-radius: 50%;
|
|
font-weight: 800;
|
|
transition: .15s border-color;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mini-avatar:hover {
|
|
border-color: #fff;
|
|
}
|
|
|
|
.account-menu-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.settings-gear {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 37px;
|
|
height: 37px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.account-menu {
|
|
position: absolute;
|
|
top: calc(100% + 12px);
|
|
right: 0;
|
|
z-index: 30;
|
|
min-width: 200px;
|
|
padding: 8px;
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface-solid);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.account-menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border: 0;
|
|
border-left: 0;
|
|
border-radius: var(--radius-sm);
|
|
background: transparent;
|
|
color: var(--ink);
|
|
font: inherit;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: .15s background;
|
|
}
|
|
|
|
.account-menu-item:hover {
|
|
background: var(--surface-hover);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.account-menu-item i {
|
|
width: 18px;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.shell {
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.site-footer {
|
|
max-width: 1180px;
|
|
margin: 20px auto 0;
|
|
padding: 24px 42px 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
color: var(--faint);
|
|
font-size: 12px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.site-footer span:first-child {
|
|
font-weight: 800;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.site-footer a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.site-footer a:hover {
|
|
color: var(--pink);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.nav-link {
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 11px 14px 11px 17px;
|
|
border: 0;
|
|
border-left: 3px solid transparent;
|
|
border-radius: 0 7px 7px 0;
|
|
background: transparent;
|
|
color: #5d5864;
|
|
font: inherit;
|
|
font-weight: 680;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: .15s background,.15s color,.15s border-color;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
background: #f0edf4;
|
|
color: var(--purple);
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--purple);
|
|
background: var(--purple-soft);
|
|
border-left-color: var(--purple);
|
|
}
|
|
|
|
main {
|
|
width: 100%;
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
padding: 38px 42px 80px;
|
|
}
|
|
|
|
.page-kicker {
|
|
color: var(--purple);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
letter-spacing: .12em;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 32px;
|
|
line-height: 1.15;
|
|
letter-spacing: -.7px;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.subtitle,.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.section-head {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
margin: 35px 0 15px;
|
|
}
|
|
|
|
.section-head h2 {
|
|
margin: 0;
|
|
font-size: 21px;
|
|
}
|
|
|
|
.section-head button {
|
|
border: 0;
|
|
background: none;
|
|
color: var(--purple);
|
|
font: inherit;
|
|
font-weight: 750;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hero {
|
|
min-height: 190px;
|
|
border-radius: var(--radius-md);
|
|
padding: 32px 36px;
|
|
background: var(--grad-brand-strong);
|
|
color: #fff;
|
|
box-shadow: 0 10px 30px rgba(30,10,55,.35);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero:after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 260px;
|
|
height: 260px;
|
|
border: 50px solid rgba(255,255,255,.09);
|
|
border-radius: 50%;
|
|
right: -45px;
|
|
top: -86px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 34px;
|
|
margin: 0 0 8px;
|
|
letter-spacing: -.8px;
|
|
}
|
|
|
|
.hero p {
|
|
max-width: 500px;
|
|
margin: 0;
|
|
color: #e6dcf8;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.hero .hero-chip {
|
|
display: inline-block;
|
|
margin-bottom: 18px;
|
|
padding: 5px 10px;
|
|
background: rgba(255,255,255,.17);
|
|
border-radius: var(--radius-pill);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
letter-spacing: .1em;
|
|
}
|
|
|
|
.photo-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3,minmax(0,1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.photo-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow);
|
|
transition: .18s transform,.18s box-shadow;
|
|
}
|
|
|
|
.photo-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(38,27,55,.12);
|
|
}
|
|
|
|
.photo-image {
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 4/3;
|
|
object-fit: cover;
|
|
background: #e9e6ed;
|
|
}
|
|
|
|
.photo-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 11px 12px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
background: #e2dce9;
|
|
border: 1px solid #ddd6e5;
|
|
}
|
|
|
|
.owner {
|
|
font-weight: 780;
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.owner:hover {
|
|
color: var(--purple);
|
|
}
|
|
|
|
.date {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.search-panel {
|
|
display: flex;
|
|
gap: 12px;
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
padding: 16px;
|
|
margin: 22px 0;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.search {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid #d8d3dc;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
font: inherit;
|
|
outline: 0;
|
|
}
|
|
|
|
.search:focus {
|
|
border-color: var(--purple);
|
|
box-shadow: 0 0 0 3px var(--purple-soft);
|
|
}
|
|
|
|
.user-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.user-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 17px;
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow);
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: .15s border-color,.15s transform;
|
|
}
|
|
|
|
.user-card:hover {
|
|
border-color: #c5aeea;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.user-card .avatar {
|
|
width: 62px;
|
|
height: 62px;
|
|
}
|
|
|
|
.name {
|
|
font-weight: 820;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.bio {
|
|
color: var(--muted);
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.profile-layout {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 30px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.profile-side {
|
|
flex: 0 0 300px;
|
|
width: 300px;
|
|
}
|
|
|
|
.profile-banner {
|
|
height: 150px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--grad-brand-strong) center/cover;
|
|
}
|
|
|
|
.profile-avatar-row {
|
|
margin-top: -44px;
|
|
padding-left: 14px;
|
|
}
|
|
|
|
.profile-avatar-row .avatar-wrap {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.profile-side-body {
|
|
padding: 12px 4px 0;
|
|
}
|
|
|
|
.profile-side-body h1 {
|
|
margin: 0;
|
|
font-size: 21px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.chips {
|
|
display: flex;
|
|
gap: 7px;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.chip {
|
|
padding: 5px 10px;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--purple-soft);
|
|
color: var(--purple-dark);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.profile-side-rule {
|
|
height: 1px;
|
|
background: var(--line);
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.profile-bio {
|
|
margin: 0 0 16px;
|
|
color: #625d68;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.profile-joined {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.profile-main {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.empty,.loading {
|
|
padding: 65px 20px;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.landing-hero {
|
|
min-height: 230px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.landing-hero h1 {
|
|
font-size: 50px;
|
|
margin: 6px 0 14px;
|
|
letter-spacing: -1.2px;
|
|
}
|
|
|
|
.landing-hero p {
|
|
max-width: 560px;
|
|
font-size: 16px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.landing-cta {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.ghost-button {
|
|
padding: 12px 18px;
|
|
border: 1px solid rgba(255,255,255,.4);
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(255,255,255,.08);
|
|
color: #fff;
|
|
font: inherit;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
transition: .15s background;
|
|
}
|
|
|
|
.ghost-button:hover {
|
|
background: rgba(255,255,255,.18);
|
|
}
|
|
|
|
.landing-features {
|
|
display: grid;
|
|
grid-template-columns: repeat(4,minmax(0,1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.feature-card {
|
|
padding: 22px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--card);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.feature-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
margin-bottom: 14px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--purple-soft);
|
|
color: var(--purple);
|
|
font-size: 19px;
|
|
}
|
|
|
|
.feature-card h3 {
|
|
margin: 0 0 6px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.feature-card p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
@media (max-width:900px) {
|
|
.landing-features {
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width:620px) {
|
|
.landing-hero h1 {
|
|
font-size: 36px;
|
|
}
|
|
.landing-cta {
|
|
flex-direction: column;
|
|
}
|
|
.landing-features {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.stats-strip {
|
|
display: flex;
|
|
gap: 14px;
|
|
margin: 26px 0 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stat-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 13px 19px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--card);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.stat-pill i {
|
|
color: var(--purple);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.stat-pill strong {
|
|
display: block;
|
|
font: 900 20px var(--futura-extra);
|
|
}
|
|
|
|
.stat-pill span {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.how-steps {
|
|
display: grid;
|
|
grid-template-columns: repeat(3,minmax(0,1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.how-step {
|
|
padding: 24px 22px 22px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--card);
|
|
}
|
|
|
|
.how-step-num {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
margin-bottom: 14px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--grad-brand);
|
|
color: #fff;
|
|
font: 900 15px var(--futura-extra);
|
|
}
|
|
|
|
.how-step h3 {
|
|
margin: 0 0 6px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.how-step p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.cta-band {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
margin: 8px 0 10px;
|
|
padding: 30px 34px;
|
|
border-radius: var(--radius-lg);
|
|
background: var(--grad-brand-strong);
|
|
color: #fff;
|
|
box-shadow: 0 10px 30px rgba(30,10,55,.35);
|
|
}
|
|
|
|
.cta-band h2 {
|
|
margin: 0 0 4px;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.cta-band p {
|
|
margin: 0;
|
|
color: #e6dcf8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
@media (max-width:700px) {
|
|
.how-steps {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.cta-band {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.stats-strip {
|
|
gap: 10px;
|
|
}
|
|
.stat-pill {
|
|
flex: 1 1 140px;
|
|
}
|
|
}
|
|
|
|
.loading i {
|
|
display: inline-block;
|
|
width: 17px;
|
|
height: 17px;
|
|
margin-right: 9px;
|
|
border: 2px solid #d9d1e6;
|
|
border-top-color: var(--purple);
|
|
border-radius: 50%;
|
|
vertical-align: -3px;
|
|
animation: spin .75s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@media (max-width:900px) {
|
|
.photo-grid {
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
}
|
|
main {
|
|
padding: 30px 25px;
|
|
}
|
|
}
|
|
|
|
@media (max-width:620px) {
|
|
.masthead {
|
|
height: 60px;
|
|
padding: 0 14px;
|
|
flex-wrap: wrap;
|
|
row-gap: 8px;
|
|
}
|
|
.wordmark {
|
|
width: auto;
|
|
}
|
|
.wordmark>span:last-child {
|
|
display: none;
|
|
}
|
|
.logo-mark {
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
.masthead-links {
|
|
order: 3;
|
|
width: 100%;
|
|
margin-left: 0;
|
|
overflow-x: auto;
|
|
}
|
|
.mast-actions {
|
|
gap: 8px;
|
|
padding-left: 8px;
|
|
}
|
|
.global-search {
|
|
margin-left: 16px;
|
|
}
|
|
main {
|
|
padding: 22px 14px 85px;
|
|
}
|
|
.hero {
|
|
min-height: 170px;
|
|
padding: 26px 23px;
|
|
}
|
|
.hero h1 {
|
|
font-size: 28px;
|
|
}
|
|
.photo-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 14px;
|
|
}
|
|
.user-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.profile-layout {
|
|
flex-direction: column;
|
|
}
|
|
.profile-side {
|
|
width: 100%;
|
|
flex-basis: auto;
|
|
}
|
|
.profile-banner {
|
|
height: 130px;
|
|
}
|
|
.profile-avatar-row {
|
|
margin-top: -38px;
|
|
}
|
|
.profile-side-body h1 {
|
|
font-size: 19px;
|
|
}
|
|
.section-head {
|
|
margin-top: 28px;
|
|
}
|
|
}
|
|
|
|
button,input,select,textarea,a {
|
|
font: inherit;
|
|
}
|
|
|
|
button,a {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
button:focus,button:active,a:focus,a:active,.nav-link:focus,.nav-link:active,.mini-avatar:focus,.mini-avatar:active,.circle-button:focus,.circle-button:active {
|
|
outline: none;
|
|
}
|
|
|
|
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px color-mix(in srgb,var(--purple) 55%,transparent);
|
|
}
|
|
|
|
.mini-avatar:focus-visible,.circle-button:focus-visible,.logo-mark:focus-visible {
|
|
box-shadow: 0 0 0 3px color-mix(in srgb,var(--purple) 55%,transparent);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#app:focus,#app:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
.search-shell {
|
|
position: relative;
|
|
max-width: 600px;
|
|
flex: 1;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
.search-shell .global-search {
|
|
display: block;
|
|
max-width: none;
|
|
}
|
|
|
|
.global-search-results {
|
|
position: absolute;
|
|
top: 48px;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 50;
|
|
overflow: hidden;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--card);
|
|
color: var(--ink);
|
|
box-shadow: 0 18px 55px rgba(17,9,25,.28);
|
|
}
|
|
|
|
.search-result-label {
|
|
padding: 9px 13px 6px;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 850;
|
|
text-transform: uppercase;
|
|
letter-spacing: .11em;
|
|
}
|
|
|
|
.global-result {
|
|
display: grid;
|
|
grid-template-columns: 38px minmax(0,1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 10px 13px;
|
|
border: 0;
|
|
border-top: 1px solid var(--line);
|
|
background: transparent;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.global-result:hover,.global-result.active {
|
|
background: var(--purple-soft);
|
|
}
|
|
|
|
.global-result img,.global-result-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: var(--radius-sm);
|
|
object-fit: cover;
|
|
background: var(--purple-soft);
|
|
color: var(--purple);
|
|
}
|
|
|
|
.global-result.player img {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.global-result strong,.global-result small {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.global-result small {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.global-result>span:last-child {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.global-search-empty {
|
|
padding: 18px;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.server-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 11px;
|
|
border: 1px solid rgba(255,255,255,.2);
|
|
border-radius: var(--radius-pill);
|
|
background: rgba(255,255,255,.09);
|
|
color: #d8fff0;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.server-status i {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #42d6a4;
|
|
box-shadow: 0 0 0 4px rgba(66,214,164,.14);
|
|
}
|
|
|
|
.server-status.connecting {
|
|
color: #ffe0b6;
|
|
}
|
|
|
|
.server-status.connecting i {
|
|
background: #ffab5c;
|
|
}
|
|
|
|
.server-status.offline {
|
|
color: #ffd0d8;
|
|
}
|
|
|
|
.server-status.offline i {
|
|
background: #ff687f;
|
|
}
|
|
|
|
.home-hero {
|
|
display: grid;
|
|
grid-template-columns: minmax(0,1fr) auto;
|
|
align-items: center;
|
|
min-height: 230px;
|
|
}
|
|
|
|
.home-hero:before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: auto 70px -100px auto;
|
|
width: 210px;
|
|
height: 210px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,.07);
|
|
}
|
|
|
|
.home-hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.home-hero-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.hero-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 11px 15px;
|
|
border: 1px solid rgba(255,255,255,.32);
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(255,255,255,.1);
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hero-action.primary {
|
|
border-color: #fff;
|
|
background: #fff;
|
|
color: var(--purple-dark);
|
|
}
|
|
|
|
.hero-action:hover {
|
|
transform: translateY(-1px);
|
|
background: rgba(255,255,255,.18);
|
|
}
|
|
|
|
.hero-action.primary:hover {
|
|
background: #f7f2ff;
|
|
}
|
|
|
|
.home-live {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 145px;
|
|
height: 145px;
|
|
border: 1px solid rgba(255,255,255,.24);
|
|
border-radius: 50%;
|
|
background: rgba(25,7,55,.22);
|
|
text-align: center;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.home-live strong {
|
|
display: block;
|
|
font-size: 40px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.home-live span {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: #e8dcf8;
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
text-transform: uppercase;
|
|
letter-spacing: .09em;
|
|
}
|
|
|
|
.home-overview {
|
|
display: grid;
|
|
grid-template-columns: repeat(4,minmax(0,1fr));
|
|
gap: 13px;
|
|
margin: 20px 0 6px;
|
|
}
|
|
|
|
.overview-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 17px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--card);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.overview-card .overview-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 52px;
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--purple-soft);
|
|
color: var(--purple);
|
|
font-size: 23px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.overview-card .overview-icon i {
|
|
font-size: 23px;
|
|
color: inherit;
|
|
}
|
|
|
|
.overview-card strong,.overview-card>div>span {
|
|
display: block;
|
|
}
|
|
|
|
.overview-card strong {
|
|
font-size: 21px;
|
|
}
|
|
|
|
.overview-card>div>span {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.quick-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3,minmax(0,1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.quick-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 18px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--card);
|
|
color: inherit;
|
|
text-decoration: none;
|
|
box-shadow: var(--shadow);
|
|
transition: .15s transform,.15s border-color;
|
|
}
|
|
|
|
.quick-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: color-mix(in srgb,var(--purple) 45%,var(--line));
|
|
}
|
|
|
|
.quick-card i {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--purple-soft);
|
|
color: var(--purple);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.quick-card strong,.quick-card small {
|
|
display: block;
|
|
}
|
|
|
|
.quick-card small {
|
|
margin-top: 2px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.route-error {
|
|
padding: 48px 25px;
|
|
text-align: center;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--card);
|
|
}
|
|
|
|
.route-error i {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 54px;
|
|
height: 54px;
|
|
margin: 0 auto 16px;
|
|
border-radius: var(--radius-lg);
|
|
background: var(--purple-soft);
|
|
color: var(--purple);
|
|
font-size: 23px;
|
|
}
|
|
|
|
.route-error h2 {
|
|
margin: 0 0 6px;
|
|
}
|
|
|
|
.route-error p {
|
|
margin: 0 0 18px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.route-error button {
|
|
padding: 10px 16px;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--purple);
|
|
color: #fff;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.image-broken {
|
|
opacity: .18;
|
|
}
|
|
|
|
@media (max-width:900px) {
|
|
.home-overview {
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
}
|
|
.quick-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.server-status span {
|
|
display: none;
|
|
}
|
|
.server-status {
|
|
padding: 9px;
|
|
}
|
|
}
|
|
|
|
@media (max-width:620px) {
|
|
.search-shell {
|
|
margin-left: 12px;
|
|
}
|
|
.global-search-results {
|
|
position: fixed;
|
|
top: 60px;
|
|
left: 8px;
|
|
right: 8px;
|
|
}
|
|
.server-status {
|
|
display: flex;
|
|
}
|
|
.home-hero {
|
|
display: block;
|
|
}
|
|
.home-live {
|
|
display: none;
|
|
}
|
|
.home-hero-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
.home-overview {
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
gap: 9px;
|
|
}
|
|
.overview-card {
|
|
padding: 13px 11px;
|
|
}
|
|
.global-search {
|
|
margin-left: 0;
|
|
}
|
|
.search-shell {
|
|
margin-left: 0;
|
|
}
|
|
.mast-actions {
|
|
gap: 8px;
|
|
}
|
|
.login-button {
|
|
white-space: nowrap;
|
|
}
|
|
}
|