Website Summary Files Commits Branches @commit @diff @stats
path: root / src / app / components / comment / comment.component.css
diff options
context:
space:
mode:
Commitbcd88af53b1a920d728ec98b45daa9ac2e2c0917 (patch)
Author
 transtrike <transtrike@gmail.com>
2021-02-12 19:04:53 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-02-12 19:04:53 +0200
Filesfd27eef086822b0f02f74364cac0b940956d2458 /src/app/components/comment/comment.component.css
DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.tar
DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.tar.gz
DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.zip
Parent1d1f05e3f74d70a558b4847a9107afa7952131cf (diff)
Moved from DevHive
1 files changed, 59 insertions, 0 deletions
-rw-r--r--src/app/components/comment/comment.component.css59
diff --git a/src/app/components/comment/comment.component.css b/src/app/components/comment/comment.component.css
new file mode 100644
index 0000000..d82f10e
--- /dev/null
+++ b/src/app/components/comment/comment.component.css
@@ -0,0 +1,59 @@
+.comment {
+ display: flex;
+ width: 100%;
+
+ margin: .5em auto;
+ box-sizing: border-box;
+ padding: .5em;
+ background-color: var(--card-bg);
+}
+
+.comment:first-child {
+ margin-top: 0;
+}
+
+/* Author */
+
+.author {
+ display: flex;
+ margin-bottom: .2em;
+}
+
+.author:hover {
+ cursor: pointer;
+}
+
+.author > img {
+ width: 1.7em;
+ height: 1.7em;
+ margin-right: .2em;
+}
+
+.author-info > .name {
+ font-size: .8em;
+}
+
+.author-info > .handle {
+ font-size: .6em;
+ color: gray;
+}
+
+/* Content */
+
+.content {
+ flex: 1;
+}
+
+.message {
+ margin: .3em 0;
+ word-break: break-all;
+}
+
+.timestamp {
+ font-size: .5em;
+ color: gray;
+}
+
+.message:hover, .timestamp:hover {
+ cursor: pointer;
+}