Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (72 loc) · 1.55 KB
/
Copy pathstyle.css
File metadata and controls
83 lines (72 loc) · 1.55 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
:root {
--nes-red: #ce0001;
--nes-light-gray: #cccac6;
--nes-controller-gray: #888681;
--nes-dark-gray: #747273;
--nes-black: #343434;
--button-light-shadow: #807f7f;
}
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
background-color: var(--nes-light-gray);
font-family: 'Orbitron', monospace;
text-transform: uppercase;
}
#canvas {
height: 40vh;
width: 40vh;
background-color: var(--nes-black);
display: block;
margin-left: auto;
margin-right: auto;
}
#input-container {
position: absolute;
top: 40vh;
width: 100vw;
display: flex;
}
h2 {
text-align: center;
color: var(--nes-red);
margin: 0 0 0.2em 0;
}
.note-input {
flex: 1;
}
textarea {
width: 100%;
resize: none;
height: 40vh;
}
footer {
background-color: var(--nes-dark-gray);
position: absolute;
padding: 2vh 4vw;
bottom: 0;
width: 100%;
}
button {
font-family: 'Orbitron', monospace;
text-transform: uppercase;
background: var(--nes-dark-gray);
border-radius: 3px;
border: 3px solid var(--nes-black);
border-top-color: var(--button-light-shadow);
border-left-color: var(--button-light-shadow);
padding: 1em 0.5em 0.5em 1em;
color: var(--nes-red);
text-decoration:none;
display: inline-block;
transition: 0.1s;
}
button:active {
border-bottom-color: var(--button-light-shadow);
border-right-color: var(--button-light-shadow);
border-top-color: var(--nes-black);
border-left-color: var(--nes-black);
}