gamja/assets/style.css

147 lines
2 KiB
CSS
Raw Normal View History

2020-04-24 13:01:02 -04:00
html, body {
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
body {
display: grid;
2020-04-25 14:10:11 -04:00
grid-template-rows: auto max-content;
grid-template-columns: max-content auto;
2020-04-24 13:01:02 -04:00
font-family: monospace;
}
2020-06-05 17:35:33 -04:00
#sidebar, #buffer, #connect {
width: 100%;
2020-04-24 13:01:02 -04:00
height: 100%;
overflow: auto;
}
#sidebar {
background-color: #e3e3e3;
grid-row: 1 / 3;
}
#sidebar ul {
list-style-type: none;
margin: 0;
padding: 10px;
}
#sidebar ul a {
display: inline-block;
width: 100%;
}
#composer {
grid-column: 2;
border-top: 1px solid #e3e3e3;
}
#composer input {
display: block;
2020-04-25 14:10:11 -04:00
height: 35px;
2020-04-24 13:01:02 -04:00
width: 100%;
box-sizing: border-box;
padding: 10px;
border: none;
background: none;
}
#composer.read-only {
display: none;
}
2020-06-05 17:35:33 -04:00
#connect {
position: absolute;
top: 0;
left: 0;
height: 100%;
background: white;
}
#connect form {
margin: 0 auto;
max-width: 300px;
}
#connect input[type="text"],
#connect input[type="username"],
#connect input[type="password"],
#connect input[type="url"] {
2020-06-05 17:35:33 -04:00
box-sizing: border-box;
width: 100%;
}
2020-04-24 13:01:02 -04:00
a {
color: green;
}
#sidebar a, a.timestamp, a.nick {
color: #4a4a4a;
text-decoration: none;
}
#sidebar .active a {
color: black;
}
#sidebar a:hover, #sidebar a:active,
a.timestamp:hover, a.timestamp:active,
a.nick:hover, a.nick:active {
text-decoration: underline;
}
2020-04-25 06:51:35 -04:00
#buffer {
2020-04-25 04:28:23 -04:00
box-sizing: border-box;
padding: 10px;
color: #4a4a4a;
}
2020-04-25 06:51:35 -04:00
#buffer .talk {
2020-04-25 04:28:23 -04:00
color: black;
}
2020-04-25 06:51:35 -04:00
#buffer .me-tell {
2020-04-25 04:28:23 -04:00
color: #b37400;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-1 {
2020-04-24 13:01:02 -04:00
color: #f25e0d;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-2 {
2020-04-25 04:28:23 -04:00
color: #e43611;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-3 {
2020-04-25 04:28:23 -04:00
color: #f98a11;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-4 {
2020-04-25 04:28:23 -04:00
color: #b4a700;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-5 {
2020-04-25 04:28:23 -04:00
color: #89bd3b;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-6 {
2020-04-25 04:28:23 -04:00
color: #4ea847;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-7 {
2020-04-25 04:28:23 -04:00
color: #287e52;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-8 {
2020-04-25 04:28:23 -04:00
color: #117873;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-9 {
2020-04-25 04:28:23 -04:00
color: #0083a7;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-10 {
2020-04-25 04:28:23 -04:00
color: #2a6596;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-11 {
2020-04-25 04:28:23 -04:00
color: #385189;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-12 {
2020-04-25 04:28:23 -04:00
color: #434078;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-13 {
2020-04-25 04:28:23 -04:00
color: #5e4279;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-14 {
2020-04-25 04:28:23 -04:00
color: #7a447a;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-15 {
2020-04-25 04:28:23 -04:00
color: #e92980;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-16 {
2020-04-25 04:28:23 -04:00
color: #ec273e;
}