aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/timeline/TimelinePostView.css
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/pages/timeline/TimelinePostView.css')
-rw-r--r--FrontEnd/src/pages/timeline/TimelinePostView.css37
1 files changed, 37 insertions, 0 deletions
diff --git a/FrontEnd/src/pages/timeline/TimelinePostView.css b/FrontEnd/src/pages/timeline/TimelinePostView.css
new file mode 100644
index 00000000..a8db46bf
--- /dev/null
+++ b/FrontEnd/src/pages/timeline/TimelinePostView.css
@@ -0,0 +1,37 @@
+.timeline-post-header {
+ display: flex;
+ align-items: center;
+}
+
+.timeline-post-author-avatar {
+ border-radius: 50%;
+ width: 2em;
+ height: 2em;
+}
+
+.timeline-post-author-nickname {
+ margin: 0 1em;
+}
+
+.timeline-post-edit-button {
+ float: right;
+}
+
+.timeline-post-options-mask {
+ position: absolute;
+ inset: 0;
+ background-color: hsla(0, 0%, 100%, 0.9);
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+}
+
+@media (prefers-color-scheme: dark) {
+ .timeline-post-options-mask {
+ background-color: hsla(0, 0%, 0%, 0.8);
+ }
+}
+
+.timeline-post-content {
+ margin-top: 0.5em;
+}