-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
144 lines (138 loc) · 2.23 KB
/
style.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#search_results {
display: grid;
grid-template-columns: repeat(4, 17%);
margin-left: 9%;
grid-gap: 1%;
justify-content: space-evenly;
margin-top: 3%;
cursor: pointer;
}
#search_results div:hover {
transform: scale(1.05);
}
.input {
display: flex;
}
.result {
display: flex;
cursor: pointer;
}
#search_results div {
margin-top: 5%;
}
/* ==================================== */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
}
.searchBox {
width: 40%;
display: flex;
}
.searchBox input {
width: 100%;
height: 30px;
margin-top: 3%;
/* border: none; */
}
.searchBox button {
width: 7%;
height: 30px;
margin-top: 3%;
border: none;
border-radius: 5px;
}
.material-icons {
color: grey;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
padding: 15px;
background-color: white;
position: fixed;
width: 100%;
}
.header_left img {
width: 100px;
margin-left: 15px;
cursor: pointer;
}
.header_left {
display: flex;
align-items: center;
}
.header i {
padding: 0px 7px;
cursor: pointer;
}
button {
margin-top: -9%;
}
#Main {
display: flex;
overflow: hidden;
}
.sidebar {
height: 100%;
background-color: white;
overflow-y: hidden;
overflow-x: hidden;
width: 30%;
position: fixed !important;
width: 200px;
margin-left: -1.2%;
margin-top: 3%;
}
.sidebar_categories {
width: 100%;
display: flex;
flex-direction: column;
margin: 15px;
margin-top: 15px;
}
.sidebar_category {
display: flex;
align-items: center;
padding: 12px 25px;
}
.sidebar_category span {
margin-left: 2%;
}
.sidebar_category:hover {
background: rgb(226, 215, 215);
cursor: pointer;
}
hr {
height: 1px;
background-color: rgb(190, 198, 204);
border: none;
}
#searchResults {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
#searchResults > div {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px;
}
h4 {
color: rgb(37, 34, 34);
margin-top: 0.5%;
}
p {
color: rgb(71, 67, 67);
margin-top: 0.5%;
font-size: 15px;
}