upd: css.container (now author up from message: outside ; self messages not in color, white as other messages)

This commit is contained in:
xdrm-brackets 2017-12-05 23:07:42 +01:00
parent b7c307a852
commit 8c919acc4b
1 changed files with 7 additions and 18 deletions

View File

@ -14,7 +14,7 @@
left: 0;
height: auto;
margin: 1em;
margin: 1.5em;
padding: 1em;
align-self: flex-start;
@ -27,7 +27,7 @@
}
#CONTAINER.message div.me{ /* Message Item (self) */
background: #13d89d;
/* background: #13d89d; */
align-self: flex-end;
}
@ -37,25 +37,14 @@
}
#CONTAINER.message div span.author{ /* Message author */
display: inline-block;
position: relative;
padding: .2em .4em;
margin-right: 1em;
border: 1px solid #ddd;
border-radius: 3px;
display: block;
position: absolute;
top: -1.8em;
left: .5em;
background: #eee;
color: #666;
}
#CONTAINER.message div span.author:after{ /* Add 'dit' */
content: ' dit';
color: #333;
color: #888;
}
#CONTAINER.message div.me span.author{ /* Hide message author if self */