botsym-css/style.css

237 lines
4.6 KiB
CSS
Raw Normal View History

2017-10-01 21:55:29 +02:00
@charset "UTF-8";
:root {
2017-10-01 21:01:18 +02:00
font-family: "Iosevka Slab", "Iosevka", "Consolas", "monospace";
2017-10-01 21:55:29 +02:00
background-color: black;
color: #c9c9c9;
2017-10-01 21:01:18 +02:00
font-weight: 400;
2017-10-01 21:55:29 +02:00
font-size: 16px;
line-height: 21px; }
2017-10-01 21:01:18 +02:00
2017-10-01 21:55:29 +02:00
* {
2017-10-01 21:01:18 +02:00
margin: 0;
2017-10-01 21:55:29 +02:00
padding: 0; }
2017-10-01 21:01:18 +02:00
p {
2017-10-01 21:55:29 +02:00
width: auto; }
2017-10-01 21:01:18 +02:00
2017-10-01 21:55:29 +02:00
b {
font-weight: 1000; }
2017-10-01 21:01:18 +02:00
li {
2017-10-01 21:55:29 +02:00
list-style: none; }
2017-10-01 21:01:18 +02:00
ul {
2017-10-01 21:55:29 +02:00
padding-left: 1ch; }
2017-10-01 21:01:18 +02:00
a {
2017-10-01 21:55:29 +02:00
color: #c9c9c9; }
a :hover {
background-color: #171c94;
color: #c9c9c9; }
2017-10-01 21:01:18 +02:00
.white a {
2017-10-01 21:55:29 +02:00
color: black; }
2017-10-01 21:01:18 +02:00
.white a:hover {
2017-10-01 21:55:29 +02:00
color: #c9c9c9; }
2017-10-01 21:01:18 +02:00
.blue a:hover {
2017-10-01 21:55:29 +02:00
background-color: #c9c9c9;
color: #171c94; }
2017-10-01 21:01:18 +02:00
2017-10-01 21:55:29 +02:00
nav ul > li > ul:hover a {
color: #c9c9c9; }
2017-10-01 21:01:18 +02:00
.hr {
2017-10-01 21:55:29 +02:00
height: 21px; }
2017-10-01 21:01:18 +02:00
hr {
2017-10-01 21:55:29 +02:00
height: 10.5px;
2017-10-01 21:01:18 +02:00
border: 0;
2017-10-01 21:55:29 +02:00
border-bottom: 1px solid #c9c9c9; }
2017-10-01 21:01:18 +02:00
.blue hr {
2017-10-01 21:55:29 +02:00
border-color: #c9c9c9; }
2017-10-01 21:01:18 +02:00
nav li hr, li.button-list > ul a hr, .white hr {
2017-10-01 21:55:29 +02:00
border-color: black; }
2017-10-01 21:01:18 +02:00
2017-10-01 21:55:29 +02:00
nav > li > ul li > ul:hover > hr, li.button-list > ul:hover a hr {
border-color: #c9c9c9; }
2017-10-01 21:01:18 +02:00
li:not(.button-list) > ul::before {
2017-10-01 21:55:29 +02:00
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 {
2017-10-01 21:01:18 +02:00
display: block;
2017-10-01 21:55:29 +02:00
width: 100%; }
2017-10-01 21:01:18 +02:00
.blue li.button-list > ul:hover {
2017-10-01 21:55:29 +02:00
background-color: #c9c9c9;
color: black; }
2017-10-01 21:01:18 +02:00
.blue li.button-list > ul:hover > a {
2017-10-01 21:55:29 +02:00
color: black; }
2017-10-01 21:01:18 +02:00
@keyframes hide {
0% {
opacity: 0;
2017-10-01 21:55:29 +02:00
left: inherit; }
2017-10-01 21:01:18 +02:00
1% {
2017-10-01 21:55:29 +02:00
opacity: 0; }
2017-10-01 21:01:18 +02:00
100% {
opacity: 0;
2017-10-01 21:55:29 +02:00
left: -9999px; } }
nav a {
color: black;
2017-10-01 21:01:18 +02:00
display: block;
2017-10-01 21:55:29 +02:00
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; }
2017-10-01 21:01:18 +02:00
.box {
2017-10-01 21:55:29 +02:00
border: 2px solid #c9c9c9;
margin: 0.5ch;
padding: calc(0.5ch - 2px);
2017-10-01 21:01:18 +02:00
width: auto;
display: inline-block;
2017-10-01 21:55:29 +02:00
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; }
2017-10-01 21:01:18 +02:00
.list-symbol::after {
2017-10-01 21:55:29 +02:00
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 */