-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
114 lines (102 loc) · 2.26 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
body {
background-color: #8EC5FC;
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
padding: 3rem;
width: 400px;
}
input[type="search"] {
-webkit-appearance: none !important;
background-clip: padding-box;
background-color: white;
vertical-align: middle;
border-radius: 0.25rem;
border: 1px solid #e0e0e5;
font-size: 1rem;
width: 100%;
line-height: 2;
padding: 0.375rem 1.25rem;
-webkit-transition: border-color 0.2s;
-moz-transition: border-color 0.2s;
transition: border-color 0.2s;
}
input[type="search"]:focus {
transition: all 0.5s;
box-shadow: 0 0 40px #ea98bdac;
border-color: #e4a4eb;
outline: none;
}
form.search-form {
display: flex;
justify-content: center;
}
label {
flex-grow: 1;
flex-shrink: 0;
flex-basis: auto;
align-self: center;
margin-bottom: 0;
}
input.search-field {
margin-bottom: 0;
flex-grow: 1;
flex-shrink: 0;
flex-basis: auto;
align-self: center;
height: 51px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
input.search-submit {
height: 51px;
margin: 0;
padding: 1rem 1.3rem;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-top-right-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
font-family: "Font Awesome 5 Free";
font-size: 1rem;
}
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}
.button {
display: inline-block;
font-weight: 600;
font-size: 0.8rem;
line-height: 1.15;
letter-spacing: 0.1rem;
text-transform: uppercase;
background: blueviolet;
color: white;
border: 1px solid transparent;
vertical-align: middle;
text-shadow: none;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
}
.button:hover,
.button:active,
.button:focus {
cursor: pointer;
background: gray;
color: #292826;
outline: 0;
}
.heading {
text-align: center;
}