dev_endboard/srv/css/flicker.css

382 lines
6.5 KiB
CSS

$green-phosphor: #3f3;
$amber-phosphor: #ffb000;
$white-phosphor: #cce;
$phosphor-color: $green-phosphor;
* {
box-sizing: border-box;
}
@font-face { font-family: dm; src: url('/fonts/DepartureMono-Regular.otf'); }
nav {
top: 1px;
left: 20%;
display: inline-block;
border: none;
}
ul {
z-index: 1;
display: flex;
margin: 0;
padding: 0 10px;
list-style-type: none;
li:not(:last-child) {
margin-right: 40px;
}
li {
border: none;
padding: 10px;
a {
color: radial-gradient(hsl(154 5% 15%) 0%, hsl(154 50% 5%) 70%);
text-decoration: none;
text-transform: uppercase;
}
ul {
visibility: hidden;
opacity: 0;
position: absolute;
display: block;
margin: 12px -12px;
padding: 0;
background: radial-gradient(hsl(154 5% 15%) 0%, hsl(154 50% 5%) 70%);
border: none;
transition: opacity 0.2s, visibility 0.2s;
li {
margin: -2px 0 0 -2px;
width: calc(100% - 20px);
line-height: 0.3;
a {
color: #2375D8;
}
}
}
&:hover {
background: radial-gradient(hsl(154 5% 15%) 0%, hsl(154 50% 5%) 70%);
border: none;
a {
color: radial-gradient(hsl(154 5% 15%) 0%, hsl(154 50% 5%) 70%);
}
ul {
visibility: visible;
opacity: 1;
li {
a {
color: #F9F8FD;
}
}
}
}
}
}
#glare {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1; /* ensure the effect doesn't cover the text */
background: radial-gradient(hsl(154 5% 15%) 0%, hsl(154 50% 5%) 70%);
}
@keyframes lines {
0% {background-position: 0px 0px}
50% {background-position: 0px 0px}
51% {background-position: 0px 2px}
100% {background-position: 0px 2px}
}
#interlaced {
position: fixed;
background: repeating-linear-gradient(transparent 0px 1px, hsl(154 0% 0%/.3) 3px 4px);
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
pointer-events: none;
animation: lines 0.036666666s linear infinite;
}
hr
{
display: none;
}
input[type="text"], textarea {
background-color : black;
color: #33cccc;
border: none;
font-family: dm;
}
input[type="text"]:hover, textarea:hover {
background-color: #293d3d;
}
body
{
margin-top: 100px;
margin: 0 auto;
background: hsl(154 50% 5%);
color: #33cccc;
text-shadow: 0 0 4px hsl(154 84% 70%);
font-family: dm;
font-size: 16px;
}
.header {
position: sticky;
top: 0;
padding: 0px 0px;
background: #000;
color: #f1f1f1;
}
div.form {
display: block;
text-align: center;
}
form {
display: inline-block;
margin-left: auto;
margin-right: auto;
text-align: left;
}
h1 {
font-family: dm;
font-size: 25px;
text-align: center;
background-color: #0C0001;
color: #22cccc;
margin: 10;
}
h2 {
text-align: center;
margin: 0;
}
h3 {
text-align: right;
margin: 0 2% 0 0;
}
#page {
width: 75%;
margin: auto;
}
#container {
padding: 1em 2em;
background: #403e3d;
}
a.x:link, a.x:visited {
color: #95c5d9;
font-family: dm;
font-size: medium;
text-decoration: none;
}
a.end:link, a.end:visited {
color: #b22222;
font-family: dm;
font-size: medium;
text-decoration: none;
}
a:link, a:visited {
font-family: dm;
color: #95c5d9;
font-size: medium;
}
a:hover {
color: #95c5d9;
}
a:active {
color: purple;
text-decoration: underline;
}
input[type=checkbox] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding:5px 5px;
font-size: 2px;
background-color: #015577;
accent-color: black;
color:#11bbcc;
border:0 none;
cursor:pointer;
-webkit-border-radius: 2px;
border-radius: 2px;
}
input[type="checkbox"]:checked {
background-color: #11bbcc;
}
input[type=submit] {
padding:5px 15px;
background-color:black;
color:#11bbcc;
font-family: dm;
border:0 none;
cursor:pointer;
-webkit-border-radius: 5px;
border-radius: 5px;
}
quote {
background-color: #222233;
color: #11bbcc;
}
spoiler {
background-color: #22cccc;
color: #22cccc;
}
spoiler:hover {
color: #22cccc;
background-color:black;
}
.subcontainer {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(autofit, minmax(100px, 1fr));
grid-template-rows: repeat(2, 100px);
}
.subs table, th, td {
background: #999;
border: 5px #000 solid;
padding: 4px;
text-align: center;
font-weight: bold;
}
.postcontainer {
display: grid;
grid-gap: 25px;
grid-template-columns: repeat(1, 100%);
}
.landing {
display: table;
padding: 25px;
margin-left: 250px;
margin-right: 150px;
margin-top: 10px;
margin-bottom: 10px;
background: rgba(12,0,17,0.8);
font-size: normal;
font-family: dm;
border: 2px #33CCCC solid;
border-radius: 15px;
}
.post {
padding: 25px;
margin-left: 250px;
margin-right: 150px;
margin-top: 10px;
margin-bottom: 10px;
background: rgba(12,0,17,0.8);
font-size: normal;
font-family: dm;
border: 2px #33CCCC solid;
border-radius: 15px;
max-height: 550px;
max-width: 75%;
overflow-y: auto;
overflow-wrap: break-word;
}
.post:hover {
background-color:black;
}
.postreply:hover {
background-color:black;
}
.postreply2:hover {
background-color:black;
}
.postreply {
padding: 15px;
margin-left: 35px;
margin-right: 150px;
margin-top: 5px;
margin-bottom: 5px;
background: rgba(12,0,12,0.8);
font-family: dm;
border: 1px #33C0CC solid;
border-radius: 10px;
max-height: 450px;
max-width: 65%;
overflow-y: auto;
overflow-wrap: break-word;
}
.postreply2 {
padding: 15px;
margin-left: 350px;
margin-right: 150px;
margin-top: 5px;
margin-bottom: 5px;
background: rgba(12,0,12,0.8);
font-family: dm;
border: 1px #33C0CC solid;
border-radius: 10px;
max-height: 500px;
max-width: 70%;
overflow: auto;
overflow-wrap: break-word;
}
.newpost table, th, td {
background: #00080C;
border: 3px #000 solid;
padding: 4px;
text-align: center;
font-weight: bold;
}
#footer {
display:flex;
flex-flow:row wrap;
font-size: medium;
}
.alignleft {
background: #00080C;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
width: 33.33333%;
text-align: left;
}
.aligncenter {
background: #00080C;
position: fixed;
left: 33%;
bottom: 0;
width: 100%;
width: 33.33333%;
text-align: center;
}
.alignright {
background: #00080C;
position: fixed;
left: 66%;
bottom: 0;
width: 100%;
width: 33.33333%;
text-align: right;
}
details {
background-color: #0b0904cf;
color: #95c5d9;
font-size: medium;
margin-left: 350px;
padding: 0.5em 0.5em 0;
transition: margin 350ms ease-out;
}
summary {
font-weight: bold;
margin: -0.5em -0.5em 0;
padding: 0.5em;
transition: margin 250ms ease-out;
}
details[open] {
padding: 0.5em;
color: #95c5d9;
font-size: medium;
margin-bottom: 0.5em;
animation: open .1s ease;
}
@keyframes open {
0% {opacity: 0; margin-left: 150px}
100% {opacity: 1; margin-left: 0px}
}