Settings page

This commit is contained in:
2023-01-09 11:00:23 +00:00
parent 6c157019ea
commit 276a4cbcd1
12 changed files with 284 additions and 221 deletions

View File

@ -18,50 +18,13 @@
margin: 0;
}
.profile .npub-container {
user-select: none;
cursor: pointer;
}
.profile .npub {
font-family: monospace;
font-size: 14px;
margin: 0;
width: 18em;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.profile .avatar {
width: 256px;
height: 256px;
background-size: cover;
cursor: pointer;
border-radius: 10px;
}
.profile .avatar .edit {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
opacity: 0;
background-color: black;
}
.profile .avatar .edit:hover {
opacity: 0.5;
}
.profile .editor textarea {
resize: vertical;
width: calc(100% - 30px);
max-height: 300px;
min-height: 60px;
}
@media(max-width: 720px) {
.profile {
flex-direction: column;