-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
67 lines (59 loc) · 1.06 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "lato", sans-serif;
}
body {
color: white;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
padding: 60px;
background: linear-gradient(to right bottom, #7ed56f, #28b485);
}
h1 {
font-size: 3.5rem;
font-weight: 400;
margin-bottom: 5.5rem;
letter-spacing: 0.25rem;
text-align: center;
}
h4 {
letter-spacing: 0.125rem;
}
section {
display: grid;
justify-items: start;
grid-auto-rows: 315px;
grid-template-columns: repeat(auto-fill, 500px);
}
.card {
position: relative;
display: flex;
cursor: pointer;
flex-direction: column;
align-items: center;
gap: 8px;
width: 100%;
height: 100%;
transition: transform 300ms;
}
iframe {
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 12px;
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}
.card::after {
content: "";
position: absolute;
display: block;
width: 100%;
height: 100%;
}
.card:hover {
transform: translateY(-1.5rem) scale(1.03);
}