-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form.css
122 lines (120 loc) · 2.37 KB
/
Form.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
*{
color:black;
padding: 0%;
margin: 0%;
font-family: 'Franklin Gothic Medium' Arial, sans-serif;
box-sizing: border-box;
}
.body{
background-color: #d1cfcf;
height: 1000px;
padding: 60px;
}
.content{
height: 80%;
max-width: 100%;
background-color: #c9d4f3;
border: 5px solid white;
border-radius: 15px;
margin: auto;
display: flex;
flex-direction: row;
position: relative;
}
img{
width: 50%;
height: auto;
margin-top: 13px;
margin-left: 13px;
border-radius: 15px;
background-size: cover;
}
.registration{
display: flex;
position: absolute;
top: 0;
right: 2%;
margin-top: 9px;
font-size: 0.9rem;
}
.registration a{
text-decoration: none;
color: #3232b9;
margin-left: 2px;
}
.registration a:hover{
color: #2020bb;
}
.headingsection {
width: 50%;
margin: auto;
text-align: center;
position: absolute;
top: 30%;
bottom: 70%;
left: 50%;
}
.headingsection p{
padding-top: 15px;
}
form{
margin: auto;
}
.entries{
margin-top: 15px;
margin-bottom: 15px;
}
#username, #password {
margin-top: 9px;
height: 30px;
padding: 8px;
width: 103%;
border: 0.2px solid wheat;
border-radius: 9px;
color: black;
}
cursor{
cursor: pointer;
}
.forgetpassword{
font-size: 1rem;
margin-top: 15px;
}
.forgetpassword a{
text-decoration: none;
color: #3232b9;
}
.forgetpassword a:hover{
color: #0c0c7c;
}
.btn{
margin-top: 20px;
background-color: rgb(250, 68, 65);
width: 100%;
border: 2px solid rgb(250, 68, 65);
border-radius: 9px;
height: 30px;
color: #c9d4f3;
font-weight: bold;
font-size: 1rem;
}
.btn:hover{
background-color: rgb(241, 38, 35);
}
/*Making Resposiveness Code*/
/* Adjust layout for screens smaller than 600px */
@media (max-width: 700px) {
.registration {
position: static;
text-align: center;
margin-top: 20px; /* Adjust margin for better spacing */
}
.headingsection {
position: static;
padding: 0; /* Remove padding */
margin-top: 20px; /* Adjust margin for better spacing */
}
img {
border-radius: 0; /* Remove border radius for better appearance */
}
}