-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (95 loc) · 1.8 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400&display=swap");
html {
background: #e2001a;
}
body {
margin: 0;
font-family: "Poppins", sans-serif;
color: #4b4b4b;
background: white;
line-height: normal;
text-transform: lowercase;
}
header {
background-image: url('https://rllngr.github.io/La-Toile-Jukebox-Code-Makers/assets/header.svg');
background-size: cover;
background-position: center;
width: 100%;
height: 250px;
}
nav {
background: white;
padding-bottom: 10px;
font-family: "Poppins", sans-serif;
}
nav ul {
display: flex;
list-style: none;
align-items: center;
justify-content: center;
gap: 40px;
padding: 0;
margin: 0;
}
nav li a {
font-weight: bold;
color: #4b4b4b;
}
nav a {
text-decoration: none;
color: #4b4b4b;
transition: color 0.3s ease-in-out;
}
nav a:hover {
color: #e2001a;
}
main {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 20px;
padding: 80px 40px 120px;
}
article {
grid-column: span 2;
}
article a {
display: flex;
flex-direction: column;
text-decoration: none;
color: #4b4b4b;
}
article img {
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
object-fit: cover;
margin-bottom: 0.5rem;
border-radius: 4px;
transition: transform 0.3s ease-in-out;
box-shadow: 0 1px 1px hsl(0deg 0% 0% / 0.075),
0 2px 2px hsl(0deg 0% 0% / 0.075), 0 4px 4px hsl(0deg 0% 0% / 0.075),
0 8px 8px hsl(0deg 0% 0% / 0.075), 0 16px 16px hsl(0deg 0% 0% / 0.075);
}
article img:hover {
transform: scale(1.05);
}
h2 {
color: #e2001a;
font-size: 1rem;
margin: 0;
}
p {
margin: 0;
}
p.student {
font-style: italic;
}
footer {
background: #e2001a;
color: white;
display: flex;
justify-content: center;
align-items: center;
font-weight: 400;
padding: 10px;
}