forked from dhairyagothi/100_days_100_web_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.css
140 lines (109 loc) · 2.21 KB
/
home.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
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@400;700&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: IBM Plex Sans;
}
@media screen and (min-width: 600px) and (max-width: 899px) {
body {
padding-left: 100px;
padding-right: 100px;
}
}
@media screen and (min-width: 900px) and (max-width: 1199px) {
body {
padding-left: 200px;
padding-right: 200px;
}
}
@media screen and (min-width: 1200px) {
body {
padding-left: 400px;
padding-right: 400px;
}
}
#search-bar {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
}
#searchInput {
padding: 10px;
font-size: 16px;
border-radius: 5px;
width: 300px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: border-color 0.3s;
}
#no-projects {
text-align: center;
margin-top: 20px;
font-family: "Noto Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
font-size: 20px;
color: white;
}
body::-webkit-scrollbar {
width: 1em;
height: 1em;
}
body::-webkit-scrollbar-track {
box-shadow: inset 0px 0px 5px 3px #2356c3;
border-radius: 30px;
}
body::-webkit-scrollbar-thumb {
border-radius: 30px;
background: rgb(2, 0, 36);
background: linear-gradient(
188deg,
rgba(2, 0, 36, 1) 0%,
rgba(51, 51, 131, 1) 18%,
rgba(9, 9, 121, 1) 55%,
rgba(0, 212, 255, 1) 100%
);
}
@media screen and (max-width: 600px) {
::-webkit-scrollbar {
width: 1em;
height: 1em;
}
::-webkit-scrollbar-track {
box-shadow: inset 0px 0px 5px 3px #2356c3;
border-radius: 30px;
}
::-webkit-scrollbar-thumb {
border-radius: 30px;
background: rgb(2, 0, 36);
background: linear-gradient(
188deg,
rgba(2, 0, 36, 1) 0%,
rgba(51, 51, 131, 1) 18%,
rgba(9, 9, 121, 1) 55%,
rgba(0, 212, 255, 1) 100%
);
}
}
@media(max-width: 430px) {
#searchInput{
width: 250px;
margin-left: 17px;
}
}
@media(max-width:380px) {
#searchButton {
margin-right: 0;
}
}
@media(max-width: 330px) {
#searchInput{
width: 195px;
margin-left: 0px;
}
#projects{
padding: 9px;
}
}