148 lines
2.5 KiB
CSS
148 lines
2.5 KiB
CSS
.profile-page {
|
|
min-height: 100vh;
|
|
background: var(--bg);
|
|
font-family: var(--font);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.profile-container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
padding: 60px 40px;
|
|
}
|
|
|
|
.profile-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
margin-bottom: 52px;
|
|
}
|
|
|
|
.profile-avatar {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
color: #fff;
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.profile-username {
|
|
margin: 0;
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
letter-spacing: -1px;
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-new-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 10px 22px;
|
|
background: var(--accent);
|
|
color: #fff;
|
|
border-radius: var(--radius-pill);
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: filter 0.2s, transform 0.15s;
|
|
letter-spacing: -0.1px;
|
|
}
|
|
|
|
.profile-new-btn:hover {
|
|
filter: brightness(1.1);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.profile-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.profile-card {
|
|
background: var(--bg-card);
|
|
border-radius: 18px;
|
|
padding: 24px 22px 20px;
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
transition: transform 0.28s cubic-bezier(0.34, 1.46, 0.64, 1),
|
|
box-shadow 0.28s ease;
|
|
}
|
|
|
|
.profile-card:hover {
|
|
transform: scale(1.025);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.profile-card-title {
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
letter-spacing: -0.3px;
|
|
}
|
|
|
|
.profile-card-desc {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-card-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.profile-badge {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
padding: 3px 9px;
|
|
border-radius: var(--radius-pill);
|
|
font-family: var(--mono);
|
|
}
|
|
|
|
.profile-badge-private {
|
|
background: var(--bg-elevated);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.profile-date {
|
|
color: var(--text-dim);
|
|
font-size: 11px;
|
|
margin-left: auto;
|
|
font-family: var(--mono);
|
|
}
|
|
|
|
.profile-muted {
|
|
color: var(--text-muted);
|
|
font-size: 15px;
|
|
margin: 0;
|
|
}
|
|
|
|
.profile-error {
|
|
color: #f87171;
|
|
font-size: 15px;
|
|
margin: 0;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.profile-container { padding: 32px 20px; }
|
|
.profile-header { flex-wrap: wrap; }
|
|
.profile-username { font-size: 24px; }
|
|
}
|