site/style.css

374 lines
6.5 KiB
CSS
Raw Permalink Normal View History

2025-01-20 01:06:30 +00:00
@font-face {
font-family: 'Liberation Monospace';
font-style: normal;
font-weight: normal;
src: local('Liberation Monospace'), url('https://fonts.cdnfonts.com/s/276/LiberationMono-Regular.woff') format('woff');
2020-03-09 15:12:29 +00:00
}
2025-01-20 01:06:30 +00:00
@font-face {
font-family: 'Liberation Monospace';
font-style: normal;
font-weight: bold;
src: local('Liberation Monospace'), url('https://fonts.cdnfonts.com/s/276/LiberationMono-Bold.woff') format('woff');
2019-09-16 23:24:44 +00:00
}
2020-05-06 05:16:03 +00:00
2019-09-14 16:58:11 +00:00
body {
2020-05-06 06:49:44 +00:00
margin: auto;
padding: 1em;
2025-01-20 01:06:30 +00:00
max-width: 1024px;
2025-01-20 01:39:24 +00:00
font-family: 'Liberation Monospace', 'Courier New', monospace, sans-serif;
2020-05-06 06:49:44 +00:00
color: #fb5;
background: #111;
word-wrap: break-word;
2019-09-16 23:24:44 +00:00
}
2025-01-20 01:06:30 +00:00
2019-09-16 23:24:44 +00:00
a {
2020-05-06 06:49:44 +00:00
text-decoration: none;
color: #f70;
font-weight: bold;
padding-right: 0.25em;
2019-09-16 23:24:44 +00:00
}
2025-01-20 01:06:30 +00:00
a:hover {
color: #f20;
}
hr {
2020-05-06 06:49:44 +00:00
border-color: #fb5;
}
2025-01-20 01:06:30 +00:00
.text-center {
text-align: center
}
2025-01-20 01:06:30 +00:00
2019-09-16 23:24:44 +00:00
.advisory {
2020-05-06 06:49:44 +00:00
background: #fc4;
color: #222;
font-weight: bold;
padding: 1em;
border-radius: 0.25em;
2019-09-14 16:58:11 +00:00
}
2025-01-20 01:06:30 +00:00
2019-09-16 23:24:44 +00:00
h1 {
2025-01-20 01:06:30 +00:00
font-size:1.6rem;
2020-05-06 06:49:44 +00:00
text-transform: uppercase;
2025-01-20 01:06:30 +00:00
letter-spacing:-.75px;
color: #fb5;
padding-top:.5rem;
}
.grid {
border-collapse: collapse;
}
.col {
border: 6px double #fb5;
padding: 1em;
2025-01-21 00:52:44 +00:00
flex-grow: 1;
2019-09-14 16:58:11 +00:00
}
2020-05-07 05:15:21 +00:00
/* THEGOODS */
#fancyboi::before {
content: "$ ";
}
2025-01-20 01:06:30 +00:00
2020-05-07 05:15:21 +00:00
@media (prefers-reduced-motion: no-preference) {
@keyframes flash {
50% { opacity: 0; }
}
2025-01-20 01:06:30 +00:00
2020-05-07 05:15:21 +00:00
@keyframes reveal {
from { max-width: 2em; } /* Width of ::before */
to { max-width: 100%; }
2020-05-07 05:15:21 +00:00
}
2025-01-20 01:06:30 +00:00
2020-05-07 05:15:21 +00:00
#fancyboi {
overflow: hidden;
white-space: nowrap;
animation: reveal 4s linear;
2020-05-07 05:37:55 +00:00
text-overflow: "█";
2020-05-07 05:15:21 +00:00
}
2025-01-20 01:06:30 +00:00
2020-05-07 05:15:21 +00:00
#fancyboi::after {
2020-05-07 05:37:55 +00:00
content: "█";
2020-05-07 05:15:21 +00:00
animation: flash 0.5s step-end infinite;
2025-01-20 01:06:30 +00:00
position: relative;
top: -2px;
margin-left: 3px;
2020-05-07 05:15:21 +00:00
}
}
/* SDOOGEHT */
.sourceCode {
2020-03-20 05:14:11 +00:00
color:#008000;
}
2020-03-20 05:44:52 +00:00
code > span.fl {
color: #008000;
}
/* Style the navbar */
2025-01-20 01:06:30 +00:00
#navbar {
overflow: hidden;
background-color: #fb5;
color: #222;
z-index: 99;
position: relative;
top: 0;
left: 0;
width: 100%;
border-radius: 0.25em;
}
2024-08-17 16:26:17 +00:00
2025-01-20 01:06:30 +00:00
#navbar a:hover {
background-color: #f93;
}
/* Navbar links */
#navbar a {
float: left;
display: block;
color: black;
text-align: center;
padding: 14px;
text-decoration: none;
}
/* RSS Icon Styles */
.rss-icon {
float: right;
margin-top:5px;
}
2025-01-20 01:06:30 +00:00
/* Page content */
.user-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
}
.user-list a {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 10em;
}
.user-list a:before {
content:"~";
}
[data-op="5"] { opacity:5%; }
[data-op="10"] { opacity:10%; }
[data-op="15"] { opacity:15%; }
[data-op="20"] { opacity:20%; }
[data-op="25"] { opacity:25%; }
[data-op="30"] { opacity:30%; }
[data-op="35"] { opacity:35%; }
[data-op="40"] { opacity:40%; }
[data-op="45"] { opacity:45%; }
[data-op="50"] { opacity:50%; }
[data-op="55"] { opacity:55%; }
[data-op="60"] { opacity:60%; }
[data-op="65"] { opacity:65%; }
[data-op="70"] { opacity:70%; }
[data-op="75"] { opacity:75%; }
[data-op="80"] { opacity:80%; }
[data-op="85"] { opacity:85%; }
[data-op="90"] { opacity:90%; }
[data-op="95"] { opacity:95%; }
[data-op="100"] { opacity:100%; }
.user-list a:hover {
2025-02-07 13:49:10 +00:00
text-decoration:underline;
color:#f70;
}
.user-list b {
background-color: #fb5;
color:#000;
}
2019-09-16 23:24:44 +00:00
input[type="text"],
textarea {
2020-05-06 06:49:44 +00:00
background-color: #333;
color: darkorange;
2019-09-14 18:29:05 +00:00
}
div.alert-warning {
2020-05-06 06:49:44 +00:00
background-color: darkred;
2019-09-14 18:29:05 +00:00
}
div.alert-success {
2020-05-06 06:49:44 +00:00
background-color: darkgreen;
2019-09-14 18:29:05 +00:00
}
2024-09-20 01:26:39 +00:00
.notice-message {
background-color: #f93;
color: #222;
font-weight: bold;
padding: 0.75em;
border-radius: 0.25em;
margin: 1em 0;
text-align: center;
border: 2px solid #fb5;
box-shadow: 0 0 10px rgba(255, 187, 85, 0.5);
}
2022-02-11 11:12:09 +00:00
blockquote {
border-left: 2px solid #fb5;
background-color: rgba(255, 187, 85, 5%);
2022-02-11 11:12:09 +00:00
padding: 0.5em;
}
@media (min-width: 768px) {
.row {
display: flex;
flex-wrap: nowrap;
flex-direction: row-reverse;
}
}
2019-10-04 16:04:12 +00:00
@media (max-width: 768px) {
2020-05-06 06:49:44 +00:00
td {
display: block;
}
2019-10-04 06:26:19 +00:00
}
2025-01-20 01:06:30 +00:00
2024-08-16 12:36:56 +00:00
/* Ensure the user-list displays items in a single column */
.single-column {
display: block;
}
.single-column li {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Style for the article content */
.article-headers {
background-color: #333;
color: #fb5;
padding: 1em;
border: 1px solid #fb5;
border-radius: 0.25em;
margin-bottom: 1em;
}
.article-headers p {
margin: 0.5em 0;
}
pre {
background-color: #333;
color: #fb5;
padding: 1em;
border: 1px solid #fb5;
border-radius: 0.25em;
}
/* Style for error messages */
.alert-warning {
background-color: darkred;
color: #fb5;
padding: 1em;
border-radius: 0.25em;
font-weight: bold;
}
/* Ensure the user-list displays items in a single column */
.single-column {
display: block;
}
.single-column li {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Tree structure styles */
.tree, .tree ul {
padding: 0;
list-style: none;
position: relative;
}
.tree ul {
margin-left: 1em; /* indentation for nested lists */
}
.tree ul:before {
content: "";
display: block;
width: 0;
position: absolute;
top: 0;
bottom: 0;
left: 0;
border-left: 1px solid #fb5;
}
.tree li {
margin: 0;
padding: 0.5em 0 0.5em 1em; /* space between items */
position: relative;
}
.tree li:before {
content: "";
display: inline-block;
width: 1em; /* horizontal space for the branch line */
height: 0;
border-top: 1px solid #fb5;
position: absolute;
top: 1.2em; /* adjust as needed */
left: 0;
}
.tree li:after {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: -0.5em; /* adjust to align with the branch */
border-left: 1px solid #fb5;
}
.tree li:last-child:after {
display: none; /* hide the line for the last child */
}
/* Style for timestamps */
.timestamp {
color: #999;
font-size: 0.9em;
margin-left: 0.5em;
}
/* Highlighted item */
.highlighted {
background-color: #333; /* Dark background to fit the page colorscheme */
border: 1px solid #fb5; /* Matching border color */
border-radius: 0.25em; /* Slight border radius for better appearance */
padding: 0.5em; /* Padding for better readability */
}
#active-users {
2024-08-17 16:36:39 +00:00
margin-top: 20px;
2024-08-17 16:41:25 +00:00
display: flex;
2024-08-17 16:43:49 +00:00
align-items: center;
gap:10px;
2024-08-17 16:36:39 +00:00
}
#active-users h2 {
flex-shrink:0;
2025-01-20 01:06:30 +00:00
font-size: 1.25rem;
}
2024-08-17 16:47:46 +00:00
#active-users a {
color: #fb5;
text-decoration: none;
}
2024-08-17 16:47:46 +00:00
#active-users a:hover {
color: #f70;
}
2024-08-17 17:42:14 +00:00