509 lines
7.7 KiB
CSS
509 lines
7.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: #f0e0d6;
|
|
font-family: 'Arial', sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
color: #800000;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 10px;
|
|
}
|
|
|
|
.header {
|
|
background: #efefef;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #800000;
|
|
}
|
|
|
|
.home-link {
|
|
color: #800000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.home-link:hover {
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.boards-btn, .logout-btn {
|
|
background: #d6daf0;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 5px 10px;
|
|
text-decoration: none;
|
|
color: #800000;
|
|
font-size: 12px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.boards-btn:hover, .logout-btn:hover {
|
|
background: #e5e9f0;
|
|
}
|
|
|
|
.boards-container {
|
|
background: #efefef;
|
|
border: 1px solid #b7c5d9;
|
|
margin-bottom: 10px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.boards-container h2 {
|
|
color: #800000;
|
|
margin-bottom: 15px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.boards-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.board-item {
|
|
background: #f0e0d6;
|
|
border: 1px solid #d9bfb7;
|
|
padding: 10px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.board-item:hover {
|
|
background: #e5d4c0;
|
|
}
|
|
|
|
.board-link {
|
|
text-decoration: none;
|
|
color: #800000;
|
|
display: block;
|
|
}
|
|
|
|
.board-id {
|
|
font-weight: bold;
|
|
color: #ff6b6b;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.board-name {
|
|
font-weight: bold;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.board-desc {
|
|
color: #707070;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.motd-container {
|
|
background: #efefef;
|
|
border: 1px solid #b7c5d9;
|
|
margin-bottom: 10px;
|
|
padding: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.motd {
|
|
color: #800000;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.board-container {
|
|
background: #efefef;
|
|
border: 1px solid #b7c5d9;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.thread-container {
|
|
padding: 10px;
|
|
}
|
|
|
|
.thread-header {
|
|
background: #f0e0d6;
|
|
border: 1px solid #d9bfb7;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.thread-header h2 {
|
|
color: #800000;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.back-link {
|
|
color: #ff6b6b;
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.back-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.threads-container {
|
|
padding: 10px;
|
|
}
|
|
|
|
.threads-list {
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.thread-item {
|
|
background: #f0e0d6;
|
|
border: 1px solid #d9bfb7;
|
|
margin-bottom: 10px;
|
|
padding: 10px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.thread-item:hover {
|
|
background: #e5d4c0;
|
|
}
|
|
|
|
.thread-link {
|
|
text-decoration: none;
|
|
color: #800000;
|
|
}
|
|
|
|
.thread-title {
|
|
font-weight: bold;
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.thread-info {
|
|
color: #707070;
|
|
font-size: 12px;
|
|
margin-top: 5px;
|
|
display: block;
|
|
}
|
|
|
|
.thread-file {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.thread-image {
|
|
max-width: 200px;
|
|
max-height: 200px;
|
|
border: 1px solid #d9bfb7;
|
|
}
|
|
|
|
.thread-description {
|
|
color: #800000;
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
background: #e5d4c0;
|
|
border-left: 3px solid #ff6b6b;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.anonymous-id {
|
|
color: #ff6b6b;
|
|
font-weight: bold;
|
|
margin-left: 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.new-thread-button {
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.new-thread-btn {
|
|
background: #ff6b6b;
|
|
border: 1px solid #ff6b6b;
|
|
padding: 15px 30px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.new-thread-btn:hover {
|
|
background: #ff5252;
|
|
}
|
|
|
|
.new-thread-container {
|
|
background: #efefef;
|
|
border: 1px solid #b7c5d9;
|
|
margin-bottom: 10px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.thread-form {
|
|
background: #f0e0d6;
|
|
border: 1px solid #d9bfb7;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.thread-form h2 {
|
|
color: #800000;
|
|
margin-bottom: 20px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.markdown-help {
|
|
background: #f0e0d6;
|
|
border: 1px solid #d9bfb7;
|
|
padding: 15px;
|
|
}
|
|
|
|
.markdown-help h3 {
|
|
color: #800000;
|
|
margin-bottom: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.markdown-help ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-help li {
|
|
margin-bottom: 5px;
|
|
font-size: 12px;
|
|
color: #800000;
|
|
}
|
|
|
|
.markdown-help code {
|
|
background: #e5d4c0;
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.cancel-btn {
|
|
background: #d6daf0;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 8px 15px;
|
|
color: #800000;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.cancel-btn:hover {
|
|
background: #e5e9f0;
|
|
}
|
|
|
|
.post-message strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.post-message em {
|
|
font-style: italic;
|
|
}
|
|
|
|
.post-message u {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.post-message del {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.post-message code {
|
|
background: #e5d4c0;
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.post-message ul {
|
|
margin: 10px 0;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.post-message li {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.posts-container {
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.post {
|
|
background: #f0e0d6;
|
|
border: 1px solid #d9bfb7;
|
|
margin-bottom: 10px;
|
|
padding: 10px;
|
|
border-left: 3px solid #ff6b6b;
|
|
}
|
|
|
|
.post-header {
|
|
margin-bottom: 8px;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid #d9bfb7;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.post-id {
|
|
font-weight: bold;
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.post-time {
|
|
color: #707070;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.post-file {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.post-image {
|
|
max-width: 300px;
|
|
max-height: 300px;
|
|
border: 1px solid #d9bfb7;
|
|
}
|
|
|
|
.file-info {
|
|
font-size: 11px;
|
|
color: #707070;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.post-message {
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
color: #800000;
|
|
}
|
|
|
|
.reply-link {
|
|
color: #ffa500;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.reply-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.post-form {
|
|
background: #efefef;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 10px;
|
|
}
|
|
|
|
.form-row {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.title-input {
|
|
width: 100%;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 8px;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
background: #f0e0d6;
|
|
color: #800000;
|
|
}
|
|
|
|
.title-input:focus {
|
|
outline: none;
|
|
border-color: #ff6b6b;
|
|
}
|
|
|
|
.description-input {
|
|
width: 100%;
|
|
height: 60px;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 8px;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
resize: vertical;
|
|
background: #f0e0d6;
|
|
color: #800000;
|
|
}
|
|
|
|
.description-input:focus {
|
|
outline: none;
|
|
border-color: #ff6b6b;
|
|
}
|
|
|
|
.message-input {
|
|
width: 100%;
|
|
height: 80px;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 8px;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
resize: vertical;
|
|
background: #f0e0d6;
|
|
color: #800000;
|
|
}
|
|
|
|
.message-input:focus {
|
|
outline: none;
|
|
border-color: #ff6b6b;
|
|
}
|
|
|
|
.file-input {
|
|
border: 1px solid #b7c5d9;
|
|
padding: 5px;
|
|
font-size: 12px;
|
|
margin-right: 10px;
|
|
background: #f0e0d6;
|
|
color: #800000;
|
|
}
|
|
|
|
.send-btn {
|
|
background: #d6daf0;
|
|
border: 1px solid #b7c5d9;
|
|
padding: 8px 15px;
|
|
color: #800000;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.send-btn:hover {
|
|
background: #e5e9f0;
|
|
}
|
|
|
|
.error {
|
|
background: #ffd6d6;
|
|
border: 1px solid #ff9999;
|
|
color: #cc0000;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f0e0d6;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #d9bfb7;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #c4a6a0;
|
|
} |