-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.css
112 lines (84 loc) · 1.64 KB
/
login.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
@import url('https://fonts.googleapis.com/css?family=Noto+Sans&display=swap');
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
width: 100%;
height: 100%;
background: linear-gradient(#045afa, #0040C1);
font-family: 'Noto Sans', Sans;
font-size: 16px;
}
input[type=input],
input[type=password] {
width: 25em;
height: 4em;
display: inline-block;
border: 1px solid #aaa;
box-sizing: border-box;
padding-left: 3em;
font-size: 1em;
}
input[type=input] {
border-radius: 4px 4px 0px 0px;
}
input[type=password] {
border-radius: 0px 0px 4px 4px;
border-top: none;
}
input[type=submit] {
width: 18em;
height: 2.2em;
background-color: #0c94e8;
font-size: 1.4em;
color: white;
border: none;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #0fc0fc;
}
form {
display: table;
margin: auto;
}
.login-container {
position: absolute;
top: 50%;
left: 50%;
width: 32em;
height: 22em;
transform: translate(-50%, -50%);
text-align: center;
background-color: #fff;
-webkit-font-smoothing: antialiased;
}
.userpass-container {
position: relative;
padding: 0;
margin: 0;
}
.userpass-icon {
position: absolute;
top: 50%;
left: 0.7em;
color: #666;
font-size: 20px;
transform: translate(0, -50%);
-webkit-font-smoothing: antialiased;
}
#status-text {
margin: 0.5em;
opacity: 0;
cursor: default;
transition: all 200ms linear;
}
@media only screen and (max-width: 888px) {
html, body {
font-size: 18px;
}
.login-container {
width: 100%;
}
}