2023-11-11 21:53:24 -07:00
|
|
|
html {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2023-11-11 23:15:42 -07:00
|
|
|
|
2023-11-09 14:15:23 -07:00
|
|
|
body{
|
2023-11-11 21:53:24 -07:00
|
|
|
background-image: linear-gradient(160deg, #a50071, #4b588c, #5fa66a, #017070);
|
|
|
|
|
background-attachment: fixed;
|
2023-11-09 22:13:12 -07:00
|
|
|
color: #eee;
|
|
|
|
|
text-align: center;
|
2023-11-11 23:15:42 -07:00
|
|
|
font-family: "Andale Mono", monospace;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
margin: 0;
|
2023-11-09 14:15:23 -07:00
|
|
|
}
|
2023-11-11 23:15:42 -07:00
|
|
|
|
|
|
|
|
header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 30px;
|
|
|
|
|
background: #111;
|
|
|
|
|
opacity: .8;
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main {
|
2023-11-09 14:15:23 -07:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2023-11-11 23:15:42 -07:00
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-12 15:18:00 -07:00
|
|
|
.tool-labels {
|
|
|
|
|
margin: 13px 0;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
color: #68ffd8;
|
2023-11-12 14:18:58 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-11 23:15:42 -07:00
|
|
|
footer {
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #111;
|
|
|
|
|
opacity: .8;
|
2023-11-12 15:18:00 -07:00
|
|
|
flex: 0 0 auto;
|
2023-11-09 14:15:23 -07:00
|
|
|
}
|
2023-11-11 07:39:44 -07:00
|
|
|
|
2023-11-12 15:18:00 -07:00
|
|
|
button, .container, .color-input, .knob-shadow {
|
2023-11-12 12:50:44 -07:00
|
|
|
box-shadow: 1px 2px 10px 1px #555;
|
2023-11-12 15:18:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button, .container, .color-input, .knob {
|
2023-11-12 12:50:44 -07:00
|
|
|
cursor: pointer;
|
2023-11-12 15:18:00 -07:00
|
|
|
background-color: #f0fbf8;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #000;
|
|
|
|
|
}
|
|
|
|
|
button:hover, .container:hover, .color-input:hover {
|
|
|
|
|
background-color: #68ffd8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button:active, .container:active, .color-input:active{
|
|
|
|
|
background-color: #017070;
|
|
|
|
|
color: #f0fbf8;
|
2023-11-12 12:50:44 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-11 07:39:44 -07:00
|
|
|
.pen-input, .grid-input {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2023-11-12 01:20:34 -07:00
|
|
|
justify-content: space-between;
|
2023-11-11 07:39:44 -07:00
|
|
|
margin: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-11 08:24:33 -07:00
|
|
|
.pen-color, .pen-tools, .grid-tools,
|
|
|
|
|
.col-picker, .background-col-picker {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.col-picker, .background-col-picker {
|
|
|
|
|
margin: 5px;
|
|
|
|
|
width: 100px;
|
2023-11-12 01:20:34 -07:00
|
|
|
padding: 0 10px;
|
2023-11-11 08:24:33 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-12 15:18:00 -07:00
|
|
|
.sub-labels {
|
2023-11-11 08:24:33 -07:00
|
|
|
padding-bottom: 5px;
|
2023-11-11 19:19:38 -07:00
|
|
|
font-size: 18px;
|
2023-11-12 15:18:00 -07:00
|
|
|
color: #f0fbf8;
|
2023-11-11 08:24:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.color-input {
|
2023-11-12 01:20:34 -07:00
|
|
|
width: 120%;
|
2023-11-12 12:50:44 -07:00
|
|
|
height: 25px;
|
2023-11-11 08:24:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
display: block;
|
2023-11-11 19:19:38 -07:00
|
|
|
width: 120px;
|
2023-11-12 12:50:44 -07:00
|
|
|
height: 25px;
|
2023-11-11 08:24:33 -07:00
|
|
|
margin: 5px;
|
2023-11-11 19:19:38 -07:00
|
|
|
font-size: 18px;
|
2023-11-11 08:24:33 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-09 14:15:23 -07:00
|
|
|
.container{
|
2023-11-09 19:15:16 -07:00
|
|
|
border: 1px solid #bbb;
|
2023-11-12 01:13:05 -07:00
|
|
|
height: 500px;
|
2023-11-12 15:18:00 -07:00
|
|
|
max-width: 500px;
|
2023-11-09 15:14:02 -07:00
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2023-11-11 23:45:04 -07:00
|
|
|
background: rgb(180, 254, 235);
|
2023-11-12 12:50:44 -07:00
|
|
|
will-change: contents;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.grid {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.grid-on {
|
|
|
|
|
border: 1px solid #bbb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.grid-off {
|
|
|
|
|
border: none;
|
2023-11-09 15:14:02 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-09 22:04:04 -07:00
|
|
|
.slider {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
margin: 0 10px;
|
|
|
|
|
align-items: center;
|
2023-11-11 19:19:38 -07:00
|
|
|
font-size: 18px;
|
2023-11-09 22:04:04 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-11 19:01:51 -07:00
|
|
|
#gridSlider {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-12 13:09:20 -07:00
|
|
|
.knob-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.knob-shadow {
|
|
|
|
|
width: 95px;
|
|
|
|
|
height: 95px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 5%;
|
|
|
|
|
left: 1%;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-11 15:09:20 -07:00
|
|
|
.knob {
|
2023-11-11 19:19:38 -07:00
|
|
|
width: 95px;
|
|
|
|
|
height: 95px;
|
2023-11-11 07:39:44 -07:00
|
|
|
border-radius: 50%;
|
2023-11-11 19:19:38 -07:00
|
|
|
margin-top: 5px;
|
2023-11-12 13:09:20 -07:00
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
2023-11-12 12:50:44 -07:00
|
|
|
transform-style: preserve-3d;
|
2023-11-12 13:09:20 -07:00
|
|
|
will-change: transform;
|
2023-11-11 07:39:44 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-11 15:09:20 -07:00
|
|
|
.knotch {
|
2023-11-11 07:39:44 -07:00
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: #111;
|
2023-11-12 12:50:44 -07:00
|
|
|
box-shadow: 1px 2px 1px 1px #555;
|
2023-11-11 07:39:44 -07:00
|
|
|
position: relative;
|
|
|
|
|
top: 15%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
2023-11-12 12:50:44 -07:00
|
|
|
box-shadow: 1px 1px 1px #555;
|
2023-11-11 07:39:44 -07:00
|
|
|
}
|
|
|
|
|
|
2023-11-12 14:18:58 -07:00
|
|
|
.knobless-grid-tools {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.grid-buttons {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-12 12:50:44 -07:00
|
|
|
@media screen and (max-width: 900px) {
|
2023-11-12 15:18:00 -07:00
|
|
|
header {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-12 14:18:58 -07:00
|
|
|
main {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-12 12:50:44 -07:00
|
|
|
.pen-color, .pen-tools, .grid-tools {
|
|
|
|
|
flex-direction: row; /* Switch to a row layout when wrapping occurs */
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
2023-11-12 13:09:20 -07:00
|
|
|
|
2023-11-12 15:18:00 -07:00
|
|
|
#h3-pen-color{
|
|
|
|
|
margin-bottom: -13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sub-labels {
|
2023-11-12 14:18:58 -07:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2023-11-12 12:50:44 -07:00
|
|
|
}
|
2023-11-12 15:18:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 559px) {
|
|
|
|
|
#h3-pen-color {
|
|
|
|
|
margin: 13px 0;
|
|
|
|
|
}
|
|
|
|
|
}
|