-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
113 lines (85 loc) · 1.29 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
body
{
margin:0;
padding:0;
background:url(https://thumbs.gfycat.com/ComplicatedYawningIndiancow-max-1mb.gif);
background-size:cover;
font-family: sans-serif;
}
.loginBox
{
position:absolute;
top:50%;
left:50%;
transform: translate(-50%, -50%);
width:350px;
height:420px;
padding:80px 40px;
box-sizing: border-box;
background:rgba(0,0,0,0.5) ;
}
h2
{
margin:0;
padding:0 0 20px;
color:#1E90FF;
text-align:center;
}
.loginBox p
{
padding:0;
margin:0;
font-weight:bold;
color:#fff;
}
.loginBox input
{
width:100%;
margin-bottom: 20px;
}
.loginBox input[type="text"], .loginBox input[type="password"]
{
border: none;
border-bottom: 1px solid #fff;
background: transparent;
outline:none;
height:40px;
color:#fff;
font-size: 16px;
}
.loginBox input[type="submit"]
{
width: 100%;
background: none;
border: 2px solid #4caf50;
color: white;
padding: 5px;
font-size: 18px;
cursor: pointer;
margin: 12px 0;
}
.loginBox input[type="submit"]:hover
{
background: #006400;
color: #fff;
}
.loginBox a
{
color: #fff;
font-size:14px;
font-weight:bold;
}
::placeholder
{
color:rgba(255,255,255,0.5);
}
.user
{
width:100px;
height:100px;
overflow:hidden;
position:absolute;
top:calc(-100px/2);
left:calc(50% - 50px);
border-radius:50%;
}