1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/mipilin synced 2025-03-04 18:02:07 +00:00
mipilin/static/css/dashboard.css

106 lines
1.7 KiB
CSS
Raw Normal View History

form * {
display: block;
margin: 4px 0;
}
form *:first-child {
margin-top: 0;
}
form *:last-child {
margin-bottom: 0;
}
#dashboard-update-form * {
width: 50%;
min-width: 128px;
}
#dashboard-profile * {
width: 100%;
}
#dashboard-mood-history {
margin: 0;
list-style-type: none;
padding-inline-start: 0;
}
#dashboard-mood-history li {
display: flex;
justify-content: space-between;
}
#journal-update {
max-width: 880px;
}
#journal-update .input {
display: flex;
align-items: center;
justify-content: space-between;
}
#journal-update .input span {
cursor: default;
}
#ovm {
display: flex;
}
#visibility-control * {
display: inline;
margin: 4px;
}
input.ovm-input {
opacity: 0;
width: 0;
}
input.ovm-input:first-child {
position: absolute;
width: 1px;
}
label.ovm-input > img {
border-width: 1px 0 1px 1px;
border-style: solid;
border-color: #afa870;
background-color: #d5d4bb;
cursor: pointer;
padding: 8px;
width: 64px;
aspect-ratio: 1/1;
}
input.ovm-input:checked+label > img {
background-color: #999883;
filter: invert(1);
}
label.ovm-input:last-child > img {
border-right-width: 1px;
}
.feed-journal-entries {
display: grid;
grid-template-columns: repeat(3, 1fr);
/* list-style: none;
padding-inline: 0;
column-count: 3;
margin-top: 0; */
}
.feed-journal-entry {
margin: 4px 0;
padding: 8px;
break-inside: avoid-column;
}
.feed-journal-entry:nth-child(6n+4), .feed-journal-entry:nth-child(6n+5), .feed-journal-entry:nth-child(6n+6) {
background-color: rgba(0, 0, 0, 0.1);
}
.feed-journal-entry:hover {
background-color: rgba(0, 0, 0, 0.2);
}
.feed-journal-entry a {
display: block;
}