-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (93 loc) · 1.67 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body {
background-color: cornflowerblue;
}
.heading {
text-align: center;
margin: 30px 0;
font-size: 30px;
}
form {
padding-top: 40px;
background-color: aliceblue;
width: 50%;
height: 500px;
margin: 30px auto;
}
form .form-group {
display: flex;
justify-content: center;
align-items: center;
}
.form-group input {
width: 70%;
padding: 10px;
margin: 10px 0;
border: none;
background-color: transparent;
border-bottom: 1px solid black;
}
.form-group input:focus {
outline-color: lightblue;
}
.form-group .sbtn,
.form-group .rbtn {
margin: 50px 10px;
cursor: pointer;
width: 20%;
padding: 10px;
font-size: 15px;
background-color: cornflowerblue;
border: none;
border-radius: 10px;
}
.btn:hover {
border: 2px solid black;
background-color: white;
}
.fail {
color: red;
padding: 5px;
}
.success {
color: rgb(16, 16, 16);
padding: 5px;
}
p.error {
margin-left: 80px;
font-size: 14px;
}
@media screen and (max-width: 768px) {
form {
width: 80%;
height: auto;
margin: auto auto;
padding-top: 30px;
}
p.error {
margin-left: 85px;
font-size: 13px;
}
}
@media screen and (max-width: 450px) {
form {
padding-top: 20px;
width: 100%;
margin: auto 20px 20px auto;
}
.form-group .sbtn,
.form-group .rbtn {
margin: 50px 10px;
width: 40%;
padding: 15px;
}
p.error {
margin-left: 55px;
font-size: 13px;
}
}