-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
149 lines (128 loc) · 2.17 KB
/
style.css
File metadata and controls
149 lines (128 loc) · 2.17 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body,
html {
height: 100vh;
width: 100vw;
font-family: Arial, Helvetica, sans-serif;
}
.container {
margin: 0 auto;
max-width: 1100px;
}
nav {
padding: 1rem;
background-image: linear-gradient(45deg, purple, indigo);
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
}
nav .container {
display: flex;
justify-content: space-between;
align-items: center;
}
nav .container ul {
display: flex;
list-style: none;
}
.navbar a {
color: white;
text-decoration: none;
}
.logo {
font-size: 2rem;
}
#sign-up {
height: auto;
width: 400px;
padding: 2rem 2rem;
display: flex;
justify-content: center;
align-items: center;
background: #ccc;
margin-top: 5rem;
border-radius: 10px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.form-header {
text-align: center;
margin-bottom: 2rem;
color: tomato;
font-size: 2rem;
}
form {
width: 100%;
height: 100%;
}
.form-group {
font-size: 1.2rem;
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-control {
width: 100%;
height: 2.5rem;
outline: none;
font-size: 1.2rem;
border: 1px solid #999;
border-radius: 7px;
padding: 0 10px;
}
.action {
text-align: center;
}
button[type="submit"] {
padding: 10px;
margin-right: 10px;
font-size: 1rem;
border: none;
background: tomato;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
outline: none;
}
.error {
color: red;
}
.mandatory::before {
content: "*";
color: red;
margin-right: 5px;
}
.msg-display {
position: fixed;
top: 10%;
right: 2%;
width: 300px;
height: 70px;
display: flex;
padding-left:2rem;
align-items: center;
color: white;
border-radius: 10px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
animation: fade-up 0.5s ease forwards;
}
.error-msg{
background-color: red;
}
.success-msg{
background-color: green;
}
@keyframes fade-up {
0% {
opacity: 0;
top: 20%;
}
100% {
opacity: 0.7;
top: 10%;
}
}