Repository navigation
Expand file tree
/
Copy pathstyle2.css
More file actions
157 lines (142 loc) · 2.8 KB
/
Copy pathstyle2.css
File metadata and controls
157 lines (142 loc) · 2.8 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/*assign full width inputs*/
body{
margin: 0;
border: 0;
}
.logincontainer{
background-color: #000;
font-family:Arial, Helvetica, sans-serif;
color:white;
background-image:url("images/guitar.jpeg");
height:100vh;
width:100vw;
background-repeat: no-repeat ;
background-attachment: fixed;
background-size: cover;
/* opacity:0.5; */
}
input[type=text],
input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
/*set a style for the buttons*/
button {
background-color: #4CAF50;
color: white;
padding: 14px 30px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
/* set a hover effect for the button*/
button:hover {
opacity: 0.8;
}
/*set extra style for the cancel button*/
.cancelbtn {
width: auto;
padding: 10px 18px;
background-color: #f44336;
}
/*centre the display image inside the container*/
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
position: relative;
}
/*set image properties*/
img.avatar {
width: 20%;
border-radius: 50%;
}
/*set padding to the container*/
.container {
padding: 16px;
}
/*set the forgot password text*/
span.psw {
float: right;
padding-top: 16px;
}
/*set the Modal background*/
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
padding-top: 60px;
}
/*style the model content box*/
.modal-content {
background-color: #fefefe;
margin: 5% auto 15% auto;
border: 1px solid #888;
width: 60%;
}
/*style the close button*/
.close {
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: red;
cursor: pointer;
}
/* add zoom animation*/
.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
from {
-webkit-transform: scale(0)
}
to {
-webkit-transform: scale(1)
}
}
@keyframes animatezoom {
from {
transform: scale(0)
}
to {
transform: scale(1)
}
}
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
.inert{
position: absolute;
top:40%;
left:40%;
margin:10px;
padding:20px;
opacity: 1;
background-color: black;
text-align: center;
border-radius: 10px;
}