-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
96 lines (94 loc) · 1.86 KB
/
styles.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
:root {
--body-color: #9471ab;
--form-color: #360657;
--font-color: #e8d5f5;
--input-color: #faf7fc;
--shadow-color: #030005;
--register-color: dodgerblue;
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 16pt;
color: var(--font-color);
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--body-color);
}
form {
width: 30rem;
height: 60vh;
padding: 4rem;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
border-radius: 8px;
background-color: var(--form-color);
box-shadow: 10px 0px 13px -7px var(--shadow-color), -10px 0px 13px -7px var(--shadow-color);
}
h1 {
text-align: center;
align-self: center;
}
label, input {
display: block;
}
label {
position: relative;
top: 2rem;
}
span {
display: inline-block;
position: relative;
transition: all 500ms ease-out;
}
span.wave {
transform: translateY(-2rem);
}
input {
font-size: 18pt;
height: 2rem;
width: 30rem;
box-shadow: none;
outline: none;
border: none;
color:var(--input-color);
background-color: var(--form-color);
border-bottom: 2pt solid var(--font-color);
}
input[type="submit"] {
width: 30.5rem;
height: 2.5rem;
background-color: var(--font-color);
color: var(--form-color);
cursor: pointer;
}
a {
color: var(--register-color);
}
@media screen and (max-width: 600px) {
body {
font-size: 14pt;
}
form {
width: 60vw;
padding: 2rem;
}
h1 {
font-size: 2rem;
}
input {
width: 60vw;
}
input[type="submit"] {
width: 60vw;
margin-top: 1rem;
}
}