-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (78 loc) · 1.33 KB
/
style.css
File metadata and controls
83 lines (78 loc) · 1.33 KB
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
#brand {
margin-left: 10px;
display: flex;
padding: 0;
justify-content: space-between;
height: 150px;
}
#brand img {
height: 100%;
margin-top: -50px;
}
header h1 {
text-align: center;
font-size: 1.5rem;
text-transform: uppercase;
width: 500px;
margin: auto;
animation: topToBottom 1s forwards;
}
header p {
text-align: center;
font-size: 1.3rem;
margin-bottom: -30px;
font-weight: bold;
}
main {
width: 60%;
margin: 50px auto;
display: flex;
flex-wrap: wrap;
}
main a {
display: flex;
flex-direction: column;
align-items: center;
/* border: 1px solid; */
justify-content: center;
width: 30%;
border-radius: 10px;
background-color: var(--secondary-purple);
padding-top: 10px;
margin: 10px;
animation: BottomToTop 1s forwards;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.39);
}
main a:hover {
background-color: var(--secondary-purple-dark);
border: 1px solid var(--main-pink);
}
main a .thumb {
height: 100px;
width: 100px;
overflow: hidden;
}
main a img {
overflow: hidden;
width: 100%;
}
@keyframes topToBottom {
from {
opacity: 0;
transform: translateY(-100px);
}
to {
opacity: 1;
transform: translate(0px);
}
}
@keyframes BottomToTop {
from {
opacity: 0;
transform: translateY(100px);
}
to {
opacity: 1;
transform: translate(0px);
}
}