Skip to content

Commit dd3dfa7

Browse files
committed
adding style to search bar and repo card
1 parent 12a1e80 commit dd3dfa7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

style.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,37 @@ a {
263263
margin-right: 30px;
264264
margin-bottom: 30px;
265265
}
266+
/* Search Bar */
267+
#searchBar{
268+
background-color: white;
269+
border: none;
270+
border: 2px solid #a6d2ff;
271+
display:block;
272+
width: 95%;
273+
margin: 20px auto;
274+
padding: 8px;
275+
font-size: 14px;
276+
outline: none;
277+
box-shadow: 6px 6px 3px #45889b;
278+
}
266279

267280
.nwoc-repo-card {
281+
display: block;
268282
margin-bottom: 10px;
269283
padding: 18px;
270284
max-width: 328px;
271285
height: 150px;
272286
border: 1px solid rgba(0,0,0,.2);
273287
border-radius: 5px;
274288
position: relative;
289+
box-shadow: 5px 7px 8px rgb(65 159 159);
290+
transform: scale(.99);
291+
transition: all .2s ease-in-out;
292+
}
293+
294+
.nwoc-repo-card:hover{
295+
box-shadow: 8px 10px 12px rgb(65 159 159);
296+
transform: scale(1);
275297
}
276298

277299
.nwoc-repo-card .repo-title {

0 commit comments

Comments
 (0)