-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
118 lines (118 loc) · 1.94 KB
/
Copy pathstyle.css
File metadata and controls
118 lines (118 loc) · 1.94 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
}
body{
width: 100vh;
height: 100vh;
background: #bdc3c7;
}
.login-form{
width: 25vw;
height: auto;
border: none;
border-radius: 1rem;
box-shadow: 0.5rem 0.5rem 1rem rgba(0,0,0,0.2),
0.1rem 0.1rem 0.2rem rgba(0,0,0,0.1);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.user-icon{
width: 100%;
height: 4rem;
position: relative;
}
.icon{
background: white;
width: 5rem;
height: 5rem;
border-radius: 50%;
position: absolute;
left: 50%;
top: -50%;
transform: translateX(-50%);
overflow: hidden;
box-shadow: 0.1rem 0.1rem 0.2rem rgba(0,0,0,0.1),
inset 0.1rem 0.1rem 0.2rem rgba(0,0,0,0.1);
}
.user{
position: relative;
width: 5rem;
height: 5rem;
background: #bdc3c7 ;
}
.icon i{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
font-size: 2.5em;
color: #2c3e50;
}
.login-form form{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
/*background: white;*/
padding-top: 2rem;
}
.input-field{
width: 90%;
padding: 1rem;
margin: 1rem;
background: none;
border: none;
border-radius: 2rem;
box-shadow: 0.1rem 0.1rem 0.2rem rgba(0,0,0,0.2),
inset 0.1rem 0.1rem 0.2rem rgba(0,0,0,0.1);
text-align: center;
}
.input-field::placeholder{
text-align: center;
color: #2c3e50;
font-weight: 700;
}
.btn{
color: #7f8c8d;
font-weight: 900;
}
.btn:hover{
box-shadow: inset -0.5rem -0.1rem 0.2rem rgba(0,0,0,0.2),
inset -0.5rem -0.1rem 0.2rem rgba(0,0,0,0.1);
}
@media only screen
and (min-width : 321px) {
.login-form{
width: 50vw;
}
}
@media only screen
and (max-width : 360px) {
.login-form{
width: 100vw;
}
}
@media only screen
and (min-width : 1224px){
.login-form{
width: 25vw;
}
}
@media only screen
and (min-width : 1824px){
.login-form{
width: 25vw;
}
}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
.login-form{
width: 95vw;
}
}