-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (92 loc) · 1.5 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
body {
margin: 2em;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: #000000;
background-color: #fff;
font-size: 1rem;
line-height: 1.6;
}
p {
font-size: 1rem;
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
gap: 1rem;
flex-wrap: wrap;
overflow-x: hidden;
}
a {
color: #004799;
background-color: #fff;
text-decoration: underline;
}
a:hover {
color: #000000;
background-color: #fff;
}
nav a {
font-size: 1.25rem;
padding: 0.3em 0.5em;
}
@media (max-width: 768px) {
nav ul {
flex-direction: column;
gap: 0.5rem;
}
nav a {
width: 100%;
text-align: left;
}
}
img {
margin-top: 2rem;
max-width: 100%;
height: auto;
display: block;
}
div {
margin-top: 1em;
}
header div {
display: flex;
gap: 0.5em;
}
input {
padding: 0.5em;
font-size: 1rem;
width: 100%;
max-width: 12.5rem;
}
.search-result {
background-color: #f0f0f0;
color: #000000;
padding: 1em;
border-radius: 0.25em;
margin-bottom: 1em;
}
.search-result h2 {
font-size: 1.2rem;
}
.search-result p {
background-color: #f0f0f0;
color: #555;
}
#search-results {
display: flex;
flex-direction: column;
gap: 1rem;
}
#search-results p {
margin: 0;
padding: 0.5rem;
background-color: #f9f9f9;
border: 0.25rem solid #3a3737;
border-radius: 1rem;
}
.highlight {
background-color: yellow;
color: #000;
font-weight: bold;
}