Files
comfychan/web/static/index.css
T
2025-04-20 00:43:08 -04:00

272 lines
3.7 KiB
CSS

body {
background: #EEF2FF;
}
/* INDEX */
#clavis {
display: block;
width: 300px;
margin: 10px auto;
margin-bottom: 50px;
}
/* BOARD LIST */
#boardList {
font-size: 12px;
margin: 5px;
}
#boardList a {
cursor: pointer;
color: #575F68;
}
#boardList a:hover {
color: #ff0000;
}
/* BOARD */
.board-header {
text-align: center;
color: #AF0A0F;
}
.board-header h1 {
font-weight: bold;
font-size: 1.8rem;
margin: 8px;
margin-top: 12px;
}
.board-header p {
font-size: .8rem;
margin: 4px;
}
.board-header img {
width: 300px;
}
/* THREAD CATALOG */
#catalog {
display: flex;
margin: 2rem;
flex-wrap: wrap;
}
.catalog-preview {
margin: 10px;
text-align: center;
padding: 10px;
border: 2px solid rgba(111, 111, 111, 0.34);
width: 200px;
max-height: 192px;
overflow: scroll;
}
.catalog-preview h1 {
font-size: 14px;
font-weight: bold;
}
.catalog-preview p {
margin-top: 10px;
font-size: 12px;
}
.catalog-preview-link {
text-decoration: none;
cursor: pointer;
color: #0F0C5D;
}
.catalog-preview-img {
max-height: 70%;
max-width: 80%;
margin-bottom: 10px;
border: 1px solid #B7C5D9;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
}
/* NEW THREAD BUTTON/FORM */
#newThreadBtn {
margin-top: 12px;
background: none;
border: none;
padding: 0;
font-weight: bold;
font-size: 1.2rem;
color: #34345C;
cursor: pointer;
}
#newThreadBtn:hover {
color: #ff0000
}
#newPostForm button,
#newThreadForm button {
display: block;
margin-left: auto;
}
#newPostBody {
width: 270px;
height: 100px;
}
.new-post-container {
width: max-content;
margin: auto;
margin-top: 16px;
}
.new-post-form-field th {
border: 1px solid black;
text-align: left;
vertical-align: middle;
padding: 4px;
background: #98E;
font-weight: bold;
font-size: .8rem;
}
.new-post-form-field td {
display: block;
margin: 2px;
}
/* THREAD/POSTS */
.thread {
margin: 2rem;
}
.thread-subject {
font-weight: bold;
color: #0F0C5D;
margin-right: 5px;
float: left;
}
.post-op {
margin-bottom: 10px;
font-size: 14px;
}
.post {
display: inline-block;
margin: 5x;
padding: 10px;
background-color: #D6DAF0;
border: 1px solid #B7C5D9;
margin-bottom: 10px;
font-size: 14px;
}
.post-highlighted {
background: #D6BAD0;
}
.post-header {
clear: none;
margin-bottom: 10px;
}
.post-header span {
margin-right: 5px;
}
.post-author {
color: #13A82A;
}
.post-img {
display: block;
float: left;
margin: 4px 12px 4px 0;
cursor: pointer;
height: auto;
max-width: 100%;
}
.post-body {
margin-top: 10px;
margin-left: 5px;
clear: none;
word-wrap: break-word;
line-height: 1.3;
}
.post-num:hover {
cursor: pointer;
color: #ff0000;
}
.greentext {
color: #789922
}
.post-filename {
color: rgb(52, 52, 92);
text-decoration: underline;
cursor: pointer;
}
.reply-link {
color: #D00;
text-decoration: underline;
cursor: pointer;
}
.reply-link-header {
color: rgb(52, 52, 92);
text-decoration: underline;
cursor: pointer;
margin-left: 8px;
}
.reply-link-header:hover {
color: #D00;
}
/* GENERAL LAYOUT */
.container {
width: 600px;
margin: auto;
}
.box {
font-size: 12px;
border: 1px solid black;
background-color: #eceff6;
}
.box h2 {
padding: 5px;
margin: 0;
background-color: #00007F;
color: #FFF;
}
.box p {
padding: 10px;
}
.warning {
background: #FFAAAA;
color: #000;
border: 1px solid #000;
padding: 8px;
margin: 5px 0;
font-size: 12px;
}