-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
206 lines (170 loc) · 3.8 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
html {
width: 100%;
height: 100%;
}
body {
background: linear-gradient(45deg, #F45905 0%, #FB9224 50%, #FBE555 100%);
color: rgba(0, 0, 0, 0.6);
font-family: "Bodoni MT", "Times New Roman", serif;
font-size: 14px;
line-height: 1.2em;
}
* {
box-sizing: border-box;
}
input[type=text], select {
outline: none;
display: block;
background: rgba(0, 0, 0, 0.1);
width: 90%;
border: 0;
border-radius: 4px;
box-sizing: border-box;
padding: 12px 20px;
color: rgba(0, 0, 0, 0.6);
font-family: inherit;
font-size: inherit;
font-weight: 500;
line-height: inherit;
-webkit-transition: 0.3s ease;
transition: 0.3s ease;
}
input[type=button] {
outline: none;
background: #2A1A5E;
width: 98%;
margin:10px 0px;
border: 0;
border-radius: 4px;
padding: 5px 0px;
color: #FFFFFF;
font-family: inherit;
font-size: inherit;
font-weight: 500;
line-height: 30px;
text-transform: uppercase;
cursor: pointer;
}
input[type=button]:hover {
background-color: #FB9224;
}
.container {
border-radius: 5px;
background-color: #fff;
padding: 50px;
}
.col-25 {
float: left;
width: 25%;
margin-top: 12px;
}
.col-40 {
float: left;
width: 40%;
margin-top: 12px;
}
.col-60 {
float: left;
width: 60%;
margin-top: 12px;
}
.col-50 {
float: left;
width: 50%;
margin-top: 12px;
}
.col-75 {
float: left;
width: 75%;
margin-top: 12px;
}
.col-100 {
float: left;
width: 100%;
margin-top: 12px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
.form {
z-index: 15;
position: relative;
background: #FFFFFF;
width: 60%;
border-radius: 4px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
box-sizing: border-box;
margin: 100px auto 10px;
overflow: hidden;
}
.form p{
display: block;
margin: 10px 0;
color: rgba(0, 0, 0, 0.6);
font-size: 16px;
font-weight: 500;
}
.form label{
display: inline-block;
margin: 0px;
color: rgba(0, 0, 0, 0.6);
font-size: 16px;
font-weight: 500;
line-height: 2;
}
.form-header {
margin: 2px;
}
.form-header h1 {
padding: 2px 0;
color: #2A1A5E;
text-align: center;
font-size: 24px;
font-weight: 700;
text-transform: uppercase;
}
/* -------------------styling the sliser input bar ----------------------*/
.range {
-webkit-appearance: none;
-moz-appearance: none;
position: relative;
left: 50%;
top: 50%;
width: 250px;
margin-top: 20px;
transform: translate(-50%, -50%);
}
input[type=range]::-webkit-slider-runnable-track {
-webkit-appearance: none;
background: #FBE555;
background: linear-gradient(45deg, #F45905 0%, #FBE555 25%, #FB9224 51%, #F45905 100%);
height: 4px;
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
border: 2px solid;
border-color: #2A1A5E;
border-radius: 50%;
height: 25px;
width: 25px;
max-width: 80px;
position: relative;
bottom: 11px;
background-color: #F45905;
cursor: -webkit-grab;
-webkit-transition: border 1000ms ease;
transition: border 1000ms ease;
}
/* ---------------END styling the sliser input bar ----------------------*/
@media screen and (max-width: 600px) {
.col-25, .col-75, .col-40, .col-60, .col-50, .col-100, input[type=range], input[type=button] {
width: 100%;
margin-top: 0;
}
}