Files
chookchat/client/style.css

135 lines
1.9 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital@0;1&display=swap');
body {
font-family: "JetBrains Mono", monospace;
font-size: 12pt;
color: lime;
background-color: black;
line-height: 1.1;
height: 100vh;
margin: 0;
}
hr {
border: none;
height: 2px;
background-color: lime;
}
button, input, textarea {
appearance: none;
font-family: "JetBrains Mono", monospace;
font-size: 12pt;
color: lime;
background-color: black;
border: 1px solid lime;
cursor: pointer;
}
button:hover {
background-color: lime;
color: black;
}
textarea {
width: 100%;
box-sizing: border-box;
}
.postbox, #posts {
max-width: 700px;
margin: 0 auto;
}
img {
max-height: 200px;
max-width: 100%;
height: auto;
width: auto;
}
.postinfo {
background-color: #313131;
}
.postbox, #posts {
padding: 0 16px;
box-sizing: border-box;
}
.post-buttons {
display: flex;
gap: 5px;
}
a {
color: lime;
text-decoration: underline;
}
nav {
background: rgb(25, 25, 25);
display: flex;
padding: 16px;
margin-bottom: 1em;
#brand h2 {
margin: 0;
}
a {
color: lime;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
ul {
list-style: none;
display: flex;
align-items: center;
margin: 0;
li {
margin-left: 1em;
}
}
}
@media (max-width: 600px) {
input, textarea, button {
font-size: 16px;
}
}
/* Friends-specific CSS */
#friends {
display: flex;
padding-left: 16px;
flex-wrap: wrap;
gap: 1rem;
overflow: hidden;
}
#friends-list {
flex: 1;
min-width: 300px;
height: 100%;
overflow-y: auto;
}
#friends-messenger {
flex: 1;
min-width: 300px;
}
#friends-message-box {
position: fixed;
bottom: 0;
right: 0;
width: 50%;
}