-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
74 lines (66 loc) · 1.68 KB
/
style.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
body {
font-family: "Segoe UI Webfont",-apple-system,"Helvetica Neue","Lucida Grande","Roboto","Ebrima","Nirmala UI","Gadugi","Segoe Xbox Symbol","Segoe UI Symbol","Meiryo UI","Khmer UI","Tunga","Lao UI","Raavi","Iskoola Pota","Latha","Leelawadee","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Cambria Math";
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-image: url(dhsz.jpg);
background-position: center;
background-size: cover;
overflow: hidden;
position: relative;
margin: 0;
padding: 0;
}
body:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
}
h1 {
font-size: 1.2rem;
}
label {
display: block;
margin: 20px 0;
}
input {
display: block;
border: 0;
padding: 10px 0;
margin-bottom: 10px;
width: 100%;
border-bottom: 2px solid #666;
}
button {
border: 0;
padding: 10px 20px;
border-radius: 0px;
background: #0067b8;
color: #fff;
}
.wrapper {
position: relative;
z-index: 5;
width: 450px;
padding: 40px;
background: #fff;
box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}
.message-box {
display: none;
text-align: center;
color: red;
font-weight: bold;
border: 2px solid red;
padding: 10px;
margin-top: 20px;
}
.message-box.active {
display: block;
}