skinswitcher/css/index.css

110 lines
1.9 KiB
CSS

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