-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (92 loc) · 1.7 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
body {
font-family: 'Poiret One', cursive;
background-image: url('showcase photos/Main_bg.png');
background-attachment: fixed;
background-size: fixed;
margin-bottom: 2rem;
}
#main {
background-color: white;
box-shadow: 0px 0px 25px grey;
padding-bottom: 1.2rem;
border-radius: .4rem;
}
h4 {
text-align: center;
margin-bottom: 3.5rem;
line-height: 1.8;
}
h2 {
margin-top: 8rem;
text-align: center;
font-family: 'Poiret One', cursive;
padding: 4rem 0 1.4rem 0;
font-weight: 700;
text-shadow: 1px 1px 3px grey;
}
.heading {
padding: 1rem;
background-color: black;
border-radius: .4rem;
color: white;
padding: 1rem;
transition: transform 0.2s;
display: inline-block;
-webkit-transform: translateY(5px);
transform: translateY(0) rotate(-5deg);
}
.heading:hover {
text-decoration:none;
color: white;
animation: bounce 1s;
font-weight: 600;
}
.card {
border: none;
background-color:transparent;
}
figure {
margin: 0;
padding: 0;
background: #fff;
overflow: hidden;
}
figure img {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
}
figure:hover img {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
.card-body {
text-align: center;
padding: .8rem 0 0 0;
font-size: 1.2rem;
color: black;
}
.card-text {
padding-bottom: 1rem;
}
a:hover {
text-decoration: none;
text-shadow: 1px 1px 3px grey;
}
img {
margin: 0.5rem;
}
@keyframes bounce {
10%, 90% {
-webkit-transform: translateY(-5px);
transform: translateY(0) rotate(5deg);
}
55% {
-webkit-transform: translateY(5px);
transform: translateY(0) rotate(-5deg);
}
}
.row {
background-color: transparent;
}