-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathLoginPage.module.css
123 lines (107 loc) · 1.85 KB
/
LoginPage.module.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
.main {
display: grid;
grid-template-columns: 50% 50%;
height: 100%;
position: relative;
}
.background {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
background-repeat: no-repeat;
background-size: cover;
background-position: right;
animation: move-background 10s linear infinite alternate;
transition: background-image 0.8s;
z-index: -1;
}
.main::before {
content: '';
position: fixed;
width: 100%;
height: 350%;
background: radial-gradient(ellipse at 0 50%, transparent 10%, #e02dd3 40%, #491975 70%);
top: -100%;
transform: rotate(180deg);
overflow: hidden;
}
.left {
width: 100%;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
padding: 80px 0;
}
.leftInfo {
height: 100%;
width: 100%;
max-width: 450px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.right {
display: flex;
flex-direction: row;
align-items: end;
justify-content: center;
width: 100%;
z-index: 1;
}
.footer {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 96px;
font-size: 18px;
width: 100%;
align-items: center;
}
.footer > p {
color: white;
}
.footer a {
color: white;
text-decoration: underline;
}
.guestInfo,
.guestInfo a {
color: white;
font-size: 16px;
}
.guestInfo {
border-top: 1px solid white;
padding-top: 15px;
display: flex;
gap: 5px;
}
.guestInfo a {
text-decoration: underline;
}
@media screen and (max-width: 800px) {
.main {
display: flex;
height: auto;
}
.background {
display: none;
}
.main::before {
background: radial-gradient(ellipse at 0 50%, #e02dd3 0%, #491975 70%);
}
.left {
padding: 20px;
}
}
@keyframes move-background {
from {
transform: translateX(0);
}
to {
transform: translateX(10%);
}
}