forked from hs-07/Clock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.css
231 lines (216 loc) · 4.26 KB
/
contact.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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
*{
margin: 0%;
padding: 0;
}
body {
top: 0;
left: 0;
width: 100%;
height: 770px;
background: linear-gradient(
45deg,
#ff0000,
#ffc107 50%,
#ffc107 50%,
#ff0000
)no-repeat;
}
.navigation {
display: flex;
align-items: center;
justify-content: left;
background-color: #36a2ef;
box-shadow: 0 4px 7px 0 rgb(0 0 0 / 40%);
z-index: 10;
}
.navigation ul {
display: flex;
align-items: center;
justify-content: left;
margin: 3px;
padding: 3px;
font-size: 20px;
text-shadow: 0.2px 0.2px 3px black;
}
.navigation label {
font-family: "Acme", sans-serif;
font-size: 40px;
}
.navigation ul li {
margin-top: 3px;
margin-bottom: 3px;
margin-left: 15px;
padding: 3px 5px;
list-style: none;
}
.navigation ul li a {
text-decoration: none;
font-family: "Fredoka One", cursive;
color: whitesmoke;
transition: color 0.3s;
}
.navigation ul li a.active {
text-decoration: none;
color: rgb(255, 0, 140);
}
.navigation ul li a:hover {
text-decoration: overline;
color: rgb(255, 0, 140);
}
.wrapper {
height: 12vh;
/*This part is important for centering*/
display: flex;
align-items: center;
justify-content: center;
margin: 10px;
}
.heading {
width: 11ch;
animation: typing 2s steps(22), blink 0.5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-family: "Acme", sans-serif;
font-size: 4em;
text-shadow: 0.2px 0.2px 3px black;
margin-top: 12px;
}
@keyframes typing {
from {
width: 0;
}
}
@keyframes blink {
50% {
border-color: transparent;
}
}
form{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 30px;
}
.box{
display: flex;
justify-content: center;
flex-direction: column;
background: radial-gradient(#ff000029, rgb(255 255 255 / 29%));
box-shadow: 0px 0px 10px -2px black;
border-radius: 12px;
}
.box .query{
text-align: center;
letter-spacing: 1px;
font-family: 'Kaushan Script', cursive;
margin: 8px;
padding: 4px;
font-size: 26px;
}
input{
margin: 10px 31px;
background: transparent;
outline: none;
padding: 8px;
border-radius: 20px;
color: rgb(0, 0, 0);
width: 275px;
font-family: "Acme", sans-serif;
border: none;
box-shadow: 0px 0px 4px 0px black;
}
textarea{
margin: 10px 53px;
max-width: 240px;
background: transparent;
border: 1.75px solid;
border-radius: 15px;
padding: 5px;
font-family: "Acme", sans-serif;
border: none;
box-shadow: 0px 0px 4px 0px black;
}
button.btn {
border: 2px solid;
background: transparent;
margin: 8px 125px;
padding: 7px 30px;
border-radius: 20px;
transition: background 0.3s , color 0.3s;
font-family: "Acme", sans-serif;
border: none;
box-shadow: 0px 0px 10px -2px black;
}
button.btn:hover{
background: rgb(255 67 3);
color: whitesmoke;
}
/* Media query */
@media (max-width:430px){
body{
height: 100%;
width: 100%;
background-attachment: fixed;
}
nav.navigation {
width: 100%;
height: 60px;
}
.navigation ul {
margin: auto;
font-size: 19px;
align-items: center;
justify-self: center;
}
.navigation label {
font-size: 40px;
}
.wrapper {
height: 100%;
width: 96%;
}
form {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 30px;
margin-bottom: 73px;
}
.heading {
font-size: 51px;
text-shadow: 0.2px 0.2px 3px black;
}
.box {
width: 80%;
display: flex;
justify-content: center;
align-items: center;
}
input {
margin: 10px 31px;
background: transparent;
outline: none;
padding: 8px;
border-radius: 20px;
color: rgb(0, 0, 0);
width: 222px;
font-family: "Acme", sans-serif;
border: none;
box-shadow: 0px 0px 4px 0px black;
}
textarea {
margin: 10px 53px;
/* max-width: 240px; */
background: transparent;
border: 1.75px solid;
border-radius: 15px;
padding: 5px;
font-family: "Acme", sans-serif;
border: none;
box-shadow: 0px 0px 4px 0px black;
min-width: 225px;
}
}