aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/Note.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/Note.js')
-rw-r--r--src/ui/Note.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/ui/Note.js b/src/ui/Note.js
index 63905e4..16b31cb 100644
--- a/src/ui/Note.js
+++ b/src/ui/Note.js
@@ -25,34 +25,34 @@ section > header {
display: flex;
flex-direction: row;
- height: 2.5rem;
+ height: 1.75rem;
color: var(--theme-header-fg);
background: var(--theme-header-bg);
}
section > header.small {
- height: 0.75rem;
+ height: 0.5rem;
}
section > header > * {
- margin: 0 0.5rem;
+ margin: 0 0.35rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- line-height: 2.5rem;
+ line-height: 1.75rem;
}
section > header > .avatar {
- height: 2rem;
- width: 2rem;
+ height: 1.25rem;
+ width: 1.25rem;
flex: 0 0 auto;
margin: 0.25rem;
- border-radius: 0.3rem;
+ border-radius: 0.2rem;
- font-size: 1.5rem;
+ font-size: 1.25rem;
font-weight: bold;
- line-height: 2rem;
+ line-height: 1.25rem;
text-align: center;
text-decoration: none;
background: white;
@@ -66,8 +66,8 @@ section > header > .collapse {
height: 1rem;
width: 1rem;
flex: 0 0 auto;
- margin: 0.6rem 0.5rem;
- border-radius: 0.3rem;
+ margin: 0.3rem;
+ border-radius: 0.2rem;
border: 0.05rem solid var(--theme-header-fg);
line-height: 0.8rem;
@@ -124,14 +124,14 @@ section {
flex-direction: column;
justify-content: space-between;
- width: 22rem;
+ width: 15rem;
overflow: hidden;
color: var(--theme-note-fg);
background: var(--theme-note-bg);
box-shadow: rgba(0,0,0, 0.7) 2px 4px 5px;
- border-radius: 0.4rem;
+ border-radius: 0.3rem;
}
section.type-Tombstone {
@@ -141,7 +141,7 @@ section.type-Tombstone {
section > main {
position: relative;
- padding: 0.75rem;
+ padding: 0.5rem;
overflow: hidden;
font-family: serif;
}