-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
165 lines (146 loc) · 3.25 KB
/
main.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
165
body {
background-color: #22232a;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
li.list-header, li.list-entry{
display : table-row;
}
li.list-entry {
border-top: 1px solid #ccc;
}
span.list-header{
background: #dddcd5;
border: 1px solid #fff;
}
span.list-item {
color:#fff;
display: table-cell;
padding: 3px;
border: 1px solid #4f4f4f;
}
span.list-item-header {
color:#000;
display: table-cell;
padding: 3px;
}
#results {
position: relative;
right: 1.2em;
}
#title {
text-align: center;
width: 100%;
font-size: 60px;
color: #dddcd5;
transition: all 0.2s ease-in-out;
}
/* center made-with */
#made-with {
position: fixed;
bottom: 0;
padding-bottom: 5px;
font-size: 11px;
color: #fff;
z-index: 1000;
text-align: center;
width: 100%;
text-decoration: dotted;
left: 0;
background-color: black;
}
a {
color: #8ab1db;
transition: all 0.2s ease-in-out;
}
a:hover {
color: #3784d6;
}
a.made-with-link {
color: #fff;
text-decoration: none;
transition: all 0.2s ease-in-out;
}
/* zoom on hover */
a.made-with-link:hover {
color: #7c7c7c;
font-size: 14px;
}
#searchboxparrent {
text-align: center;
width: 100%;
}
@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");
#searchstatus{
position: relative;
top: 50px;
display: flex;
justify-content: center;
color: #fff;
}
.search-box {
border: solid 5px black;
display: inline-block;
position: relative;
border-radius: 50px;
}
.search-box input[type="text"] {
font-family: Raleway, sans-serif;
font-size: 20px;
font-weight: bold;
width: 50px;
height: 50px;
padding: 5px 40px 5px 10px;
border: none;
box-sizing: border-box;
border-radius: 50px;
transition: width 800ms cubic-bezier(0.68, -0.55, 0.27, 1.55) 150ms;
background: #dddcd5;
}
.search-box input[type="text"]:focus {
outline: none;
}
.search-box input[type="text"]:focus, .search-box input[type="text"]:not(:placeholder-shown) {
width: 300px;
transition: width 800ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
background: #dddcd5;
}
.search-box input[type="text"]:focus + button[type="reset"], .search-box input[type="text"]:not(:placeholder-shown) + button[type="reset"] {
bottom: 13px;
right: 10px;
transition: bottom 150ms ease-out 800ms, right 150ms ease-out 800ms;
}
.search-box input[type="text"]:focus + button[type="reset"]:after, .search-box input[type="text"]:not(:placeholder-shown) + button[type="reset"]:after {
top: 0;
right: 10px;
opacity: 1;
transition: top 150ms ease-out 950ms, right 150ms ease-out 950ms, opacity 150ms ease 950ms;
}
.search-box button[type="reset"] {
background-color: transparent;
width: 25px;
height: 25px;
border: 0;
padding: 0;
outline: 0;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
bottom: -13px;
right: -15px;
transition: bottom 150ms ease-out 150ms, right 150ms ease-out 150ms;
}
.search-box button[type="reset"]:before, .search-box button[type="reset"]:after {
content: "";
height: 25px;
border-left: solid 5px black;
position: absolute;
transform: rotate(-45deg);
}
.search-box button[type="reset"]:after {
transform: rotate(45deg);
opacity: 0;
top: -20px;
right: -10px;
transition: top 150ms ease-out, right 150ms ease-out, opacity 150ms ease-out;
}