-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbase_style.css
More file actions
56 lines (49 loc) · 898 Bytes
/
base_style.css
File metadata and controls
56 lines (49 loc) · 898 Bytes
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
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body{
background: #f2f2f2;
font-family: 'Open Sans', sans-serif;
}
.search {
width: 100%;
position: relative;}
.searchTerm {
float: left;
width: 100%;
border: 5px solid #2B72C5;
padding: 5px;
height: 36px;
font-size: 20px;
border-radius: 5px;
outline: none;
color: #9DBFAF;
font-weight:bold;
}
.searchTerm:focus{
color: #000000;
}
.searchButton {
position: absolute;
right: -34px;
width: 40px;
height: 36px;
border: 1px solid #2B72C5;
background: #2B72C5;
text-align: center;
color: #fff;
border-radius: 5px;
cursor: pointer;
font-size: 20px;
}
/*Resize the wrap to see the search bar change!*/
.wrap{
width: 30%;
min-width: 300px;
position: absolute;
top: 18%;
left: 50%;
transform: translate(-50%, -50%);
}
.searchResults{
top: 30%;
position: absolute;
}