This repository has been archived by the owner on Aug 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
/
main.css
159 lines (131 loc) · 2.07 KB
/
main.css
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
*,
*:before,
*:after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
overflow-x: auto;
}
header {
margin-top: 20px; /*px(or pixel) is the standard sizing unit. You can learn more here: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units */
text-align: center;
padding-left: 20px;
padding-right: 20px;
}
.logo {
max-width: 800px;
max-height: 250px;
}
.nav-list {
list-style: none;
padding-left: 0;
padding: 20px;
padding-bottom: 0;
}
.nav-item {
display: inline-block;
}
main {
display: flex;
align-items: center;
flex-direction: column;
padding: 20px;
}
main > section {
width: 100%;
}
#canvas {
max-width: 800px;
max-height: 800px;
margin: 20px;
display: flex;
justify-content: center;
}
#canvas svg {
width: 100%;
height: 100%;
}
.nes-btn {
margin-bottom: 10px;
}
.nes-container {
margin: 20px;
max-width: 800px;
}
.nes-container.is-dark {
margin-bottom: 20px;
}
footer {
margin-bottom: 60px;
}
footer p {
font-family: 'Press Start 2P', cursive;
font-size: 0.8em;
padding-left: 20px;
padding-right: 20px;
}
h1,
h2,
h3 {
font-family: 'Press Start 2P', cursive;
}
p {
font-family: 'Open Sans', sans-serif;
}
p code {
font-family: monospace;
}
.text-center {
text-align: center;
}
.twilio-link {
color: #f22f46;
}
.screenreader-only {
opacity: 0.01;
width: 1px;
height: 1px;
z-index: -1;
}
.screenreader-only:hover,
.screenreader-only:link,
.screenreader-only:visited {
cursor: arrow;
}
.twilio-pixel {
width: 32px;
height: 32px;
}
.footer-icons {
display: flex;
justify-content: center;
}
.footer-icons > a {
display: block;
margin-left: 10px;
margin-right: 10px;
}
#contributor-name {
color: red;
font-weight: bold;
padding: 0 5px;
border: 1px solid black;
}
.tooltip-name {
padding: 4px 10px;
background: white;
color: black;
transform: translateX(-100%) translateY(-100%);
position: absolute;
font-size: 10px;
border: 1px solid black;
}
.pixel {
transition: all 0.4s ease-in-out;
}
.hidden {
display: none;
}