botsym-css/style.css

237 lines
4.6 KiB
CSS

@charset "UTF-8";
:root {
font-family: "Iosevka Slab", "Iosevka", "Consolas", "monospace";
background-color: black;
color: #c9c9c9;
font-weight: 400;
font-size: 16px;
line-height: 21px; }
* {
margin: 0;
padding: 0; }
p {
width: auto; }
b {
font-weight: 1000; }
li {
list-style: none; }
ul {
padding-left: 1ch; }
a {
color: #c9c9c9; }
a :hover {
background-color: #171c94;
color: #c9c9c9; }
.white a {
color: black; }
.white a:hover {
color: #c9c9c9; }
.blue a:hover {
background-color: #c9c9c9;
color: #171c94; }
nav ul > li > ul:hover a {
color: #c9c9c9; }
.hr {
height: 21px; }
hr {
height: 10.5px;
border: 0;
border-bottom: 1px solid #c9c9c9; }
.blue hr {
border-color: #c9c9c9; }
nav li hr, li.button-list > ul a hr, .white hr {
border-color: black; }
nav > li > ul li > ul:hover > hr, li.button-list > ul:hover a hr {
border-color: #c9c9c9; }
li:not(.button-list) > ul::before {
content: "- "; }
li .button-list > ul {
width: calc(100% - 1ch); }
li .button-list > ul:hover {
background-color: #171c94;
color: #c9c9c9; }
li .button-list > ul:hover > a {
color: #c9c9c9; }
li .button-list > ul > li {
width: 100%; }
li .button-list > ul a {
display: block;
width: 100%; }
.blue li.button-list > ul:hover {
background-color: #c9c9c9;
color: black; }
.blue li.button-list > ul:hover > a {
color: black; }
@keyframes hide {
0% {
opacity: 0;
left: inherit; }
1% {
opacity: 0; }
100% {
opacity: 0;
left: -9999px; } }
nav a {
color: black;
display: block;
width: 100%;
text-decoration: none; }
nav ul::before {
content: "" !important; }
nav > li {
background-color: #c9c9c9;
color: black;
margin-left: 0; }
nav > li > ul {
margin: 0;
padding: 0;
display: inline-block;
padding-left: 1ch;
padding-right: 1ch; }
nav > li > ul:hover {
background-color: #171c94;
color: #c9c9c9;
cursor: pointer; }
nav > li > ul:focus {
background-color: #171c94;
color: #c9c9c9; }
nav > li > ul:focus li {
display: block;
opacity: 1;
left: inherit;
animation-name: hide;
animation-name: none; }
nav > li > ul > li {
position: absolute;
border: 2px solid #c9c9c9;
border-color: black;
box-shadow: 0 0 0 0.25ch #c9c9c9;
background-color: #c9c9c9;
margin-left: calc(2px - 1ch);
margin-right: calc(2px - 1ch);
margin-top: 10.5px;
margin-bottom: 10.5px;
padding: calc(0.25ch + 2px);
padding-top: 10.5px;
padding-bottom: 10.5px;
opacity: 0;
left: -9999px;
animation-name: hide;
animation-duration: 0.5s; }
nav > li > ul > li > ul {
background-color: #c9c9c9;
color: black;
padding-left: 1ch;
padding-right: 1ch;
min-height: 21px; }
nav > li > ul > li > ul:hover {
background-color: #171c94;
color: #c9c9c9; }
nav > li .submenu {
display: inline-block;
animation-name: show;
animation-duration: 0.5s; }
.box {
border: 2px solid #c9c9c9;
margin: 0.5ch;
padding: calc(0.5ch - 2px);
width: auto;
display: inline-block;
margin-top: 10.5px;
margin-bottom: 10.5px;
padding-top: 8.5px;
padding-bottom: 8.5px;
vertical-align: top; }
.box.double {
border-style: double;
border-width: 6px;
margin: calc(0.5ch - 2.5px);
padding: calc(0.5ch - 2.5px);
margin-top: 10.5px;
margin-bottom: 10.5px;
padding-top: 4.5px;
padding-bottom: 4.5px; }
.box.black {
background-color: black;
color: #c9c9c9;
border-color: #c9c9c9;
box-shadow: 0 0 0 0.25ch black; }
.box.white {
background-color: #c9c9c9;
color: black;
border-color: black;
box-shadow: 0 0 0 0.25ch #c9c9c9; }
.box.blue {
background-color: #171c94;
color: #c9c9c9;
border-color: #c9c9c9;
box-shadow: 0 0 0 0.25ch #171c94; }
.list-symbol::after {
content: " ▼"; }
.space-1em {
min-height: 21px; }
.space-2em {
min-height: 42px; }
.width-50 {
min-width: 50ch; }
.width-100 {
min-width: 100ch; }
.width-150 {
min-width: 150ch; }
.width-200 {
min-width: 200ch; }
.padding-1 {
padding: 1ch;
padding-top: 21px;
padding-bottom: 21px; }
.padding-2 {
padding: 2ch;
padding-top: 42px;
padding-bottom: 42px; }
.padding-3 {
padding: 3ch;
padding-top: 63px;
padding-bottom: 63px; }
.padding-4 {
padding: 4ch;
padding-top: 84px;
padding-bottom: 84px; }
.padding-5 {
padding: 5ch;
padding-top: 105px;
padding-bottom: 105px; }
/*# sourceMappingURL=style.css.map */