snort/packages/app/src/Pages/ProfilePage.css

226 lines
3.3 KiB
CSS
Raw Normal View History

2022-12-27 23:46:13 +00:00
.profile {
2023-01-25 18:08:53 +00:00
display: flex;
2023-01-13 22:48:24 +00:00
flex-direction: column;
2023-01-25 18:08:53 +00:00
align-items: flex-start;
2023-07-24 14:30:21 +00:00
border: 1px solid var(--gray-superdark);
2023-01-13 22:48:24 +00:00
}
.profile .banner {
2023-01-25 18:08:53 +00:00
width: 100%;
height: 160px;
object-fit: cover;
2023-07-24 14:30:21 +00:00
margin-bottom: -37px;
2023-01-25 18:08:53 +00:00
z-index: 0;
}
2023-02-05 22:44:31 +00:00
.profile .profile-actions {
display: flex;
align-items: center;
2023-07-24 14:30:21 +00:00
align-self: flex-end;
2023-02-05 22:44:31 +00:00
}
.profile .icon-actions {
display: flex;
flex-direction: row;
align-items: center;
}
.profile .profile-actions button:not(:last-child) {
margin-right: 8px;
}
.profile .profile-actions button.icon:not(:last-child) {
margin-right: 0;
}
@media (min-width: 520px) {
.profile .banner {
width: 100%;
max-width: 720px;
2023-02-06 21:42:47 +00:00
height: 280px;
2023-02-05 22:44:31 +00:00
}
.profile .profile-actions button.icon:not(:last-child) {
margin-right: 2px;
}
}
2023-01-25 18:08:53 +00:00
.profile .profile-wrapper {
2023-07-24 14:30:21 +00:00
margin: 0 16px 12px 16px;
2023-01-25 18:08:53 +00:00
display: flex;
flex-direction: column;
align-items: flex-start;
position: relative;
2023-02-06 21:42:47 +00:00
overflow: hidden;
2023-07-24 14:30:21 +00:00
gap: 16px;
2022-12-27 23:46:13 +00:00
}
2023-01-04 10:47:41 +00:00
.profile p {
white-space: pre-wrap;
2023-01-04 10:47:41 +00:00
}
2023-02-07 13:32:32 +00:00
.details-wrapper > .name > h2 {
2023-07-24 14:30:21 +00:00
margin: 0 0 4px 0;
2023-01-26 06:51:38 +00:00
font-weight: 600;
2023-07-24 14:30:21 +00:00
font-size: 21px;
}
.details-wrapper > .name > .nip05 {
font-size: 15px;
2023-01-13 22:48:24 +00:00
}
2023-02-07 13:32:32 +00:00
.profile-wrapper > .avatar-wrapper {
2023-01-25 18:08:53 +00:00
z-index: 1;
2023-07-24 14:30:21 +00:00
display: flex;
justify-content: space-between;
2023-01-10 07:09:09 +00:00
}
2023-02-07 13:32:32 +00:00
.profile-wrapper > .avatar-wrapper .avatar {
2023-07-24 14:30:21 +00:00
width: 100px;
height: 100px;
2023-02-06 21:42:47 +00:00
background-image: var(--img-url);
2023-07-24 14:30:21 +00:00
border: 3px solid #fff;
2023-01-13 22:48:24 +00:00
}
2023-01-25 18:08:53 +00:00
.profile .name {
display: flex;
flex-direction: column;
2023-01-13 22:48:24 +00:00
}
2023-07-24 14:30:21 +00:00
.profile .about {
2023-02-05 22:44:31 +00:00
color: var(--font-secondary-color);
2023-07-24 14:30:21 +00:00
font-size: 16px;
line-height: 26px;
2023-01-13 22:48:24 +00:00
}
2023-07-24 14:30:21 +00:00
.profile .about p {
word-break: break-word;
2023-01-13 22:48:24 +00:00
}
2023-07-24 14:30:21 +00:00
.profile .about a {
color: var(--highlight);
text-decoration: none;
2023-01-10 07:09:09 +00:00
}
2023-07-24 14:30:21 +00:00
.profile .about a:hover {
text-decoration: underline;
}
2023-07-24 14:30:21 +00:00
.profile .about .text {
font-size: inherit;
line-height: inherit;
}
.profile .btn-icon {
color: var(--font-color);
padding: 6px;
2023-01-10 07:09:09 +00:00
}
2023-01-13 22:48:24 +00:00
.profile .details-wrapper {
display: flex;
flex-direction: column;
2023-07-24 14:30:21 +00:00
gap: 16px;
2023-01-26 06:51:38 +00:00
}
2023-07-24 14:30:21 +00:00
.profile .link-section {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 15px;
line-height: 24px;
}
2023-07-24 14:30:21 +00:00
.profile .link {
2023-01-25 18:08:53 +00:00
display: flex;
align-items: center;
2023-07-24 14:30:21 +00:00
gap: 8px;
}
2023-01-25 18:08:53 +00:00
.profile .website a {
text-decoration: none;
}
2023-01-25 18:08:53 +00:00
.profile .website a:hover {
text-decoration: underline;
}
2023-07-24 14:30:21 +00:00
.profile .link svg {
color: var(--highlight);
}
2023-07-24 14:30:21 +00:00
.profile .lnurl {
cursor: pointer;
}
2023-01-25 18:08:53 +00:00
.profile .lnurl:hover {
text-decoration: underline;
}
2023-01-15 22:59:28 +00:00
2023-01-25 18:08:53 +00:00
.profile .lnurl {
overflow: hidden;
text-overflow: ellipsis;
2023-01-15 22:59:28 +00:00
}
2023-07-24 14:30:21 +00:00
.profile .copy .body {
font-size: inherit;
line-height: inherit;
2023-03-09 10:13:10 +00:00
}
2023-02-06 21:42:47 +00:00
.qr-modal .pfp {
flex-direction: column;
}
.qr-modal .pfp .avatar {
width: 48px;
height: 48px;
}
.qr-modal .pfp .avatar-wrapper {
margin: 0 0 8px 0;
}
.qr-modal .pfp .avatar-wrapper .avatar {
border: none;
}
.qr-modal .pfp .username {
2023-02-14 21:33:13 +00:00
align-items: center;
2023-02-06 21:42:47 +00:00
}
.qr-modal canvas {
border-radius: 10px;
2023-01-29 22:11:04 +00:00
}
2023-02-03 21:38:14 +00:00
.profile .zap-amount {
font-weight: normal;
margin-left: 4px;
}
2023-02-12 12:44:37 +00:00
.zaps-total {
text-align: right;
padding-right: 12px;
margin-bottom: 8px;
font-weight: 500;
font-size: 24px;
}
2023-02-12 18:09:15 +00:00
.profile .nip05 .nick {
display: unset;
}
.profile .nip05 .domain {
display: unset;
}
2023-03-09 10:13:10 +00:00
.badge-card .badge-icon {
width: 48px;
height: 48px;
margin-right: 0.3em;
}
.badge-card .header {
align-items: center;
flex-direction: row;
}
.badge-card .body {
margin-bottom: 0;
}