This repository has been archived by the owner on Sep 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
150 lines (140 loc) · 2.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
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
/* Incorporates some code from normalize.css v8.0.1, | MIT License */
/* setup */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
-webkit-font-smoothing: antialiased;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #111111;
background-color: #f3f5f0;
}
/* input */
input {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
height: 3rem;
border: 1px solid #cd666666;
padding: 8px;
box-shadow: 1px 1px 2px #ddd;
}
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/* item cards */
ul {
list-style: none;
padding: 0;
}
li {
width: calc(100vw - 32px);
max-width: 600px;
background: #fefefe;
margin: 16px 0;
padding: 8px;
box-shadow: 1px 1px 2px #ddd;
transition: all .2s ease;
}
li:hover {
box-shadow: 2px 2px 3px #ccc;
transition: all .2s ease;
}
/* links */
a {
background-color: transparent;
transition: color .2s;
color: #aba730;
text-decoration: none;
}
a:link,
a:visited {
color: #9b9609;
}
a:hover {
color: #87841b;
}
a:active {
transition: color .2s;
color: #1b77c6;
}
/* filter */
.filtering {
display: grid;
align-items: center;
gap: 10px;
grid-template-columns: 2fr 1fr;
}
.filtering button {
border-radius: 10rem;
border: 1px solid #e6af7c;
width: -webkit-fill-available;
height: 3rem;
color: #fff;
letter-spacing: 1px;
background-color: #cd6666;
transition: 200ms;
}
.filtering:hover button {
background-color: #b14848;
}
/* misc */
header {
padding: 0.75em 0;
width: calc(100vw - 32px);
max-width: 600px;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
border-bottom: 2px solid #eee;
color: #cd6666;
}
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
noscript {
border: 2px solid #cd6666;
}
#scroll-top {
width: 4rem;
height: 3rem;
border: 2px solid #0000;
border-radius: 25px;
display: flex;
align-items: center;
place-content: center;
position: fixed;
bottom: 0;
right: 0;
margin: 20px;
background-color: #cd6666;
color: #fff;
letter-spacing: 1px;
transition: 300ms;
}
#scroll-top:hover {
background-color: #b14848;
}