diff options
| author | winter | 2025-01-20 17:43:17 +0000 |
|---|---|---|
| committer | winter | 2025-01-20 17:43:17 +0000 |
| commit | 6b78446c1d5b76438d40bbe68aa0397de533e61a (patch) | |
| tree | f2e06477b74e2b380b1922179e3cb16ca1420481 /static/form.css | |
| parent | 55433eeca50ff840cb0b660f8f9de44b2bc6825f (diff) | |
various avatar tweaks and profile above note form
Diffstat (limited to 'static/form.css')
| -rw-r--r-- | static/form.css | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/static/form.css b/static/form.css index 00a4366..c7a1873 100644 --- a/static/form.css +++ b/static/form.css @@ -32,7 +32,7 @@ form { textarea { resize: vertical; } - button { + button:not(.inline) { width: 100%; } .error { @@ -60,6 +60,34 @@ form { &#writeNoteForm { max-width: 100%; + + .miniProfile { + display: grid; + grid-template-columns: max-content 1fr; + margin-bottom: var(--spacing-double); + gap: var(--spacing-double); + + img.avatar { + border-radius: var(--border-radius); + width: var(--avatar-size); + aspect-ratio: 1; + display: block; + } + .basicInfo { + display: grid; + grid-auto-flow: row; + align-content: start; + .displayName { + font-size: var(--font-big-size); + font-weight: bold; + text-decoration: none; + color: inherit; + &:hover { + text-decoration: underline; + } + } + } + } } &.settings { |
