-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
163 lines (133 loc) · 2.2 KB
/
style.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
160
161
162
163
/*
TUBE LINE COLOURS!
Bakerloo rgba(174, 97, 24) #AE6118
Central rgba(228, 31, 31) #E41F1F
Circle rgba(248, 212, 45) #F8D42D
District rgba(0, 165, 117) #00A575
H&C rgba(232, 153, 168) #E899A8
Jubilee rgba(143, 152, 158) #8F989E
Metro rgba(137, 50, 103) #893267
Northern rgba(0, 0, 0) #000000
Piccadilly rgba(4, 80, 161) #0450A1
Victoria rgba(0, 159, 224) #009FE0
W&C rgba(112, 195, 206) #70C3CE
Overground rgba(248, 108, 0) #F86C00
DLR rgba(0, 187, 180) #00BBB4
*/
body {
font-family: "Oxygen", sans-serif;
font-weight: 400;
font-size: 2rem;
background-color: rgba(0, 0, 0, 0);
}
body,
.main,
.input-form,
.line-select,
.api-update,
.header,
.footer,
#line-status,
#input-gif {
display: flex;
flex-direction: column;
align-items: center;
}
body,
main {
margin: 0;
}
/* START HEADER STYLING */
header {
margin: 24px 0px;
width: 24rem;
}
svg {
height: 128px;
}
#tflphy-logo {
color: rgba(17, 59, 146, 1.0);
fill: currentColor;
}
/* END HEADER STYLING */
/* START BODY STYLING */
h2 {
text-align: center;
font-weight: 700;
margin: 0 0 16px 0;
padding: 0 32px;
font-size: 2.5rem;
}
h3 {
font-size: 1.75rem;
text-align: center;
margin: 16px 32px;
/* padding: 0 8rem; */
}
select,
input {
margin: 8px 0px;
width: 24rem;
}
form > * {
font-family: "Oxygen", sans-serif;
font-size: 1rem;
}
input[type="submit"] {
font-family: inherit;
font-weight: 700;
font-size: 1rem;
color: white;
background-color: rgba(17, 59, 146, 1.0);
border-radius: 4px;
}
/* select:focus {
} */
input[type="submit"]:focus {
box-shadow: none;
}
.hidden-img {
display: none;
}
.reveal-img {
display: flex;
flex-direction: row;
justify-content: center;
}
#error {
text-align: center;
font-size: 1.75rem;
}
/* END BODY STYLING */
/* START FOOTER STYLING */
footer {
font-size: 0.75rem;
margin: 24px 32px;
text-align: center;
}
p {
margin: 0;
}
/* END FOOTER STYLING */
/* START MEDIA QUERIES */
@media screen and (max-width: 450px) {
header,
select,
input {
width: 80vw;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.25rem;
}
#input-gif > img {
max-width: 90vw;
}
#error {
font-size: 1.25rem;
}
/*
}
/* END EMDIA QUERIES */