196 lines
2.8 KiB
CSS
196 lines
2.8 KiB
CSS
|
:root {
|
||
|
--dark1: #000000;
|
||
|
--dark2: #333333;
|
||
|
--dark3: #666666;
|
||
|
--light1: #999999;
|
||
|
--light2: #cccccc;
|
||
|
--light3: #eeeeee;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background: var(--dark1);
|
||
|
color: var(--light3);
|
||
|
/* font-family: Courier New; */
|
||
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
canvas {
|
||
|
flex: auto;
|
||
|
background: linear-gradient(
|
||
|
90deg,
|
||
|
rgba(0, 0, 0, 1) 0%,
|
||
|
rgba(131, 131, 131, 1) 52%,
|
||
|
rgba(0, 0, 0, 1) 100%
|
||
|
);
|
||
|
}
|
||
|
|
||
|
h1,
|
||
|
h2 {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
margin: 10px auto;
|
||
|
font-size: larger;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
#container {
|
||
|
display: flex;
|
||
|
height: calc(100vh - 100px);
|
||
|
overflow: hidden;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
#burger-toggle {
|
||
|
display: none;
|
||
|
cursor: pointer;
|
||
|
font-size: 1.5em;
|
||
|
vertical-align: middle;
|
||
|
color: var(--light2);
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
font-weight: bold;
|
||
|
border: 1px solid white;
|
||
|
padding: 2px;
|
||
|
}
|
||
|
|
||
|
a:hover {
|
||
|
cursor: pointer;
|
||
|
color: var(--light1);
|
||
|
}
|
||
|
|
||
|
select {
|
||
|
margin-top: 10px;
|
||
|
padding: 5px;
|
||
|
}
|
||
|
|
||
|
input[type="button"] {
|
||
|
min-width: 60px;
|
||
|
padding: 5px;
|
||
|
font-weight: bold;
|
||
|
margin-right: 10px;
|
||
|
}
|
||
|
|
||
|
.form-field {
|
||
|
display: flex;
|
||
|
margin: 10px;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
.menu-row {
|
||
|
flex: 1;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.menu-row h2 {
|
||
|
font-size: medium;
|
||
|
padding: 10px;
|
||
|
cursor: pointer;
|
||
|
border-bottom: 1px solid var(--dark3);
|
||
|
border-top: 1px solid var(--dark3);
|
||
|
margin: 0 0 10px 0;
|
||
|
}
|
||
|
|
||
|
.menu-row a {
|
||
|
color: white;
|
||
|
font-weight: bold;
|
||
|
text-decoration: none;
|
||
|
font-size: small;
|
||
|
}
|
||
|
|
||
|
.menu-row-content {
|
||
|
position: absolute;
|
||
|
background: var(--dark1);
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
label,
|
||
|
.form-field label {
|
||
|
margin-right: 10px;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
#canvas-board {
|
||
|
flex: 1;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
#main-menu {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
width: 100%;
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
||
|
#main-menu::-webkit-scrollbar {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
/* Hide scrollbar for IE, Edge and Firefox */
|
||
|
#main-menu {
|
||
|
-ms-overflow-style: none; /* IE and Edge */
|
||
|
scrollbar-width: none; /* Firefox */
|
||
|
}
|
||
|
|
||
|
.reset-menu {
|
||
|
display: flex;
|
||
|
justify-content: flex-end;
|
||
|
padding: 5px;
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width: 800px) {
|
||
|
h1 {
|
||
|
font-size: medium;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
padding: 0 10px;
|
||
|
}
|
||
|
|
||
|
#burger-toggle {
|
||
|
display: inline;
|
||
|
}
|
||
|
|
||
|
#main-menu {
|
||
|
background: var(--dark2);
|
||
|
margin: 0 auto;
|
||
|
flex-direction: column;
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
.menu-row {
|
||
|
margin: 0 auto;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.menu-row h2,
|
||
|
.form-field {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.menu-row h2 {
|
||
|
border-bottom: 1px solid var(--dark3);
|
||
|
border-top: none;
|
||
|
}
|
||
|
|
||
|
.form-field {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.menu-row-content {
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|