forked from ietebitmesra/Hacktoberfest_21
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
174 lines (148 loc) · 2.41 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/* USE BETTER COLOUR COMBINATIONS :D */
/* Give proper spacing and styling to components */
/* Use Proper Fonts */
body {
padding-top: 1rem;
margin: 0;
background-color: #2D6967 ;
height: auto;
}
a.logo {
font-size: 2.5em;
font-family: 'Dancing Script', cursive;
}
form#searchForm {
width: 55%;
/* height: 100px; */
padding: 10px 20px;
display: flex;
justify-content: space-between;
/* align-items: center; */
margin: 2rem auto 0;
background: white;
border-radius: 2rem;
overflow: hidden;
}
input#searchText {
/* width: 60%; */
border: none;
width: 100%;
border-radius: 30px;
padding: 7px;
outline: none;
}
button#searchBtn {
outline: none;
background: inherit;
border: none;
}
.searchIcon {
font-size: 1.5em;
font-weight: 400;
}
@media (max-width: 979px) {
body {
padding-top: 0px;
}
}
.navbar{
background-color: #2D6967 ;
}
.navbar-brand{
color: white;
}
.navbar-nav li a{
color: white;
}
.main-area{
display: flex;
height: 80vh;
}
#searchBar{
margin-top: 20vh;
}
.container1{
height: 90%;
width: 90%;
margin: 40px auto;
padding: 30px;
border-radius: 40px;
border-style: solid;
border-color: black;
}
.container-fluid{
height: 90%;
width: 90%;
margin-top: 40px;
padding: 30px;
border-radius: 40px;
background: #e6e7ee;
box-shadow: 3px 3px 6px #b8b9be,-3px -3px 6px #fff;
}
.card{
border-radius: 20px;
/* box-shadow: 3px 3px 6px #b8b9be, -3px -3px 6px #fff; */
background-color: #48A9A6;
margin: 20px auto 0;
/* box-shadow: 0 3px 10px rgb(0 0 0 / 0.2); */
}
.card-img, .card-img-top{
border-radius: 20px;
}
.card-img-top {
width: 100%;
height: 280px;
object-fit: cover;
}
/* #searchForm{
margin-top:50px;
} */
.hidden{
display: none;
}
#searchResult{
margin: 20px;
padding: 20px
}
#sec-ul li{
display: inline;
margin-right: 30px;
}
#sec-ul li a{
color: #fff;
}
#sec-ul li a:hover{
background-color: #007bff;
border-radius: 30px;
padding: 5px 20px;
}
.active-b{
background-color: #007bff;
border-radius: 30px;
padding: 5px 20px;
}
table{
margin-top: 35px;
}
td, th{
border: 1px solid white;
color: #b3b3b3;
}
#sec-info{
margin-top:50px;
}
.container .head-row {
display: flex;
justify-content: space-between;
flex-direction: row;
flex-wrap: nowrap;
}
@media (max-width: 979px) {
.container .head-row {
justify-content: flex-start;
margin: 0 20px;
}
form#searchForm {
width: 80%;
}
}