-
Notifications
You must be signed in to change notification settings - Fork 0
/
card.css
97 lines (80 loc) · 1.32 KB
/
card.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
:root {
font-family: "Nunito Sans", sans-serif;
}
body {
background-color: #f5f7f7;
}
.cardcontain {
width: 100%;
display: flex;
flex-direction: column;
position: relative;
justify-items: center;
align-items: center;
}
.card {
background-color: white;
margin: auto;
width: 90%;
border-radius: 8px;
height: fit-content;
display: flex;
padding: 10px;
margin: 20px 0 20px 0;
}
.card:hover {
outline: solid rgb(55 112 255) 2px;
box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
cursor: pointer;
}
.ele {
margin: 10px;
font-size: 20px;
}
.imgsec {
flex: 2;
display: flex;
align-items: center;
justify-content: center;
}
.eimg {
height: 200px;
width: 200px;
}
.detsec {
flex: 5;
border-left: 2px solid #bababa;
}
.details {
display: inline-grid;
grid-template-columns: auto auto;
width: 80%;
margin: 10px;
}
.extrasec {
flex: 3;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-left: 2px solid #bababa;
}
.eimg {
width: 150px;
height: 150px;
}
.ele:not(b) {
color: #808689;
}
i {
color: #233136;
}
b {
color: black;
}
.ename {
font-size: 24px;
padding: 5px;
margin: 10px 0 0 15px;
color: rgb(55 112 255);
}