This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
client.css
164 lines (144 loc) · 2.29 KB
/
client.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
body {
font-family: -apple-system, BlinkMacSystemFont, San Francisco, Helvetica Neue,
Helvetica, Ubuntu, Roboto, Noto, Segoe UI, Arial, sans-serif;
word-wrap: break-word;
margin: 0;
min-height: 100vh;
font-size: 20px;
}
.container {
display: flex;
min-height: 100vh;
}
.search {
width: 80vw;
margin: 5em 5em 0;
}
input {
font-size: 3em;
font-family: Roboto, Titillium, Inconsolata, sans-serif;
width: 100%;
line-height: 1.5em;
display: inline-block;
padding: 1em 2em;
}
textarea,
input,
input,
.uneditable-input {
border: solid 4px rgba(0, 0, 0, 0.6);
background: #ffffff;
}
textarea:focus,
input:focus,
input[type]:focus,
.uneditable-input:focus {
border: solid 4px #0049d7;
outline: 0 none;
}
#query {
padding: 0.5rem 1rem;
color: black;
}
.result-list {
font-size: 1em;
padding: 0;
list-style: none;
text-align: left;
}
.result-div {
text-align: center;
}
.result-div li {
margin: 1em;
}
.result-div h1 {
font-size: 1.5rem;
margin: 0 0 1em;
}
.result-div a {
text-decoration: none;
display: block;
color: #333333;
}
.result-div a:hover {
color: #0049d7;
text-decoration: underline;
}
.result-div a:focus,
.result-div a:active {
color: #000000;
}
.result-div a:visited {
color: #6b389b;
}
.hidden {
display: none;
}
.ratings {
text-align: center;
width: 50vw;
padding: 2rem;
}
.sidebar {
background: #f0f0f0;
display: block;
padding: 1em 2em 0;
position: sticky;
min-height: 100%;
}
.sidebar h1,
.mobile-view h1 {
font-size: 5rem;
margin-bottom: -1rem;
}
.local-storage-list {
max-height: inherit;
list-style: none;
}
@media only screen and (max-width: 1599px) {
.search {
margin: 2em 2em 0;
}
.sidebar h1 {
margin-top: 2rem;
}
}
@media only screen and (max-width: 999px) {
body {
font-size: 14px;
}
.sidebar {
display: none;
}
.mobile-view {
display: block;
}
.mobile-view.hidden {
display: none;
}
.ratings {
display: none;
}
.search {
margin: 4em 1em 0;
width: calc(100% - 2em);
}
.query-div input,
#query {
font-size: 1.3em;
width: 100%;
}
.result-div h1 {
font-size: 1.2rem;
margin: 0 0 1em;
}
}
@media only screen and (min-width: 1000px) {
.sidebar {
display: block;
}
.mobile-view {
display: none;
}
}