-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
102 lines (101 loc) · 1.96 KB
/
index.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
body{
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header{
background-color: rgba(0, 149, 255, 0.8);
color: white;
padding:1em 0;
width: 96%;
margin: .5em auto;
border-radius: 50px;
box-shadow: 3px 3px 4px .5px rgba(0, 0, 0, 0.552);
transition: all ease-in-out .3s;
}
h1{
font-size: 1.5rem;
text-align: center;
}
header:hover{
/* animation: .75s 1 hei; */
box-shadow: 5px 5px 6px .25px rgba(0, 0, 0, 0.552);
transform: translate(-3px,-3px);
}
/* @keyframes hei{
0%{
transform:translateY(0px)
}
30%{
transform:translateY(-4px)
}
50%{
transform:translateY(-2px)
}
60%{
transform:translateY(2px)
}
70%{
transform: translateY(6px);
padding-bottom: 1.25em;
}
80%{
transform: translateY(10px), scaleY(.75);
padding-bottom: 1.4em;
}
90%{
transform: translateY(5px);
padding-bottom: 1.25em;
}
100%{
transform: translateY(2px);
padding-bottom: 1em;
}
} */
.hide{
transform: scaleY(0);
margin: auto;
display: block;
width: max-content;
padding: 0.5em;
border-top: 0px;
padding-top: 0;
transition: transform ease-in-out .3s;
transform-origin: top;
}
.show{
transform: scaleY(1);
}
p,input{
color:black;
margin:.5em auto;
display: block;
text-align: center;
}
#search{
margin-block-start: 2em;
}
input{
padding: 0.75em;
border: 4px solid rgba(0, 149, 255, 0.8);
border-radius: 50px;
width: 30%;
font-size: 1rem;
text-transform: uppercase;
color: rgba(0, 104, 179, 0.8);
font-weight: 600;
font-family: cursive;
letter-spacing: 1.5px;
}
input:focus{
background-color: rgba(0, 149, 255, 0.69);
color: white;
border-color:rgba(0, 149, 255, 0.69);
outline: 0;
}
#result{
background-color: bisque;
margin: auto;
padding: 1em;
}
#result>p{
padding: .25em;
}