forked from creations/profilePage
528 lines
7.3 KiB
CSS
528 lines
7.3 KiB
CSS
body {
|
|
font-family: system-ui, sans-serif;
|
|
background-color: #0e0e10;
|
|
color: #ffffff;
|
|
margin: 0;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.user-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
max-width: 600px;
|
|
width: 100%;
|
|
}
|
|
|
|
.avatar-status-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.avatar-wrapper {
|
|
position: relative;
|
|
width: 128px;
|
|
height: 128px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 128px;
|
|
height: 128px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.decoration {
|
|
position: absolute;
|
|
top: -18px;
|
|
left: -18px;
|
|
width: 164px;
|
|
height: 164px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.status-indicator {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 4px;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
border: 4px solid #0e0e10;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.status-indicator.online {
|
|
background-color: #23a55a;
|
|
}
|
|
|
|
.status-indicator.idle {
|
|
background-color: #f0b232;
|
|
}
|
|
|
|
.status-indicator.dnd {
|
|
background-color: #f23f43;
|
|
}
|
|
|
|
.status-indicator.offline {
|
|
background-color: #747f8d;
|
|
}
|
|
|
|
.platform-icon.mobile-only {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 4px;
|
|
width: 30px;
|
|
height: 30px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
margin: 0;
|
|
color: #00b0f4;
|
|
}
|
|
|
|
.custom-status {
|
|
font-size: 1.2rem;
|
|
color: #bbb;
|
|
margin-top: 0.25rem;
|
|
word-break: break-word;
|
|
overflow-wrap: anywhere;
|
|
white-space: normal;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
|
|
.custom-status .custom-emoji {
|
|
width: 20px;
|
|
height: 20px;
|
|
vertical-align: text-bottom;
|
|
margin-right: 4px;
|
|
display: inline-block;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.8rem;
|
|
margin: 2rem 0 1rem;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.activities {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.activity {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
background-color: #1e1f22;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 10px;
|
|
box-shadow: 0 1px 0 0 #2e2e30;
|
|
}
|
|
|
|
.activity:hover {
|
|
background: #2a2a2d;
|
|
}
|
|
|
|
.activity-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.activity-wrapper-inner {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.activity-art {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.activity-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
flex: 1;
|
|
gap: 0.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
.activity-top {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.activity-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.activity-bottom {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.activity-name {
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.activity-detail {
|
|
font-size: 0.875rem;
|
|
color: #b5bac1;
|
|
}
|
|
|
|
.activity-timestamp {
|
|
font-size: 0.75rem;
|
|
color: #b5bac1;
|
|
text-align: right;
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 4px;
|
|
background-color: #2e2e30;
|
|
border-radius: 2px;
|
|
margin-top: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
background-color: #5865f2;
|
|
transition: width 0.4s ease;
|
|
height: 100%;
|
|
}
|
|
|
|
.progress-bar,
|
|
.progress-time-labels {
|
|
width: 100%;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.progress-time-labels {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 0.75rem;
|
|
color: #888;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.activity-type-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.activity-type-label {
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
color: #aaa;
|
|
margin-bottom: 0.50rem;
|
|
display: block;
|
|
}
|
|
|
|
.activity-header.no-timestamp {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.progress-time-labels.paused .progress-current::after {
|
|
content: " ⏸";
|
|
color: #f0b232;
|
|
}
|
|
|
|
.activity-buttons {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-top: 0.75rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.activity-button {
|
|
background-color: #5865f2;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 3px;
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s ease;
|
|
display: inline-block;
|
|
}
|
|
|
|
.activity-button:hover {
|
|
background-color: #4752c4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.activity-button:disabled {
|
|
background-color: #2d2e31;
|
|
cursor: not-allowed;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
html {
|
|
font-size: clamp(14px, 2vw, 16px);
|
|
}
|
|
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.user-card {
|
|
width: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.avatar-status-wrapper {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.avatar-wrapper {
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.decoration {
|
|
width: 128px;
|
|
height: 128px;
|
|
top: -16px;
|
|
left: -16px;
|
|
}
|
|
|
|
.status-indicator,
|
|
.platform-icon.mobile-only {
|
|
width: 20px;
|
|
height: 20px;
|
|
bottom: 2px;
|
|
right: 2px;
|
|
}
|
|
|
|
.user-info {
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.custom-status {
|
|
font-size: 1rem;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.4rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.activities {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.activity {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 1rem;
|
|
border-radius:0;
|
|
}
|
|
|
|
.activity-art {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.activity-content {
|
|
width: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.activity-header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.activity-timestamp {
|
|
text-align: center;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.activity-detail {
|
|
text-align: center;
|
|
}
|
|
|
|
.progress-time-labels {
|
|
justify-content: space-between;
|
|
font-size: 0.7rem;
|
|
margin-top: 0.25rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.activity-buttons {
|
|
justify-content: center;
|
|
margin-top: 0.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.activity-button {
|
|
font-size: 0.85rem;
|
|
padding: 0.4rem 0.8rem;
|
|
}
|
|
}
|
|
|
|
/* readme :p */
|
|
.readme {
|
|
max-width: 600px;
|
|
width: 100%;
|
|
background: #1a1a1d;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 0 1px #2e2e30;
|
|
|
|
margin-top: 2rem;
|
|
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.readme h2 {
|
|
margin-top: 0;
|
|
color: #00b0f4;
|
|
}
|
|
|
|
.markdown-body {
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
color: #ddd;
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
color: #ffffff;
|
|
margin-top: 1.25rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.markdown-body p {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.markdown-body a {
|
|
color: #00b0f4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.markdown-body code {
|
|
background: #2e2e30;
|
|
padding: 0.2em 0.4em;
|
|
border-radius: 4px;
|
|
font-family: monospace;
|
|
color: #f8f8f2;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
background: #2e2e30;
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
overflow-x: auto;
|
|
font-family: monospace;
|
|
color: #f8f8f2;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding-left: 1.5rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
border-left: 4px solid #00b0f4;
|
|
padding-left: 1rem;
|
|
color: #aaa;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.markdown-body img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.readme {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
|
|
margin-top: 1rem;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.markdown-body {
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|