linstrom/frontend-reactive/app/styles/notes.css
2024-09-23 09:18:35 +02:00

130 lines
2.1 KiB
CSS

.note {
display: flex;
flex-direction: column;
width: fit-content;
height: fit-content;
/* align-items: center; */
border: 1px dashed red;
max-width: 50em;
padding: 0.5em;
background-color: #eee;
}
.note-user-header {
display: flex;
flex-direction: row;
border: 2px solid black;
width: fit-content;
padding-right: 0.5em;
}
.note-user-pfp {
border: 1px dashed red;
width: 3em;
height: 3em;
padding-bottom: 0.1em;
text-align: center;
}
.note-user-name-and-handle {
display: flex;
flex-direction: column;
/* align-items: center; */
padding: 0.2em;
}
.note-user-displayname {
padding-top: 0.1em;
margin: 0.1em;
}
.note-user-handle {
font-size: 85%;
color: #555;
margin: 0;
}
.note-timestamps-container {
padding-top: 0.2em;
padding-bottom: 0.2em;
}
.note-timestamp {
font-size: 0.8em;
margin: -0.1em;
color: gray;
}
.note-content {
display: flex;
flex-direction: column;
width: fit-content;
align-items: center;
border: 1px dashed red;
}
.note-content-text {
border: 1px dashed red;
margin-top: -0.08em;
margin-bottom: -0.08em;
padding: 0.2em;
}
.note-content-toggle {
margin-top: 0.3em;
margin-bottom: 0.3em;
cursor: pointer;
background-color: #ccc;
padding: 0.1em 0.3em 0.2em;
border-radius: 8px;
border: 1px solid #aaa;
}
.note-content-toggle:hover {
background-color: #aaa;
}
.note-interactions-wrapper {
display: flex;
flex-direction: row;
}
.note-interactions-interaction-button {
display: flex;
flex-direction: row;
padding-right: 1em;
align-items: center;
border: 1px solid #aaa;
padding: 0.3em;
border-radius: 8px;
margin-right: 0.5em;
margin-top: 0.2em;
cursor: pointer;
}
.note-interactions-interaction-icon {
height: 2.5ex;
padding-right: 0.2em;
width: 100%;
}
.note-interactions-interaction-counter {
font-weight: bolder;
margin-top: -0.08em;
margin-bottom: -0.08em;
}
.note-interactions-interactions-button-like {
display: flex;
flex-direction: row;
}
.note-interactions-interactions-button-custom {
border-left: 1px black solid;
margin-left: 0.3em;
padding-left: 0.3em;
padding-top: 0.2em;
margin-bottom: -0.1em;
}