/
index.css
95 lines (81 loc) · 1.66 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
*{
margin: 0;
padding: 0;
}
body{
background-size: cover;
min-height: 100vh;
font-family: sans-serif, serif;
}
.container{
min-width: 100%;
height: 100vh;
background-image: url("bg.jpg");
}
.part{
/* to center anything aexactly 50% from all sides*/
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
/* ---------------------------------- */
background-color: rgba(0,0,0,0.8);
color: white;
width: 300px;
height: 320px;
box-shadow: 0px -5px 50px 10px rgba(0,0,0,1);
}
.image{
width: 130px;
height: 130px;
border-radius: 50%;
margin-left: 85px;
margin-top: -50px;
filter: grayscale(.7);
}
h1{
position: relative;
color: white;
margin-left: 30%;
margin-top: 10%;
font-family: 'Just Another Hand', cursive;
font-family: sans-serif, serif;
font-weight: bold;
}
.user{
margin-left:6%;
margin-top:1%;
}
.pass{
margin-left:6%;
margin-top:3%;
}
#pass,#user{
width: 260px;
height: 40px;
background-color: rgba(90, 88, 88, 0.2);
border-radius: 5px;
color: grey;
border: 2px solid rgba(0, 0, 0,.5);;
}
#user::placeholder {
color: rgb(255, 255, 255);
padding: 10px;
}
#pass::placeholder {
color: rgb(255, 255, 255);
padding: 10px;
}
#button{
border-radius: 20px;
width: 250px;
margin-left:8%;
margin-top:5%;
background-color: black;
color: white;
border: 2px solid white;
}
#button:hover{
background-color: #333333;
color: grey;
}