-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
143 lines (143 loc) · 2.85 KB
/
index.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body{
background-image: linear-gradient(to right, rgb(22, 31, 67) , rgb(55, 134, 252) );
}
.login-form{
position: relative;
min-height: 100vh;
z-index: 0;
padding: 40px;
justify-content: center;
display: grid;
grid-template-rows: 1fr auto 1fr;
align-items: center;
}
#message{
color: red;
transition: ease-in-out;
}
.container{
max-width: 1000px;
margin: 0 auto;
}
.login-form h1{
text-align: center;
font-size: 2rem;
font-weight: 350;
color: #fff;
}
.login-form h2{
line-height: 40px;
margin-bottom: 5px;
font-size: 30px;
font-weight: 500;
color: rgb(68, 68, 68);
text-align: center;
}
.login-form .main{
position: relative;
display: flex;
margin: 30px 30px 30px;
}
.content{
flex-basis: 50%;
padding: 5em 3em;
background: #fff;
box-shadow: 2px 9px 49px -17px rgba(0,0,0,0.1);
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.form-img{
flex-basis: 50%;
background-color: #fff;
background-size: cover;
padding: 0px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
align-items: center;
display: grid;
}
.form-img img{
max-width: 100%;
}
p{
color: grey;
font-size: 16px;
line-height: 25px;
opacity: 0.6;
text-align: center;
}
.btn,button,input{
border-radius: 35px;
}
.btn:hover, button:hover {
color: violet;
font-size: 1.8vh;
transition: 0.5s ease;
}
a{
text-decoration: none;
}
.login-form form{
margin: 30px 0;
}
.login-form input{
outline: none;
margin-bottom: 15px;
font-stretch: 16px;
color: #999;
text-align: left;
padding: 14px 20px;
width: 100%;
display: inline-block;
box-sizing: border-box;
border: none;
background: #e4e3e3;
transition: 0.3s ease;
}
.login-form input:focus{
background: transparent;
border: 1px solid grey;
}
.login-form button{
font-size: 15px;
color: #fff;
width: 100%;
background: #0e4c7a;
border: none;
padding: 14px 15px;
font-weight: 550;
transition: 0.3s ease;
}
p.account a:hover{
text-decoration: underline;
}
@media (max-width: 768px) {
.login-form .main{
flex-direction: column;
}
.login-form form{
margin-top: 30px;
margin-bottom: 10px;
}
.form-img{
border-radius: 0;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
order: 2;
}
.content{
order: 1;
border-radius: 0;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.form-img{
display: none;
}
}