mirror of
https://github.com/CrispyPin/crispypin.cc.git
synced 2024-11-10 04:00:27 +01:00
152 lines
No EOL
2.7 KiB
CSS
152 lines
No EOL
2.7 KiB
CSS
body {
|
|
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
background-color: #181818;
|
|
color: white;
|
|
display: -ms-grid;
|
|
display: grid;
|
|
-ms-grid-rows: 50px auto 1fr auto;
|
|
grid-template-rows: 50px auto 1fr auto;
|
|
-ms-grid-columns: 80px 1fr 80px;
|
|
grid-template-columns: 80px 1fr 80px;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a:visited {
|
|
color: #b8f;
|
|
}
|
|
|
|
.title-link a {
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
.title-link a:visited {
|
|
color: white;
|
|
}
|
|
|
|
nav {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
nav ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
display: -ms-grid;
|
|
display: grid;
|
|
padding: 5px 25px;
|
|
grid-gap: 5px;
|
|
-ms-grid-columns: (minmax(175px, auto))[auto-fill];
|
|
grid-template-columns: repeat(auto-fill, minmax(175px, auto));
|
|
}
|
|
|
|
nav li {
|
|
padding: 8px;
|
|
}
|
|
|
|
nav a {
|
|
font-size: 24px;
|
|
color: #000;
|
|
text-decoration: none;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
nav a:visited {
|
|
color: #000;
|
|
}
|
|
|
|
header {
|
|
grid-column: 1 / -1;
|
|
background-color: #181818;
|
|
padding: 0;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 40px;
|
|
margin: 0;
|
|
}
|
|
|
|
footer {
|
|
grid-column: 1 / -1;
|
|
margin-top: 5px;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
footer p {
|
|
margin: 5px;
|
|
}
|
|
|
|
main {
|
|
padding: 0 150px 40px;
|
|
margin: 5px 100px;
|
|
grid-column: 2 / -2;
|
|
background-color: #282828;
|
|
}
|
|
|
|
.demo-render {
|
|
margin: 20px;
|
|
width: -webkit-min-content;
|
|
width: -moz-min-content;
|
|
width: min-content;
|
|
background-color: #000;
|
|
}
|
|
|
|
.controlbar {
|
|
background-color: #181818;
|
|
padding: 2px 5px;
|
|
height: -webkit-max-content;
|
|
height: -moz-max-content;
|
|
height: max-content;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-pack: space-evenly;
|
|
-ms-flex-pack: space-evenly;
|
|
justify-content: space-evenly;
|
|
-ms-flex-line-pack: stretch;
|
|
align-content: stretch;
|
|
-ms-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.controlbar button, .controlbar input {
|
|
padding: 4px 6px;
|
|
height: 25px;
|
|
border: 1px solid #000;
|
|
border: 0;
|
|
cursor: pointer;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex-positive: 1;
|
|
flex-grow: 1;
|
|
margin: 2px;
|
|
}
|
|
|
|
.controlbar label {
|
|
background-color: #181818;
|
|
color: #fb8;
|
|
margin: 2px;
|
|
font-family: 'Consolas', 'Courier New', Courier, monospace;
|
|
}
|
|
|
|
.clickable, nav li, .controlbar button, .controlbar input {
|
|
border-radius: 2px;
|
|
background-color: #4a4;
|
|
}
|
|
|
|
.clickable:hover, nav li:hover, .controlbar button:hover, .controlbar input:hover {
|
|
background-color: #4af;
|
|
}
|
|
|
|
.clickable:active, nav li:active, .controlbar button:active, .controlbar input:active {
|
|
background-color: #46c;
|
|
}
|
|
|
|
.clickable:disabled, nav li:disabled, .controlbar button:disabled, .controlbar input:disabled {
|
|
background-color: #8b8;
|
|
text-decoration: line-through;
|
|
color: #000;
|
|
cursor: default;
|
|
}
|
|
/*# sourceMappingURL=style.css.map */ |