-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (84 loc) · 1.56 KB
/
style.css
File metadata and controls
104 lines (84 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* 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%;
}