-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (68 loc) · 1.17 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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
:root {
--primary-color: #00369a;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 1.8;
background-color: #fff;
margin: 0 20px;
}
p {
color: grey;
}
a {
color: var(--primary-color);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 5px 0;
margin: 0 auto;
max-width: 768px;
}
main {
margin: 0 auto;
max-width: 768px;
}
h1 {
padding: 5px 0;
font-size: 1.7rem;
color: #111;
text-align: center;
}
input[type="text"] {
padding: 10px 20px;
font-size: 16px;
border: solid 2px #f0f0f0;
border-radius: 50px;
outline: none;
width: 100%;
}
#searchResult {
margin-top: 1rem;
}
#searchResult article {
padding: 0;
margin: 20px 0;
}
#searchResult article h2 {
font-size: 1.1rem;
}
.highlight {
background-color: #fff6ea;
font-weight: bold;
padding: 5px;
}