-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (88 loc) · 1.82 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
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
body{
margin: 0;
padding: 0;
font-family: 'Times New Roman', Times, serif;
font-weight: bolder;
background:url(bg2.jpg);
text-align: center;
background-size: cover;
}
title{
}
.box{
position: absolute;
top: 50%;
left: 75%;
transform: translate(-50% , -50%);
width: 600px;
padding: 40px;
background: rgba(10, 9, 6, 0.425);
box-sizing: border-box;
box-shadow: 0 15px 25px rgba(0,0,0,.5);
border-radius: 10px;
}
.box h2{
margin:0 0 30px;
padding: 0;
color: rgb(248, 14, 14);
text-align:center;
}
.box .inputBox{
position: relative;
}
.box .inputBox input
{
width: 100%;
padding: 10px 0;
font-size: 16px;
color: rgb(34, 252, 14);
margin-bottom: 30px;
border: none;
border-bottom: 1px solid #fff;
outline: none;
background: transparent;
}
.box .inputBox label{
position: absolute;
top:0;
left: 0;
padding: 10px 0;
font-size: 16px;
font-style: normal;
color:rgb(253, 210, 15);
pointer-events: none;
transition: .5s;
text-align: center;
}
.box .inputBox input:focus ~ label,
.box .inputBox input:valid ~ label
{
top:-18px;
left: 0;
color:#0c0201;
font-size: 12px;
}
.box input[type="submit"]
{
background: transparent;
border:none;
outline: none;
color:rgb(253, 210, 15);;
font-size: 16px;
font-family: 'Times New Roman', Times, serif;
background: #0a01012f;
padding: 10px 20 px;
cursor:pointer;
border-radius: 5px;
font-weight: bolder;
}
p{
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 15px;
font-weight: bolder;
letter-spacing: 1px;
color: rgb(253, 210, 15);
}
h1{
text-shadow: crimson;
}