File size: 1,526 Bytes
bbbc915 d74d220 bbbc915 d74d220 a1ed101 d479182 d74d220 d479182 d74d220 d479182 d74d220 d479182 d74d220 d479182 d74d220 a1ed101 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | body {
font-family: monospace;
background: #1a1a2e;
color: #e0e0e0;
padding: 20px;
}
h1 {
color: #e94560;
}
.post {
background: #16213e;
border: 1px solid #444;
border-radius: 8px;
padding: 16px;
margin-bottom: 16px;
}
.post-btn {
background: none;
border: none;
color: #e94560;
font-size: 1.2em;
font-family: inherit;
cursor: pointer;
padding: 0;
text-align: left;
width: 100%;
}
.post-btn:hover {
text-decoration: underline;
}
.post-preview {
margin-top: 8px;
margin-bottom: 0;
font-size: 0.9em;
color: #b0b0b0;
line-height: 1.4;
}
dialog {
background: #1a1a2e;
color: #fff;
border: 1px solid #e94560;
border-radius: 10px;
padding: 20px;
max-width: 600px;
width: 90%;
box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
dialog::backdrop {
background: rgba(0,0,0,0.8);
}
.close-btn {
background: none;
border: none;
color: #e94560;
font-size: 24px;
float: right;
cursor: pointer;
}
#dialog-title {
margin: 0;
color: #e94560;
font-size: 1.4em;
}
#post-content {
margin-top: 20px;
line-height: 1.6;
max-height: 60vh;
overflow-y: auto;
font-size: 16px;
}
#post-content h1, #post-content h2 {
color: #e94560;
}
#post-content a {
color: #4dd0e1;
}
#post-content pre {
background: #111;
padding: 10px;
border-radius: 6px;
}
#post-content code {
background: #111;
padding: 2px 4px;
border-radius: 4px;
} |