-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
113 lines (90 loc) · 1.55 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
* {
box-sizing: inherit;
}
html {
box-sizing: border-box;
}
body{
font-family: 'Noto Sans Display', sans-serif;
font-weight: 300;
background-color: #4a4e69;
color: #f2e9e4;
letter-spacing: 2px;
}
header{
padding: 2rem 0;
background-color: #22223b;
font-size: 1.25rem;
}
body, h1{
margin: 0;
}
#header__title{
font-weight: 400;
text-align: center;
padding-bottom: 1rem;
}
button, input{
display: block;
}
button{
border: none;
padding: .5em 1em;
border-radius: 50px;
flex-basis: 25%;
max-width: 100px;
margin-left: 10px;
background-color:#4a4e69;
color:#f2e9e4;
transition: background-color .25s ease-in;
}
button:hover{
background-color: #434658;
}
#searchForm {
display: flex;
align-items: center;
justify-content: center;
}
figure{
transform: scale(0);
opacity: .25;
transition: transform .25s ease-in-out, opacity .75s ease-in-out;
}
figcaption{
padding: 10px 0;
}
.animate{
opacity: 1;
transform: scale(1);
}
.animate:hover{
transform: translateY(-10px);
box-shadow: 0px 10px 15px -3px rgba(127, 129, 236, 0.5);
}
input {
flex-basis: 70%;
max-width: 350px;
}
#searchForm * {
font-family: inherit;
}
.container{
width: 80%;
max-width: 1100px;
margin: 0 auto;
}
main{
padding-top: 5rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
@media (min-width: 1024px){
input{
max-width: 500px;
}
#header__title{
font-size: 3rem;
}
}