-
Notifications
You must be signed in to change notification settings - Fork 134
/
style.css
76 lines (76 loc) · 1.4 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
position: relative;
font-family: "Joan", sans-serif;
}
body{
background-color: #f7f7f7;
padding: 10px;
}
nav{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
nav h2{
color: #240B36;
}
.search{
width: 100%;
max-width: 400px;
}
.search input{
width: 100%;
padding: 6px 4px;
font-size: 16px;
border: 2px solid #240B3622;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
}
.container{
display: flex;
flex-direction: row;
justify-content: center;
align-items: stretch;
flex-wrap: wrap;
gap: 10px;
margin: 10px 0 0 0;
}
.results{
flex: 1;
min-width: 260px;
box-shadow: 0px 0px 2px 2px #240B3622;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
}
.results h3{
color: #240B36;
}
.results p{
margin: 6px 0;
line-height: 24px;
color: #4F6D7A;
}
.results a{
background-color: #4F6D7A;
width: fit-content;
padding: 4px 12px;
color: #f7f7f7;
text-decoration: none;
}