skinswitcher/css/index.scss

88 lines
2.0 KiB
SCSS

body {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
header {
h1 {
margin-bottom: 0;
}
h3 {
margin: 0;
}
}
div.content {
display: grid;
grid-template-columns: 50% 50%;
grid-template-areas:
'message message'
'left right'
;
width: 100%;
form {
label {
font-size: small;
}
}
input, button {
margin: 0.5em;
padding: 0.25em;
}
button {
width: 50%;
}
.message {
grid-area: message;
width: calc(100% - 22px);
height: auto;
margin: 5px auto;
padding: 5px 10px 5px 10px;
font-size: small;
color: white;
&.info {
border: 1px solid blue;
background: rgba(0, 0, 255, 0.5);
}
&.warning {
border: 1px solid red;
background: rgba(255, 0, 0, 0.5);
}
&.success {
border: 1px solid limegreen;
background: rgba(50, 205, 50, 0.5);
}
}
div.left {
grid-area: left;
}
div.right {
grid-area: right;
div#list {
canvas {
cursor: pointer;
padding: 0 2px 0 2px;
}
}
}
img.skin {
width: 60%;
padding: 0 1em 1em 1em;
image-rendering: pixelated;
}
}
&.dark {
color: #a9a9a9;
background-color: #111;
}
&.light {
color: #000;
background: #fff;
}
footer {
font-size: small;
width: 100%;
height: auto;
position: absolute;
bottom: 0;
left: 0;
text-align: center;
}
}