-
Notifications
You must be signed in to change notification settings - Fork 24
/
style.css
98 lines (97 loc) · 2.36 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
@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@500&family=IBM+Plex+Sans:wght@500&family=Iceberg&family=Inter:wght@500&family=Lato:wght@400;700&family=Marcellus+SC&family=Montserrat:wght@400;500;600&family=Open+Sans:wght@500&family=Orbitron:wght@500&family=Poppins:wght@300;400;500&family=Roboto+Flex:opsz,[email protected],500&family=Roboto:wght@300;400;500&family=Saira+Stencil+One&family=Work+Sans:wght@300;500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
background: url('./assets/BGBRL.png');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
font-family: 'Marcellus SC', serif;
}
nav {
padding: 0.5rem;
}
nav img {
height: 4rem;
}
.head {
color: white;
padding: 1.4rem;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.head h1 {
font-size: 3.5rem;
letter-spacing: 0.2rem;
}
.head h3 {
font-size: 2.4rem;
letter-spacing: 0.1rem;
}
.trainees {
padding: 0 2.4rem 0 2.4rem;
margin: 0.8rem;
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 2.4rem;
justify-content: center;
align-content: center;
height: 100%;
}
.trainee {
background-color: white;
outline: 1px solid white;
width: fit-content;
padding: 0.5rem 0.8rem;
font-size: 1.4rem;
color: white;
text-align: center;
display: flex;
align-items: center;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.trainee div {
display: flex;
gap: 2rem;
}
@media(max-width: 700px) {
.trainees {
/* padding: 0 2.4rem 0 2.4rem;
margin: 0.8rem; */
grid-template-columns: repeat(3, 1fr);
gap: 2.4rem;
justify-content: center;
align-content: center;
height: 100%;
}
nav {
width: fit-content;
margin: auto;
}
}
@media(max-width: 450px) {
.trainees {
/* padding: 0 2.4rem 0 2.4rem;
margin: 0.8rem; */
grid-template-columns: repeat(2, 1fr);
gap: 2.4rem;
justify-content: center;
align-content: center;
height: 100%;
}
.head h1 {
font-size: 2.4rem;
letter-spacing: 0.2rem;
}
.head h3 {
font-size: 1.4rem;
letter-spacing: 0.1rem;
}
}