104 lines
No EOL
1.6 KiB
CSS
104 lines
No EOL
1.6 KiB
CSS
/* GLOBAL */
|
|
|
|
body {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
background: #3f3f3f;
|
|
color: #cacaca;
|
|
margin: 2em;
|
|
font-family: helvetica;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "VCR";
|
|
src: url("vcr.ttf");
|
|
}
|
|
|
|
strong {
|
|
color: white;
|
|
}
|
|
|
|
.hide {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/* CONTROLS */
|
|
|
|
#controls {
|
|
padding: 0 1em;
|
|
max-width: 30em;
|
|
}
|
|
|
|
|
|
|
|
#controls .btn {
|
|
display: inline-block;
|
|
height: 3em;
|
|
line-height: 3em;
|
|
text-align: center;
|
|
width: 4em;
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 0.9em;
|
|
background-color: #969696;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
border: 2px solid #e0e0e0;
|
|
border-radius: 6px;
|
|
background-size: 100%;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
#controls .btn:active,
|
|
#controls .btn.selected {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 6px rgba(74, 144, 226, 0.1);
|
|
}
|
|
|
|
#controls .btn:focus {
|
|
outline: none;
|
|
border-color: #4a90e2;
|
|
box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
|
|
}
|
|
|
|
#controls .btn:hover {
|
|
border-color: #4a90e2;
|
|
box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
#controls .btn:hover::after {
|
|
transform: scaleX(1);
|
|
}
|
|
|
|
#controls textarea {
|
|
font-size: 14pt;
|
|
}
|
|
|
|
#ratio-btns {
|
|
text-align: right;
|
|
}
|
|
|
|
/* PREVIEW */
|
|
|
|
#testcard {
|
|
width: 640px;
|
|
height: 480px;
|
|
}
|
|
|
|
#testcard.wide {
|
|
width: 853px;
|
|
}
|
|
|
|
/* FULLSCREEN */
|
|
|
|
#testcard.fullscreen {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
} |