forked from fac-14/Week3TakingAIME
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
123 lines (97 loc) · 1.5 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
body {
font-family: "Oxygen", sans-serif;
font-weight: 400;
font-size: 2rem;
background-color: rgba(0, 0, 0, 0);
margin: 0;
text-align: center;
}
body,
form,
header {
display: flex;
flex-direction: column;
align-items: center;
}
/* START HEADER STYLING */
header {
margin: 24px 0 16px 0;
width: 24rem;
}
svg {
height: 128px;
}
#tflphy-logo {
fill: rgba(17, 59, 146, 1);
}
/* END HEADER STYLING */
/* START BODY STYLING */
h2 {
font-weight: 700;
margin: 0 0 16px 0;
padding: 0 32px;
font-size: 2.5rem;
}
h3 {
font-size: 1.75rem;
margin: 16px 32px;
}
select,
input {
margin: 8px 0px;
width: 24rem;
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);
border-radius: 4px;
}
/* select:focus {
find way to change outline colour to line colour
} */
input[type="submit"]:focus {
box-shadow: none;
}
.hidden {
display: none;
}
#error {
text-align: center;
font-size: 1.75rem;
}
/* END BODY STYLING */
/* START FOOTER STYLING */
footer {
font-size: 0.75rem;
margin: 16px 32px 16px 32px;
}
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;
}
img {
max-width: 90vw;
}
#error {
font-size: 1.25rem;
}
}
/* END MEDIA QUERIES */