Newer
Older

Cross, Liam (UG - Comp Sci & Elec Eng)
committed
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
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
/* Unifies font across frontend */
* {
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: normal;
}
/* Stops whitespace surrounding page */
body {
margin: 0;
}
/* CSS Variables */
:root {
--main: #000055;
}
/*
**
** Global CSS classes:
**
*/
.card {
display: flex;
flex-direction: column;
gap: 1rem;
border: 1px solid gray;
border-radius: 5px;
background-color: white;
padding: 1.5rem;
}
.form-group {
display: flex;
flex-direction: column;
label {
font-weight: 700;
margin-bottom: 0.5rem;
}
input {
font-size: 1rem;
padding: 6px 12px;
border: 1px solid gray;
border-radius: 5px;
}
select {
font-size: 1rem;
padding: 6px 12px;
border: 1px solid gray;
border-radius: 5px;
}

Cross, Liam (UG - Comp Sci & Elec Eng)
committed
button {
font-size: 1rem;
padding: 6px 12px;
border: 1px solid gray;
border-radius: 5px;
background-color: var(--main);
color: white;
}
button:hover {
filter: brightness(50%);
cursor: pointer;
}
span {
overflow: hidden;
color: red;
}
}
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
.form-h {
display: flex;
flex-direction: column;
gap: 1rem;
.form-group-h {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
label {
font-weight: 700;
width: 180px;
}
input {
font-size: 1rem;
padding: 6px 12px;
border: 1px solid gray;
border-radius: 5px;
width: 300px;
}
button {
font-size: 1rem;
padding: 6px 12px;
border: 1px solid gray;
border-radius: 5px;
background-color: var(--main);
color: white;
}
button:hover {
filter: brightness(50%);
cursor: pointer;
}
button:disabled {
filter: brightness(40%);
}
button:disabled:hover {
cursor: auto;
}
span {
overflow: hidden;
color: red;
}
}
}

Cross, Liam (UG - Comp Sci & Elec Eng)
committed
.flex {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;