forked from MattCrl/Contributors-portraits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (85 loc) · 1.5 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
a {
text-decoration: none;
}
.main-title {
font-family: "Pirata One", cursive;
}
.card {
margin-bottom: 10px;
text-align: center;
}
.card-body {
background-color: #582d41;
color: aliceblue;
}
.card-title {
font-weight: bold;
margin-bottom: 10px;
height: 40px;
color: #ff9a56;
}
.djigotitle {
color: white;
text-shadow: 2px 2px 0px #000, 5px 4px 0px rgba(0, 0, 0, 0.15);
}
.card-img-top {
height: 250px;
object-fit: cover;
}
.card-text {
overflow: auto;
height: 150px;
}
.button {
border: 3px solid #21ffff;
border-radius: 4px;
color: #21ffff;
display: inline-block;
font-size: 0.9em;
margin-left: 0.5rem;
padding: 0.5rem 1rem;
text-decoration: none;
}
.button:hover {
background-color: #fff;
border-color: #fff;
color: #411e2f;
text-decoration: none;
}
.card__animate {
transition: transform 0.5s;
}
.card__animate::after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: opacity 2s cubic-bezier(0.165, 0.84, 0.44, 1);
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
content: "";
opacity: 0;
z-index: -1;
}
.card__animate:hover,
.card__animate:focus {
transform: scale3d(1.006, 1.006, 1);
}
.card__animate:hover::after,
.card__animate:focus::after {
opacity: 1;
}
.container h1{
display: flex;
justify-content: center;
font-weight: 300;
padding: 50px;
background: #582d41;
color: white;
}
.container svg {
margin-right: 10px;
}
.separator {
background-color:#ffffff;
}