-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTutorStyle.css
More file actions
108 lines (90 loc) · 1.69 KB
/
Copy pathTutorStyle.css
File metadata and controls
108 lines (90 loc) · 1.69 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
.alltutors h2{
font-size: 2rem;
color:black;
text-align: center;
position: relative;
top: 1.3rem;
}
.grid-container-Tutors {
display: flex;
overflow: scroll;
justify-content: space-between;
list-style-type:none;
gap : 3%;
margin-left: 3em;
margin-right: 3em;
}
.card1 {
position: relative;
box-shadow: 0rem 0rem 0.5rem #fff5f5;
padding: 0.5rem;
border-radius: 0.5rem;
text-align: center;
overflow:hidden;
background-color: #99c9ff;
flex: 0 0 calc(20% - 2em);
width: 300%;
margin-bottom: 0.5em;
}
.card1::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2.5rem;
background-color: #0079ff;
border-radius: 0.5rem 0.5rem 0rem 0rem;
z-index: 1;
}
.card1 h3 {
position: absolute;
top: 0;
left: 0;
right: 0;
margin: 0;
padding: 0.8em;
font-size: 1rem;
color: white;
text-align: center;
z-index: 2;
}
.card ul {
font-size: 1rem;
z-index: 2;
}
.leftAline{
text-align: left;
position: relative;
bottom: 1rem;
}
.card1 img {
width: 70%;
height: 45%;
border: 0.01rem solid #ccc;
border-radius: 50%;
z-index: 2;
}
#sort{
width: 10%;
position: relative;
left: 65rem;
}
.dark-mode .alltutors h2,
.dark-mode .card1 h4,
.dark-mode ul li {
color: white;
}
.dark-mode .card1::before {
background-color: #234872;
}
.dark-mode .card1 {
background-color: #6689b2;
}
.dark-mode .card1 h3 {
color: #bcdafa;
}
.dark-mode #sort {
background-color:#333;
color: white;
}