-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
128 lines (107 loc) · 2.16 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
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
/* font */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');
body {
/* padding: 100px; */
padding: 5rem;
font-family: 'Libre Baskerville', serif;
}
.submit-area {
background-color: #fdfdff;
margin-top: 3rem;
padding: 2.5rem;
border-radius: 12px;
box-shadow: 6px 6px 13px gray;
}
.form-control {
border: 2px solid skyblue;
}
.text-center span {
color: royalblue;
}
#login-area h5 {
border: 3px solid lavender;
border-radius: 12px;
margin: 0 16%;
padding: 0.4rem 0;
box-shadow: 4px 4px 5px lavender;
}
#transaction-area {
display: none;
}
.deposit {
background-color: slateblue;
}
.withdraw {
background-color: #d0d0e7;
color: black !important;
}
.balance {
background-color: black;
}
.status {
margin: 0 20px;
border-radius: 15px;
padding: 20px;
color: white;
}
footer {
background-color: lavender;
color: #212121;
margin: 0 10%;
border-radius: 15px;
}
/* media queries */
@media only screen and (max-width: 768px) {
body {
padding: 2rem;
}
h1 {
margin-top: 4rem;
}
.submit-area {
text-align: center;
margin-top: 3rem;
padding: 1.2rem;
}
.status {
margin-bottom: 1.5rem;
text-align: center;
}
}
/* .my-button */
.my-button {
padding: 0.3rem 1.7rem;
/* border: unset; */
border-radius: 15px;
border: 3px solid green;
color: #212121;
z-index: 1;
background: #e8e8e8;
position: relative;
font-weight: 1000;
font-size: 0.8rem;
-webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
transition: all 250ms;
overflow: hidden;
}
.my-button::before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 0;
border-radius: 15px;
background-color: #212121;
z-index: -1;
-webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
transition: all 250ms
}
.my-button:hover {
color: #e6e6e6;
}
.my-button:hover::before {
width: 100%;
}