-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
38 lines (33 loc) · 995 Bytes
/
styles.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
/* Use CSS variables for reusability and better management of colors */
:root {
--bg-color: rgb(16, 19, 22);
--font-color: rgb(242, 243, 243);
--banned-color: red;
--not-banned-color: green;
}
/* Define custom fonts */
@font-face {
font-family: 'GothamSSm-Medium';
src: url('GothamSSm-Medium.woff2') format('woff2');
}
/* Style for body */
body {
width: 300px;
height: 125px; /* Corrected: change 'x' to 'px' */
background-color: var(--bg-color);
color: var(--font-color);
font-family: 'GothamSSm-Medium', sans-serif;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
display: grid;
border-radius: 10px;
font-size: 20px
}
/* Style for banned users */
.banned {
color: var(--banned-color);
}
/* Style for not-banned users */
.not-banned {
color: var(--not-banned-color);
}