Files
reddit-pizzagate-archive/style.css

239 lines
4.0 KiB
CSS

/* Global Styles */
* {
box-sizing: border-box;
}
body {
background: #000;
color: #ccc;
margin: 0;
padding: 0;
font-family: sans-serif;
line-height: 1.6;
}
a {
color: #00ff90;
text-decoration: none;
}
a:hover {
color: #0ff;
cursor: pointer;
}
img {
display: block;
margin: 10px auto;
border: 2px solid #00ff90;
max-width: 100%;
height: auto;
}
/* Container Styling */
#container,
.panel,
.introduction,
.post-table,
.footer-container {
width: 90%;
max-width: 1024px;
margin: 0 auto;
padding: 20px;
}
/* Header / Title Styling */
header {
text-align: center;
padding: 20px 0;
}
header h1 {
font-size: 1.8rem;
color: #00ff90;
}
/* Submission/Post Styling */
.submission,
div.submission {
border: 4px solid #00f;
padding: 20px;
margin: 20px auto;
max-width: 800px;
}
/* Entry Styling */
.entry {
overflow: auto;
margin: 0 auto;
max-width: 800px;
overflow-wrap: break-word;
word-break: break-all;
}
/* Title and Meta Information */
.entry .title a.title {
font-size: 1.25rem;
color: #00ff90;
font-weight: bold;
}
.entry .tagline {
font-size: 0.75rem;
color: #999;
margin-bottom: 8px;
}
/* Table Styling (for any sortable tables) */
table.sortable {
border-spacing: 0;
border: 1px solid #1a1a1a;
border-collapse: collapse;
width: 100%;
margin-bottom: 20px;
font-size: 1rem;
}
table.sortable th,
table.sortable td {
text-align: left;
padding: 6px 8px;
border: 1px solid #333;
}
table.sortable th {
background-color: #2b2b2b;
color: #00ff90;
font-weight: bold;
}
table.sortable tr:nth-child(odd) td {
background-color: #1e1e1e;
}
table.sortable tr:nth-child(even) td {
background-color: #151515;
}
table.sortable tr:hover td {
background-color: #222;
}
/* Comment Area & Comments Styling */
.commentarea {
margin-top: 40px;
}
.comment {
padding: 10px;
margin: 8px auto;
border: 2px solid #00ff90;
background-color: #111;
max-width: 800px;
text-align: left;
overflow-wrap: break-word;
word-break: normal;
}
.comment .tagline {
font-size: 0.75rem;
color: #999;
margin-bottom: 4px;
}
.comment .noncollapsed {
margin-left: 20px;
}
/* Code Blocks inside Comments */
.comment pre,
.comment code {
max-width: 100%;
overflow-x: auto;
white-space: pre-wrap;
word-wrap: break-word;
box-sizing: border-box;
}
/* Flat-list Buttons */
ul.flat-list {
list-style: none;
padding: 0;
margin: 4px 0 0 0;
}
ul.flat-list li {
display: inline;
margin-right: 10px;
}
ul.flat-list li a {
font-size: 0.75rem;
color: #00ff90;
}
ul.flat-list li a:hover {
color: #0ff;
}
/* Footer Container */
.footer-container {
text-align: center;
font-size: 0.75rem;
color: #555;
padding: 20px 0;
border-top: 1px solid #333;
}
/* Download Buttons */
.download-buttons {
text-align: center;
margin: 1.5rem 0;
}
.download-buttons a {
display: inline-block;
margin: 0.5rem;
padding: 0.8rem 1.5rem;
background-color: #00ff90;
color: #000;
border-radius: 4px;
transition: background-color 0.3s ease;
}
.download-buttons a:hover {
background-color: #0ff;
color: #000;
}
/* Responsive Media Queries */
@media (max-width: 768px) {
/* Reduce padding/margin for smaller screens */
body,
#container,
.panel,
.introduction,
.post-table {
padding: 10px;
}
header h1 {
font-size: 1.5rem;
}
table.sortable {
font-size: 0.9rem;
}
/* Stack or adjust download button styles for tap targets */
.download-buttons a {
padding: 0.5rem 1rem;
margin: 0.3rem;
font-size: 0.9rem;
}
}
@media (max-width: 480px) {
header h1 {
font-size: 1.3rem;
}
/* Ensure the table is scrollable */
.post-table table {
display: block;
overflow-x: auto;
}
/* Improve spacing on small screens */
.panel,
.comment,
.submission {
padding: 15px;
margin: 15px auto;
}
}