botsym-css/css/style.css

572 lines
9.0 KiB
CSS
Raw Permalink Normal View History

2017-10-04 01:22:51 +02:00
@charset "UTF-8";
2020-09-29 19:23:00 +02:00
@font-face {
font-family: "Iosevka Slab Regular";
2023-12-27 16:32:10 +01:00
src: url("../fonts/iosevka-slab-regular.woff2") format("woff2");
}
2017-10-04 01:22:51 +02:00
:root {
2020-09-30 15:24:49 +02:00
font-family: "Iosevka Slab Regular", "monospace";
2023-12-27 16:32:10 +01:00
background-color: rgb(0, 0, 0);
color: rgb(201, 201, 201);
border-color: rgb(201, 201, 201);
2017-10-04 01:22:51 +02:00
font-weight: 400;
font-size: 16px;
2023-12-27 16:32:10 +01:00
line-height: 21px;
}
2017-10-04 01:22:51 +02:00
/* General styles for elements */
* {
margin: 0;
2023-12-27 16:32:10 +01:00
padding: 0;
}
2017-10-04 01:22:51 +02:00
p {
2023-12-27 16:32:10 +01:00
width: auto;
}
2017-10-04 01:22:51 +02:00
b {
2023-12-27 16:32:10 +01:00
font-weight: 1000;
}
2017-10-04 01:22:51 +02:00
li {
2023-12-27 16:32:10 +01:00
list-style: none;
}
2017-10-04 01:22:51 +02:00
ul {
2023-12-27 16:32:10 +01:00
padding-left: 1ch;
}
2017-10-04 01:22:51 +02:00
a {
2023-12-27 16:32:10 +01:00
color: rgb(201, 201, 201);
}
a:hover {
cursor: pointer;
color: rgb(201, 201, 201);
background-color: rgb(23, 28, 148);
}
2017-10-04 01:22:51 +02:00
2020-09-30 15:24:49 +02:00
nav ul > li > ul:hover a {
2023-12-27 16:32:10 +01:00
color: rgb(201, 201, 201);
}
2017-10-04 01:22:51 +02:00
hr {
height: 10.5px;
border: 0;
2023-12-27 16:32:10 +01:00
border-bottom: 1px solid rgb(201, 201, 201);
margin-bottom: 9.5px;
}
2017-10-04 01:22:51 +02:00
2020-09-29 23:05:09 +02:00
nav li hr,
2020-09-30 15:24:49 +02:00
li.button-list > ul a hr,
2020-09-29 23:05:09 +02:00
.white hr {
2023-12-27 16:32:10 +01:00
border-color: rgb(0, 0, 0);
}
2017-10-04 01:22:51 +02:00
2020-09-30 15:24:49 +02:00
nav > li > ul li > ul:hover > hr,
li.button-list > ul:hover a hr {
2023-12-27 16:32:10 +01:00
border-color: rgb(201, 201, 201);
}
2017-10-04 01:22:51 +02:00
/* Lists */
2020-09-30 15:24:49 +02:00
li:not(.button-list) > ul::before {
2023-12-27 16:32:10 +01:00
content: "- ";
}
2020-09-30 15:24:49 +02:00
li.button-list > ul {
2017-10-04 01:22:51 +02:00
width: calc(100% - 1ch);
2023-12-27 16:32:10 +01:00
text-decoration: underline;
}
li.button-list > ul:hover {
cursor: pointer;
color: rgb(201, 201, 201);
background-color: rgb(23, 28, 148);
}
li.button-list > ul > li {
width: 100%;
}
li.button-list > ul a {
display: block;
width: 100%;
}
2017-10-04 01:22:51 +02:00
/* Navbars */
@keyframes hide {
0% {
opacity: 0;
2023-12-27 16:32:10 +01:00
left: inherit;
}
2017-10-04 01:22:51 +02:00
1% {
2023-12-27 16:32:10 +01:00
opacity: 0;
}
2017-10-04 01:22:51 +02:00
100% {
opacity: 0;
2023-12-27 16:32:10 +01:00
left: -9999px;
}
}
2017-10-04 01:22:51 +02:00
nav a {
2023-12-27 16:32:10 +01:00
color: rgb(0, 0, 0);
2017-10-04 01:22:51 +02:00
display: block;
width: 100%;
2023-12-27 16:32:10 +01:00
text-decoration: none;
}
2017-10-04 01:22:51 +02:00
nav ul::before {
2023-12-27 16:32:10 +01:00
content: "" !important;
}
2020-09-30 15:24:49 +02:00
nav > li {
2023-12-27 16:32:10 +01:00
background-color: rgb(201, 201, 201);
color: rgb(0, 0, 0);
border-color: rgb(0, 0, 0);
margin-left: 0;
}
nav > li > ul {
margin: 0;
padding: 0;
display: table-cell;
padding-left: 1ch;
padding-right: 1ch;
}
nav > li > ul:hover {
cursor: pointer;
color: rgb(201, 201, 201);
background-color: rgb(23, 28, 148);
}
nav > li > ul:focus {
background-color: rgb(23, 28, 148);
color: rgb(201, 201, 201);
border-color: rgb(201, 201, 201);
}
nav > li > ul:focus li {
display: block;
opacity: 1;
left: inherit;
animation-name: hide;
animation-name: none;
}
nav > li > ul > li {
background-color: rgb(201, 201, 201);
color: rgb(0, 0, 0);
border-color: rgb(0, 0, 0);
position: absolute;
border: 2px solid;
box-shadow: 0 0 0 0.25ch rgb(201, 201, 201);
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: rgb(201, 201, 201);
color: rgb(0, 0, 0);
border-color: rgb(0, 0, 0);
padding-left: 1ch;
padding-right: 1ch;
min-height: 21px;
}
nav > li > ul > li > ul:hover {
background-color: rgb(23, 28, 148);
color: rgb(201, 201, 201);
border-color: rgb(201, 201, 201);
}
2017-10-04 01:22:51 +02:00
/* Miscallaneous Classes */
.box {
2023-12-27 16:32:10 +01:00
border: 2px solid rgb(201, 201, 201);
2017-10-04 01:22:51 +02:00
margin: 0.5ch;
padding: calc(0.5ch - 2px);
width: auto;
margin-top: 10.5px;
margin-bottom: 10.5px;
padding-top: 8.5px;
padding-bottom: 8.5px;
2023-12-27 16:32:10 +01:00
vertical-align: top;
}
.box.inline {
display: inline-block;
}
.box.double {
border-style: double;
border-width: 4px;
margin: 0.5ch;
padding: calc(0.5ch - (4px));
margin-top: 10.5px;
margin-bottom: 10.5px;
padding-top: 6.5px;
padding-bottom: 6.5px;
}
.box.black {
background-color: rgb(0, 0, 0);
color: rgb(201, 201, 201);
border-color: rgb(201, 201, 201);
box-shadow: 0 0 0 0.25ch rgb(0, 0, 0);
}
.box.white {
background-color: rgb(201, 201, 201);
color: rgb(0, 0, 0);
border-color: rgb(0, 0, 0);
box-shadow: 0 0 0 0.25ch rgb(201, 201, 201);
}
.box.white a {
color: rgb(0, 0, 0);
}
.box.white a:hover {
background-color: rgb(23, 28, 148);
color: rgb(201, 201, 201);
border-color: rgb(201, 201, 201);
}
.box.blue {
background-color: rgb(23, 28, 148);
color: rgb(201, 201, 201);
border-color: rgb(201, 201, 201);
box-shadow: 0 0 0 0.25ch rgb(23, 28, 148);
}
.box.blue li.button-list > ul:hover {
background-color: rgb(201, 201, 201);
color: rgb(0, 0, 0);
border-color: rgb(0, 0, 0);
}
.box.blue li.button-list > ul:hover > a {
color: rgb(0, 0, 0);
}
.box.blue a:hover {
background-color: rgb(201, 201, 201);
color: rgb(23, 28, 148);
border-color: rgb(23, 28, 148);
}
.box.blue hr {
border-color: rgb(201, 201, 201);
}
.box.blue button:hover {
background-color: rgb(201, 201, 201);
color: rgb(23, 28, 148);
border-color: rgb(23, 28, 148);
}
.box.blue .checkbox-right:hover,
.box.blue .checkbox-left:hover,
.box.blue .radio-right:hover,
.box.blue .radio-left:hover {
background-color: rgb(201, 201, 201);
color: rgb(23, 28, 148);
border-color: rgb(23, 28, 148);
}
2017-10-04 01:22:51 +02:00
.list-symbol::after {
2023-12-27 16:32:10 +01:00
content: " ▼";
}
2017-10-04 01:22:51 +02:00
.no-select {
user-select: none;
-moz-user-select: none;
2023-12-27 16:32:10 +01:00
-webkit-user-select: none;
}
2017-10-04 01:22:51 +02:00
/* How to add pages:
*
* (at)for (dollar)i from 1 through 20 {
* .page-dollar i {
* display: none;
* }
* #radio-page-dollar i:checked ~ .page-dollar i {
* display: block;
* }
* }
*/
2017-10-04 01:22:51 +02:00
/* Form styles */
2020-09-29 23:05:09 +02:00
input[type=checkbox],
input[type=radio] {
2023-12-27 16:32:10 +01:00
display: none;
}
2020-09-29 23:05:09 +02:00
.checkbox-right:hover,
.checkbox-left:hover,
.radio-right:hover,
.radio-left:hover {
2017-10-04 01:22:51 +02:00
cursor: pointer;
2023-12-27 16:32:10 +01:00
color: rgb(201, 201, 201);
background-color: rgb(23, 28, 148);
}
2017-10-04 01:22:51 +02:00
.checkbox-right::after {
2023-12-27 16:32:10 +01:00
content: "[ ]";
}
2017-10-04 01:22:51 +02:00
.checkbox-left::before {
2023-12-27 16:32:10 +01:00
content: "[ ]";
}
2017-10-04 01:22:51 +02:00
.radio-right::after {
2023-12-27 16:32:10 +01:00
content: "( )";
}
2017-10-04 01:22:51 +02:00
.radio-left::before {
2023-12-27 16:32:10 +01:00
content: "( )";
}
2017-10-04 01:22:51 +02:00
2020-09-30 15:24:49 +02:00
input[type=checkbox]:checked + .checkbox-right::after {
2023-12-27 16:32:10 +01:00
content: "[x]";
}
2020-09-30 15:24:49 +02:00
input[type=checkbox]:checked + .checkbox-left::before {
2023-12-27 16:32:10 +01:00
content: "[x]";
}
2017-10-04 01:22:51 +02:00
2020-09-30 15:24:49 +02:00
input[type=radio]:checked + .radio-right::after {
2023-12-27 16:32:10 +01:00
content: "(x)";
}
2020-09-30 15:24:49 +02:00
input[type=radio]:checked + .radio-left::before {
2023-12-27 16:32:10 +01:00
content: "(x)";
}
2020-09-29 23:05:09 +02:00
input[type=text],
button {
2017-10-04 01:22:51 +02:00
background-color: inherit;
border: none;
font-family: inherit;
font-size: inherit;
2023-12-27 16:32:10 +01:00
color: inherit;
}
input[type=text]:hover,
button:hover {
cursor: pointer;
color: rgb(201, 201, 201);
background-color: rgb(23, 28, 148);
}
2017-10-04 01:22:51 +02:00
label:hover {
2023-12-27 16:32:10 +01:00
cursor: pointer;
}
2020-09-30 15:24:49 +02:00
button:focus, button:hover, button:active, button::-moz-focus-inner {
2017-10-04 01:22:51 +02:00
border: none;
2023-12-27 16:32:10 +01:00
text-decoration: none;
}
2017-10-04 01:22:51 +02:00
button::before {
2023-12-27 16:32:10 +01:00
content: "[ ";
}
2017-10-04 01:22:51 +02:00
button::after {
2023-12-27 16:32:10 +01:00
content: " ]";
}
2017-10-04 01:22:51 +02:00
.textinput {
2023-12-27 16:32:10 +01:00
display: inline-block;
}
.textinput:hover {
cursor: pointer;
color: rgb(201, 201, 201);
background-color: rgb(23, 28, 148);
}
.textinput::before {
content: "[";
}
.textinput::after {
content: "]";
}
.textinput:hover > input[type=text] {
background-color: rgb(23, 28, 148);
color: rgb(201, 201, 201);
border-color: rgb(201, 201, 201);
}
2017-10-04 01:22:51 +02:00
input[type=text] {
2023-12-27 16:32:10 +01:00
background-color: rgb(201, 201, 201);
color: rgb(0, 0, 0);
border-color: rgb(0, 0, 0);
width: 15ch;
}
2017-10-04 01:22:51 +02:00
/* Style helpers, like space-takers */
.space-1 {
2023-12-27 16:32:10 +01:00
min-height: 21px;
}
2017-10-04 01:22:51 +02:00
.space-2 {
2023-12-27 16:32:10 +01:00
min-height: 42px;
}
2017-10-04 01:22:51 +02:00
.space-3 {
2023-12-27 16:32:10 +01:00
min-height: 63px;
}
2017-10-04 01:22:51 +02:00
.space-4 {
2023-12-27 16:32:10 +01:00
min-height: 84px;
}
2017-10-04 01:22:51 +02:00
.space-5 {
2023-12-27 16:32:10 +01:00
min-height: 105px;
}
2017-10-04 01:22:51 +02:00
.width-5 {
2023-12-27 16:32:10 +01:00
width: 5ch;
}
2017-10-04 01:22:51 +02:00
.width-10 {
2023-12-27 16:32:10 +01:00
width: 10ch;
}
2017-10-04 01:22:51 +02:00
.width-15 {
2023-12-27 16:32:10 +01:00
width: 15ch;
}
2017-10-04 01:22:51 +02:00
.width-20 {
2023-12-27 16:32:10 +01:00
width: 20ch;
}
2017-10-04 01:22:51 +02:00
.width-25 {
2023-12-27 16:32:10 +01:00
width: 25ch;
}
2017-10-04 01:22:51 +02:00
.width-50 {
2023-12-27 16:32:10 +01:00
width: 48ch;
}
2017-10-04 01:22:51 +02:00
.width-100 {
2023-12-27 16:32:10 +01:00
width: 98ch;
}
2017-10-04 01:22:51 +02:00
.width-150 {
2023-12-27 16:32:10 +01:00
width: 148ch;
}
2017-10-04 01:22:51 +02:00
.width-200 {
2023-12-27 16:32:10 +01:00
width: 198ch;
}
2017-10-04 01:22:51 +02:00
.width-250 {
2023-12-27 16:32:10 +01:00
width: 248ch;
}
.width-percentage-5 {
width: 5%;
width: round(5%, 1ch);
}
.width-percentage-10 {
width: 10%;
width: round(10%, 1ch);
}
.width-percentage-15 {
width: 15%;
width: round(15%, 1ch);
}
.width-percentage-20 {
width: 20%;
width: round(20%, 1ch);
}
.width-percentage-25 {
width: 25%;
width: round(25%, 1ch);
}
.width-percentage-30 {
width: 30%;
width: round(30%, 1ch);
}
.width-percentage-35 {
width: 35%;
width: round(35%, 1ch);
}
.width-percentage-40 {
width: 40%;
width: round(40%, 1ch);
}
.width-percentage-45 {
width: 45%;
width: round(45%, 1ch);
}
.width-percentage-50 {
width: 50%;
width: round(50%, 1ch);
}
.width-percentage-55 {
width: 55%;
width: round(55%, 1ch);
}
.width-percentage-60 {
width: 60%;
width: round(60%, 1ch);
}
.width-percentage-65 {
width: 65%;
width: round(65%, 1ch);
}
.width-percentage-70 {
width: 70%;
width: round(70%, 1ch);
}
.width-percentage-75 {
width: 75%;
width: round(75%, 1ch);
}
.width-percentage-80 {
width: 80%;
width: round(80%, 1ch);
}
.width-percentage-85 {
width: 85%;
width: round(85%, 1ch);
}
.width-percentage-90 {
width: 90%;
width: round(90%, 1ch);
}
.width-percentage-95 {
width: 95%;
width: round(95%, 1ch);
}
.width-percentage-100 {
width: 100%;
width: round(100%, 1ch);
}
2017-10-04 01:22:51 +02:00
.padding-1 {
padding: 1ch;
padding-top: 21px;
2023-12-27 16:32:10 +01:00
padding-bottom: 21px;
}
2017-10-04 01:22:51 +02:00
.padding-2 {
padding: 2ch;
padding-top: 42px;
2023-12-27 16:32:10 +01:00
padding-bottom: 42px;
}
2017-10-04 01:22:51 +02:00
.padding-3 {
padding: 3ch;
padding-top: 63px;
2023-12-27 16:32:10 +01:00
padding-bottom: 63px;
}
2017-10-04 01:22:51 +02:00
.padding-4 {
padding: 4ch;
padding-top: 84px;
2023-12-27 16:32:10 +01:00
padding-bottom: 84px;
}
2017-10-04 01:22:51 +02:00
.padding-5 {
padding: 5ch;
padding-top: 105px;
2023-12-27 16:32:10 +01:00
padding-bottom: 105px;
}
2017-10-04 01:22:51 +02:00
2020-09-30 15:24:49 +02:00
/*# sourceMappingURL=style.css.map */