snort/src/pages/ProfilePage.css

113 lines
1.8 KiB
CSS
Raw Normal View History

2022-12-27 23:46:13 +00:00
.profile {
2023-01-03 16:55:51 +00:00
align-items: flex-start;
2022-12-27 23:46:13 +00:00
}
.profile > div:last-child {
margin-left: 10px;
}
2023-01-04 10:47:41 +00:00
.profile p {
white-space: pre-wrap;
}
2023-01-06 15:22:02 +00:00
.profile .name h2 {
margin: 0;
}
2023-01-10 07:09:09 +00:00
.profile .avatar-wrapper {
margin: auto 10px;
2023-01-10 07:09:09 +00:00
}
2022-12-28 14:51:33 +00:00
.profile .avatar {
border-radius: 50%;
2022-12-29 22:23:41 +00:00
height: 256px;
width: 256px;
2023-01-13 15:25:58 +00:00
background-image: var(--img-url), var(--gray-gradient);
border: 4px solid transparent;
background-origin: border-box;
background-clip: content-box, border-box;
2022-12-30 14:01:51 +00:00
background-size: cover;
box-sizing: border-box;
2022-12-27 23:46:13 +00:00
}
2023-01-13 15:25:58 +00:00
.profile .avatar[data-domain="snort.social"] {
background-image: var(--img-url), var(--snort-gradient);
}
.profile .avatar[data-domain="nostrplebs.com"] {
background-image: var(--img-url), var(--nostrplebs-gradient);
}
2023-01-10 07:09:09 +00:00
.profile .details {
margin-top: auto;
margin-bottom: auto;
overflow: hidden;
2023-01-10 07:09:09 +00:00
}
.profile .website {
padding-left: 0;
color: var(--highlight);
margin-bottom: 2px;
}
.profile .lnurl {
padding-left: 0;
}
.profile .btn-icon {
2023-01-10 12:41:55 +00:00
padding: 6px;
margin-left: 4px;
2023-01-10 07:09:09 +00:00
}
.profile .website::before {
content: '🔗 ';
font-size: 10px;
}
2023-01-11 11:33:34 +00:00
.profile a {
color: var(--highlight);
}
.profile .lnurl::before {
content: '⚡️ ';
font-size: 10px;
}
2022-12-29 15:21:03 +00:00
@media(max-width: 720px) {
.profile {
flex-direction: column;
align-items: center;
}
.profile > div:last-child {
margin: 5px 0;
2022-12-29 15:21:03 +00:00
width: 100%;
}
}
@media(max-width: 360px) {
.profile .name { flex-direction: column; }
.profile .name .btn {
margin-top: 5px;
}
}
.tabs {
display: flex;
justify-content: flex-start;
width: 100%;
margin: 10px 0;
}
.tabs > div {
margin-right: 0;
}
.tab {
margin: 0;
2023-01-11 12:26:36 +00:00
padding: 8px 0;
border-bottom: 3px solid var(--gray-secondary);
}
.tab.active {
border-bottom: 3px solid var(--highlight);
}