KevaChat is distributed chat platform for open, uncensored and privacy respectable communication with permanent data storage in blockchain.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

190 lines
2.5 KiB

*
{
/* apply defaults */
margin: 0;
padding: 0;
/* allow draw */
font-family: monospace;
/* adaptive */
color-scheme: light dark;
/* vars */
--container-max-width: 768px;
--color-warning: #ee784e;
--color-error: #ff6363;
--color-default: #999;
}
*::placeholder
{
font-size: 12px;
}
a, a:active, a:visited
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
body
{
font-size: 12px;
padding: 0 16px;
}
header
{
background-color: Canvas;
display: block;
left: 0;
margin: 0 auto;
max-width: var(--container-max-width);
padding-top: 16px;
position: fixed;
right: 0;
top: 0;
z-index: 2;
}
header > h2
{
display: inline-block;
font-size: 12px;
margin: 16px 0;
}
header > strong
{
font-size: 14px;
}
header > div
{
margin: 12px 0;
}
header > div > code
{
color: var(--color-error);
font-weight: bold;
}
header > div > sub > svg
{
fill: var(--color-error);
}
header > form > input[type="text"]
{
box-sizing: border-box;
padding: 4px;
width: 100%;
}
main
{
display: block;
margin: 16px auto 0 auto;
max-width: var(--container-max-width);
padding-top: 132px;
padding-bottom: 164px;
}
main ul
{
list-style: none;
}
main ul ul
{
margin-left: 24px;
}
main ul li
{
border-top: 1px var(--color-default) solid;
word-wrap: break-word;
}
main ul li div
{
padding: 16px 0;
}
main ul li p
{
padding: 8px 0;
}
main ul li p > br /* tmp solution for current twig filters implementation */
{
display: block;
margin: 4px 0;
}
main ul li span > svg
{
cursor: default;
fill: var(--color-default);
float: right;
}
footer
{
/*backdrop-filter: blur(100px);*/
background-color: Canvas;
bottom: 0;
display: block;
left: 0;
position: fixed;
right: 0;
z-index:2;
}
footer > form
{
bottom: 16px;
display: block;
margin: 16px auto;
max-width: var(--container-max-width);
overflow: hidden;
padding: 4px;
width: 100%;
}
footer > form > input[type="text"],
footer > form > textarea
{
box-sizing: border-box;
display: block;
margin-bottom: 10px;
max-width: var(--container-max-width);
padding: 4px;
width: 100%;
}
footer > form > textarea:focus
{
min-height: 100px;
}
footer > form > button
{
cursor: pointer;
float: right;
padding: 2px 8px;
}
footer > form > output
{
color: var(--color-error);
display: block;
font-weight: bolder;
margin-bottom: 16px;
}