-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
128 lines (105 loc) · 1.84 KB
/
main.css
File metadata and controls
128 lines (105 loc) · 1.84 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background-color: whitesmoke;
}
.heading-container {
text-align: center;
}
.heading {
font-weight: 600;
}
.credit {
margin: 10px 0px;
color: #888888;
font-size: 25px;
transition: all 0.5s;
}
.credit a {
color: inherit;
}
a,
.card__exit,
.card__icon {
position: relative;
text-decoration: none;
color: rgba(255, 255, 255, 0.9);
}
a::after {
position: absolute;
top: 25px;
left: 0;
content: "";
width: 0%;
height: 3px;
background-color: rgba(255, 255, 255, 0.6);
transition: all 0.5s;
}
a:hover::after {
width: 100%;
}
.main-container {
padding: 30px;
}
.card-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.card {
margin: 20px;
padding: 20px;
width: 400px;
min-height: 100px;
display: grid;
grid-template-rows: 20px 50px 1fr 50px;
border-radius: 10px;
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
transition: all 0.5s;
}
.card:hover {
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
transform: scale(1.01);
}
.card__exit {
grid-row: 1/2;
justify-self: end;
}
.card__icon {
grid-row: 2/3;
font-size: 30px;
}
.card__title {
grid-row: 3/4;
font-weight: 400;
color: #ffffff;
}
.card__apply {
grid-row: 4/5;
align-self: center;
}
.card-1 {
background: radial-gradient(#1fe4f5, #3fbafe);
}
.card-2 {
background: radial-gradient(#fbc1cc, #fa99b2);
}
.card-3 {
background: radial-gradient(#76b2fe, #b69efe);
}
.card-4 {
background: radial-gradient(#60efbc, #58d5c9);
}
.card-5 {
background: radial-gradient(#f588d8, #c0a3e5);
}
@media (max-width: 1600px) {
.card-container {
justify-content: center;
}
}