-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
118 lines (97 loc) · 1.72 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 1rem;
margin: 0;
padding: 0;
display: flex;
gap: 2rem;
min-height: 100vh;
}
a {
color: #4042e3;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: #12137b;
}
button {
font-size: inherit;
font-family: inherit;
color: #fff;
background-color: #4042e3;
padding: 1rem;
border-radius: 1rem;
border-width: 0;
min-width: 30ch;
box-shadow: 0px 1px 3px #313131;
}
button:hover {
cursor: pointer;
opacity: 0.8;
}
button:active {
outline: none;
box-shadow: inset 0px 1px 3px #12137b;
}
.left-side {
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
padding: 0.5rem 1rem;
min-width: 28rem;
background: url('images/background.jpg') center no-repeat;
background-size: 100%;
}
.right-side {
display: flex;
flex-direction: column;
justify-content: center;
gap: 2rem;
}
.right-side .text {
margin-right: 1rem;
}
.form-container {
background-color: #ececec;
}
.signup-form {
display: flex;
flex-wrap: wrap;
gap: 1rem;
padding: 1rem;
box-shadow: 0px 1px 3px #313131;
border-radius: 5px 0px 0px 5px;
}
.form-element {
display: flex;
flex-direction: column;
}
.form-element p {
margin: 0;
color: #e21d1f;
display: none;
}
label {
font-size: 0.7rem;
}
input {
min-width: 30vw;
}
input:focus {
outline:none;
border: 3px solid #4042e3;
}
input:not(:focus):invalid {
color: #e21d1f;
border: 2px solid #e21d1f;
}
input:not(:focus):invalid + p {
display: initial;
}