mirror of https://github.com/tildeclub/site.git
279 lines
4.6 KiB
CSS
279 lines
4.6 KiB
CSS
/* {font-size:13pt;font-weight:normal;} */
|
|
|
|
@media (min-width: 64em) {
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
flex-direction: row-reverse;
|
|
}
|
|
.col { flex-grow: 1; }
|
|
}
|
|
|
|
.grid {
|
|
border-collapse: collapse;
|
|
}
|
|
.col {
|
|
border: 6px double #fb5;
|
|
padding: 1em;
|
|
}
|
|
|
|
.user-list {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-evenly;
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
.user-list li {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
flex: 10em;
|
|
}
|
|
.user-list::after {
|
|
content: "";
|
|
}
|
|
|
|
body {
|
|
margin: auto;
|
|
padding: 1em;
|
|
max-width: 64em;
|
|
font-family: "courier new", monospace;
|
|
color: #fb5;
|
|
background: #111;
|
|
word-wrap: break-word;
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
color: #f70;
|
|
font-weight: bold;
|
|
padding-right: 0.25em;
|
|
}
|
|
a:hover {color: #f20;}
|
|
hr {
|
|
border-color: #fb5;
|
|
}
|
|
.text-center {
|
|
text-align: center
|
|
}
|
|
.advisory {
|
|
background: #fc4;
|
|
color: #222;
|
|
font-weight: bold;
|
|
padding: 1em;
|
|
border-radius: 0.25em;
|
|
}
|
|
h1 {
|
|
text-transform: uppercase;
|
|
color: #fb5;
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* THEGOODS */
|
|
#fancyboi::before {
|
|
content: "$ ";
|
|
}
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
@keyframes flash {
|
|
50% { opacity: 0; }
|
|
}
|
|
@keyframes reveal {
|
|
from { width: 2em; } /* Width of ::before */
|
|
to { width: 100%; }
|
|
}
|
|
#fancyboi {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
animation: reveal 4s linear;
|
|
text-overflow: "█";
|
|
}
|
|
#fancyboi::after {
|
|
content: "█";
|
|
animation: flash 0.5s step-end infinite;
|
|
}
|
|
}
|
|
/* SDOOGEHT */
|
|
|
|
.sourceCode {
|
|
color:#008000;
|
|
}
|
|
|
|
code > span.fl {
|
|
color: #008000;
|
|
}
|
|
|
|
/* Style the navbar */
|
|
#navbar {
|
|
overflow: hidden;
|
|
background-color: #fb5;
|
|
color: #222;
|
|
z-index: 99;
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
border-radius: 0.25em;
|
|
}
|
|
|
|
#navbar a:hover {
|
|
background-color: #f93;
|
|
}
|
|
|
|
/* Navbar links */
|
|
#navbar a {
|
|
float: left;
|
|
display: block;
|
|
color: black;
|
|
text-align: center;
|
|
padding: 14px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Page content */
|
|
.content {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
input[type="text"],
|
|
textarea {
|
|
background-color: #333;
|
|
color: darkorange;
|
|
}
|
|
|
|
div.alert-warning {
|
|
background-color: darkred;
|
|
}
|
|
div.alert-success {
|
|
background-color: darkgreen;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 2px solid #fb5;
|
|
background-color: rgba(255, 187, 85, 5%);
|
|
padding: 0.5em;
|
|
}
|
|
|
|
/* Mobile */
|
|
@media (max-width: 768px) {
|
|
td {
|
|
display: block;
|
|
}
|
|
}
|
|
/* 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 */
|
|
}
|