clrghouz/public/oldschool/css/main.css

718 lines
11 KiB
CSS
Vendored

@font-face {
/* font-family: 'IBM BIOS-2y'; */
font-family: ibmbios2y;
src: url(../font/Web437_IBM_BIOS-2y.woff) format('woff');
font-weight: normal;
font-style: normal;
}
html {
height:100%;
box-sizing:border-box
}
*,
*:before,
*:after {
box-sizing:inherit
}
::-moz-selection {
background-color:#0a0;
color:#000
}
::selection {
background-color:rgba(0,172,0,.99);
color:#000
}
img::-moz-selection {
background-color:#0a0
}
img::selection {
background-color:rgba(0,172,0,.5)
}
a,
a:before,
a:after,
input,
select,
textarea {
transition:color .15s,background-color .15s,border-color .15s,opacity .15s
}
a:link {
text-decoration:none
}
a.disabled {
pointer-events: none;
}
.accordion-body {
padding: 10px 0 10px 0;
}
.accordion-item {
background-color: inherit;
}
.accordion-item h3.accordion-header {
padding: 10px 0 10px 0 !important;
margin-bottom: 0 !important;
}
.accordion-body > ul > li > p {
display: inline;
}
.cap {
text-transform:uppercase
}
.input-helper {
display: block;
margin-top: .25rem;
font-size: .875em;
width: 100%;
}
strong.highlight {
color: #eee;
}
body {
font-family:ibmbios2y,monospace;
font-size:16px;
background-color: #000;
color: #aaa;
overflow-x: hidden;
overflow-y: scroll;
margin: 0;
line-height: 20px;
position:relative;
padding-bottom:68px;
min-height:100%;
}
sup {
color: #530000;
vertical-align: unset !important;
top: -.3em;
}
sup:before {
content: '[';
}
sup:after {
content: ']';
}
sup:before,
sup:after {
color: #aa0000;
}
#nav {
width: 100%;
position: fixed;
background: #2e2e2e;
height: 3em;
z-index: 4;
box-sizing: content-box
}
#nav-menu {
color:#aaa;
padding:0;
width:inherit;
max-width:1248px;
position:fixed;
z-index:4;
top:0;
left:0;
right:0;
margin-top:0;
margin-bottom:0;
margin-left:auto;
margin-right:auto;
text-align:left;
}
#nav-menu h1 {
width: 216px;
font-size: 1.5em;
font-weight:400;
padding: 12px 0 0 0;
color: #fff;
display: inline-block;
text-transform:uppercase;
margin-right: 10px;
margin-left: -50px;
}
#nav-menu ul {
margin:0;
padding:0;
display:inline-block;
text-transform:uppercase;
}
#nav-menu ul li {
display:inline-block;
list-style-type:none;
margin:0;
padding:0
}
#nav-menu ul li a,
#nav-menu ul li a:link,
#nav-menu ul li a:visited {
display:inline-block;
text-decoration:none;
color:#ff5;
padding:0 11px;
margin:7px;
border-top:1px solid #fff;
border-bottom:1px solid #fff;
border-right:2px solid #fff;
border-left:2px solid #fff;
}
#nav-menu ul:after {
padding:8px 0 7px 2px;
display:inline-block;
}
#nav-menu ul li a span {
display:inline-block;
padding:8px 0 7px
}
#nav-menu ul li a:active,
#nav-menu ul li a:hover,
#nav-menu ul li a:focus {
color:#fff;
background-color:#a00;
outline:0
}
#nav-menu ul li a span:before {
content:"["
}
#nav-menu ul li a span:after {
content:"]"
}
#nav-menu ul li a span:before,
#nav-menu ul li a span:after {
color:#c60
}
#nav-menu ul li a:active span:before,
#nav-menu ul li a:hover span:before,
#nav-menu ul li a:active span:after,
#nav-menu ul li a:hover span:after,
#nav-menu ul li a:focus span:before,
#nav-menu ul li a:focus span:after {
color:#aaa
}
div#search_results ul {
color:#eeeeee;
background-color:#292929;
font-size: .85rem;
top:inherit !important;
}
div#search_results ul li.dropdown-header {
display: block;
color: #fff !important;
padding: 5px 0 5px 5px !important;
}
div#search_results ul li,
div#search_results ul li a {
display: block;
color: #aaa !important;
margin: 2px 0 2px 0 !important;
border: 0 !important;
width: inherit;
}
a.thispage,
a.thispage:hover {
border-color:#aaa!important;
background-color:transparent!important
}
a.thispage span,
a.thispage:hover span {
color:#c60!important
}
a.thispage span:before,
a.thispage span:after {
color:#a00!important
}
ul#navlist-desktop {
position: absolute;
}
ul#searchbar li {
margin: 7px;
}
ul#searchbar li input {
padding-top: 8px;
padding-bottom: 7px;
background-color: #2e2e2e;
color: #222222;
border: 1px dashed #aaa;
}
ul#searchbar li input:focus {
background-color: #eee;
color: #000;
border: 1px solid #aaa;
}
ul#searchbar li i {
left: -1.5em;
position:relative
}
#sidebar {
position:absolute;
left:0;
top:calc(3em + 5px);
height:calc(100vh - 3em + 5px);
width:22ch;
overflow:hidden;
padding-top:1.5em;
color:#c60;
background-color:#000;
box-sizing:border-box;
transition:left .1s ease-out
}
#sidebar.x {
width:25ch
}
#sidebar-scroller {
overflow-y:scroll;
padding-right:0;
box-sizing:content-box;
width:100%;
text-align:left;
height:calc(100vh - 3em + 8px)
}
#sidebar dl:last-child {
margin-bottom:2em
}
#sidebar ::-webkit-scrollbar {
display:none
}
#content {
color:#aaa;
max-width:993px;
margin:0 auto;
padding:4em 0 0;
box-sizing:border-box;
overflow:hidden
}
#content a.anchor {
display:block;
position:relative;
top:-4em;
visibility:hidden
}
.with-sidebar {
position:relative;
left:88px;
max-width:1041px!important
}
.with-sidebar.x {
left:112px;
max-width:1017px!important
}
/* MAIN CONTENT HEADERS */
#content h1 {
color: #fff;
font-weight: 400;
margin-top: 5px;
margin-bottom: 10px;
padding-bottom: 10px;
text-shadow: 2px 2px 0 #555;
border-bottom: 2px solid #aaa;
}
#content h1>small {
font-size: 35%;
color: #403f3f;
text-shadow: none;
}
#content h2 {
color:#fff;
background-color:#a00;
display:inline-block;
font-size:100%;
font-weight:400;
text-align:center;
padding:9px 8px 7px;
margin:24px auto 40px auto;
box-shadow:8px 9px 0 0 #333
}
#content h2:first-child {
margin-top:8px
}
#content h3,
#content h4:not(.alert-heading) {
font-size:100%;
font-weight:400;
text-align:left
}
#content h3 {
padding:0 0 7px;
margin:0 0 24px -.3px;
color:#c60;
border-bottom:1px solid #b00
}
#content h4:not(.alert-heading) {
box-sizing:border-box;
margin:0 0 1em -.3px;
color:#b00;
display:inline-block;
padding-right:1ch
}
#content h5 {
color:#c60;
}
#content>div.row:not(:first-child) {
padding-top: 20px;
}
#content ul {
margin:0 1ch;
padding-left:1ch;
list-style-type:none
}
#content ul ul {
margin:0;
padding-left:0;
list-style-type:none
}
#content ul.ind {
margin-right:2ch
}
#content ul:not(.pagination) li {
margin:0 1ch;
text-indent:-3ch;
padding-left:3ch;
display:block
}
#content ul:not(.pagination) li:before {
content:"\2666\a0\A0";
color:#0a0
}
#content ul ul li::before {
content:"\25CB\A0\A0"!important
}
#content ul li:last-child {
margin-bottom: 16px;
}
dl {
margin:1em -1px 0 1px
}
dt {
color:#5ff
}
dd {
margin-left: 0;
margin-bottom: 0;
text-align: left;
}
dd a::before {
content:"\BB\a0";
color:#a00;
background-color:#000
}
dd a:hover:before,
dd a:active:before {
content:"\25BA\A0";
color:#c60
}
dd a:hover,
dd a:active {
color:#fff!important;
background-color:#0aa
}
form div.row {
padding-top: 15px;
--bs-gutter-x: 0;
}
.form-check.form-switch .form-check-input {
top: -.15em;
position: relative;
}
.greyframe {
position:relative;
background-color: #192124;
padding:0 4ch 1em;
margin-top:.5em;
max-width:calc(100% - 2ch)
}
.greyframe>* {
z-index:1;
position:relative
}
.greyframe.shadow0xb0:before {
filter:saturate(0) brightness(.42)
}
.greyframe:after {
content:' ';
position:absolute;
top:5px;
left:10px;
width:calc(100% - 20px);
height:calc(100% - 13px);
border-top:3px double #eee;
border-bottom:3px double #eee;
border-left:5px double #eee;
border-right:5px double #eee;
z-index:0
}
.greyframe h2.cap {
width:24ch;
margin:23px auto -23px auto!important;
z-index:1
}
.greyframe h2.cap+h3,
.greyframe h2.cap+p {
margin-top:1em
}
.greyframe>div.row:last-child,
.greyframe>form>div.row:last-child {
padding-bottom: 15px;
}
.greyframe div.row div[class^="col-"]:not(:first-child) {
padding-left: 20px;
}
label.form-label {
font-size: 75%;
margin-bottom: 1px;
}
label.list-group-item {
background-color: inherit;
color: inherit;
}
p {
margin:0 0 1em;
padding:0;
text-align:left;
word-break:break-word
}
p>small {
color: #bbb;
}
p>small:before {
content: '[';
}
p>small:after {
content: ']';
}
p>small:before,
p>small:after {
color: #eee;
}
div p:last-child {
margin-bottom:0
}
.pad {
padding:1em 1.5ch;
background-color:#292929;
text-align:left
}
.pad h1 {
color: #ff0000 !important;
text-shadow: 2px 2px 0 #360303 !important;
border-bottom: 2px solid #ff9999 !important;
}
.pad-alert {
background-color: #2a1a1a;
color: #ff3333;
width: 400px;
margin: auto;
}
pre,
pre code {
font-family:ibmbios2y,monospace;
font-size:14px;
color: #ccc;
margin:0;
padding: 0 0 20px 0;
font-weight:400;
text-align:left;
white-space:pre-wrap;
white-space:-moz-pre-wrap;
white-space:-pre-wrap;
white-space:-o-pre-wrap;
word-wrap:break-word;
text-indent:initial
}
.row {
text-align: left;
}
.shadow0xb0:before {
background-color:#000;
z-index:-20;
position:absolute;
display:block;
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACAQMAAABFZu8gAAAABlBMVEUAqqoAAAC9JseZAAAADElEQVQI12O4wMwBAAKCANzeIkjIAAAAAElFTkSuQmCC);
content:' ';
width:100%;
height:100%;
top:16px;
left:16px;
transition:all .1s ease-in-out
}
table {
border-collapse:collapse;
color:#fff;
}
th {
font-weight:400
}
td {
padding:0 4px
}
thead {
background-color:#222;
border-top:1px solid #555;
border-bottom:3px double #555;
border-left:2px solid #555;
border-right:2px solid #555
}
tbody {
border-left:2px solid #555;
border-right:2px solid #555;
border-bottom:1px solid #555
}
.monotable {
background-color:#1e1e1e;
margin-top:.5em;
margin-bottom:1.5em;
text-indent:0
}
.monotable.sbm {
margin-bottom:.5em
}
.monotable thead {
border-top:1px solid #666;
border-left:2px solid #666;
border-right:2px solid #666;
border-bottom:0;
color:#fff;
background-color:#000
}
.monotable th {
padding:.5em 1.5ch .4em;
border-right:2px solid #666
}
.monotable tbody {
border-top:3px double #666;
border-left:2px solid #666;
border-right:2px solid #666;
border-bottom:1px solid #666;
color: #eee;
}
.monotable tbody tr.admin {
color: #ff3333;
}
.monotable tbody td {
padding-left:1.5ch!important;
padding-right:1.5ch!important;
vertical-align:middle!important
}
.monotable tbody tr:first-child td {
padding-top:9px!important
}
.monotable tbody tr:last-child td {
padding-bottom:7px!important
}
.monotable tr td:not(:last-child) {
border-right:2px solid #666
}
.monotable.cozy {
text-align:left
}
.monotable.cozy td {
padding-top:8px!important;
padding-bottom:7px!important;
border-bottom:1px solid #666
}
.titledbox {
margin:1.5em auto 2.5em auto
}
.titledbox h2 {
position:relative;
margin:0 auto -.5em auto!important;
top:-2em;
box-shadow:8px 9px 0 0 #000 !important;
}
ul {
text-align:left
}
#footer {
position:absolute;
bottom:0;
left:0;
right:0;
text-align:center;
height:48px;
width:100%
}
a.goback,
a.goback:link,
a.goback:visited {
display:inline-block;
text-decoration:none;
color:#0a0;
padding:.5em 1ch;
margin:0 3ch 0 0
}
a.goback:active,
a.goback:hover {
color:#5f5;
background-color:#333
}
a.goback:focus {
color:#5ff;
background-color:#333;
outline:0
}
a.goback:before {
color:#a00;
content:"\25C4\25C4\a0"
}
a.goback:active:before,
a.goback:hover:before {
color:#f55
}
a.goback:focus:before {
color:#fff
}
.gohome {
text-align:right;
float:right
}
.gohome:before {
color:#0aa;
content:"\25b2\a0"
}
.gohome:after {
color:#0aa;
content:"\a0\25b2"
}
.gohome:hover:before,
.gohome:hover:after {
color:#a50!important
}
.modal-header.bg-danger .modal-title {
color: #fff !important;
}
.modal-body {
color: #0c0c0c;
}