-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout_panels.css
72 lines (57 loc) · 1.01 KB
/
about_panels.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
:root {
--about-card-background: #454545;
}
.card {
display: flex;
gap: 20px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
width: 40%;
border-radius: 5px;
margin: 100px;
background: var(--about-card-background);
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
img {
border-radius: 5px 5px 5px 5px;
}
.container {
padding: 2px 16px;
}
.container_text {
padding: 0px 50px 10px 0px;
}
.container_image {
position: relative;
transform: translate(-50%, -40%);
width: 80px;
height: 80px;
}
p.designation {
margin-top: 0;
}
h3.designation {
margin-bottom: 0;
}
h3 {
font-size: 190%;
}
@media screen and (max-width: 600px) {
.card {
width: 100%;
margin: 0px 40px 40px 40px;
}
.card-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.container_text {
padding: 0px 20px 15px 20px;
}
.container_image {
position: absolute;
}
}