-
Notifications
You must be signed in to change notification settings - Fork 0
/
cntcus.css
103 lines (102 loc) · 1.78 KB
/
cntcus.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
background-color: #f5f5f5;
}
.row {
display: flex;
flex-wrap: wrap;
padding: 2em 1em;
text-align: center;
}
.column1{
width: 40%;
padding: 0.5em 0;
position: absolute;
left: 55%;
top: 27%;
}
.column2{
width: 40%;
padding: 0.5em 0;
position: absolute;
left: 5%;
top: 25%;
}
h1 {
width: 100%;
text-align: center;
font-size: 3.5em;
color: #1f003b;
}
.card {
box-shadow: 0 0 2.4em rgba(25, 0, 58, 0.1);
padding: 3.5em 1em;
border-radius: 0.6em;
color: #1f003b;
cursor: pointer;
transition: 0.3s;
background-color: #ffffff;
}
.card .img-container {
width: 8em;
height: 8em;
background-color: #a993ff;
padding: 0.5em;
border-radius: 50%;
margin: 0 auto 2em auto;
}
.card img {
width: 100%;
border-radius: 50%;
}
.card h3 {
font-weight: 500;
}
.card p {
font-weight: 300;
text-transform: uppercase;
margin: 0.5em 0 2em 0;
letter-spacing: 2px;
}
.icons {
width: 50%;
min-width: 180px;
margin: auto;
display: flex;
justify-content: space-between;
}
.card a {
text-decoration: none;
color: inherit;
font-size: 1.4em;
}
.card:hover {
background: linear-gradient(#6045ea, #8567f7);
color: #ffffff;
}
.card:hover .img-container {
transform: scale(1.15);
}
@media screen and (min-width: 768px) {
section {
padding: 1em 7em;
}
}
@media screen and (min-width: 992px) {
section {
padding: 1em;
}
.card {
padding: 5em 1em;
}
.column {
flex: 0 0 33.33%;
max-width: 33.33%;
padding: 0 1em;
}
}