-
Notifications
You must be signed in to change notification settings - Fork 200
Expand file tree
/
Copy pathRandomContributor.module.css
More file actions
106 lines (94 loc) · 1.64 KB
/
RandomContributor.module.css
File metadata and controls
106 lines (94 loc) · 1.64 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
.card-container {
position: relative;
display: flex;
justify-content: space-evenly;
align-items: center;
bottom: 0;
right: 0;
background-color: #dad1d1;
width: 70%;
/* z-index: 9999; */
margin: 1rem;
border-radius: 16px;
padding: 1rem;
transition: 0.5s;
transform: translateX(20%);
}
.card-container:hover {
background-color: rgb(255, 255, 255);
transition: 0.5s;
}
.cards {
width: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 10px;
}
.heading {
color: var(--dark-900);
width: 20rem;
font-family: Verdana, Geneva, Tahoma, sans-serif, Helvetica, sans-serif;
line-height: 45px;
font-size: 3vmax;
font-weight: 720;
text-align: center;
transition: 0.5s;
}
.image {
width: 250px;
height: 250px;
border-radius: 12px;
object-fit: contain;
}
.name {
font-size: 14px;
font-weight: 600;
margin-top: 15px;
padding: 10px;
color: var(--dark-900);
text-align: center;
border: 1px solid var(--dark-900);
transition: 0.5s;
}
.name:hover,
.heading:hover {
color: #006dff;
cursor: pointer;
transition: 0.5s;
}
/* Media Query */
@media (max-width: 768px) {
.card-container{
flex-direction: column;
background: #fff;
width: 90%;
transform: translateX(3%);
}
.image{
height: 150px;
width: 150px;
}
.heading{
font-weight:800;
}
}
@media (max-width: 400px) {
.card-container {
width: 85%;
margin: auto;
transform: translateX(0);
}
.image {
height: 120px;
width: 120px;
}
.heading {
font-size: 2.5vmax;
font-weight: 800;
}
.name {
font-size: 12px;
}
}