-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (103 loc) · 2.4 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
body {
margin: 0;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
font-family: "Courier New", Courier, monospace;
/* background: linear-gradient(to left bottom, lightgreen, lightblue); */
animation: scrollBackground 6s ease-in-out infinite;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
}
@keyframes scrollBackground {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
/* body {
margin: 0;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
font-family: "Courier New", Courier, monospace; */
/* Keep the rest of the properties unchanged */
/*
animation: scrollBackground 10s ease-in-out infinite;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
color: #fff;
height: 100vh;
position: relative;
width: 100%;
} */
/* body {
margin: 0;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
font-family: "Courier New", Courier, monospace;
animation: scrollBackground 10s ease-in-out infinite;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
}
@keyframes scrollBackground {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
} */
.container {
background-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
padding: 30px;
border-radius: 15px;
width: 75%;
margin: 10px;
text-align: center;
}
.heading {
font-size: 35px;
font-weight: 700;
color: black;
text-decoration: underline;
}
.quote {
font-size: 30px;
font-weight: 600;
color: white;
}
.author {
font-size: 25px;
margin: 10px;
font-style: italic;
}
.btn {
font-size: 18px;
border-radius: 12px;
cursor: pointer;
padding: 10px;
margin-top: 15px;
background-color: rgba(185, 141, 141, 0.422);
border-color: rgba(238, 184, 184, 0.6);
text-transform: uppercase;
width: 300px;
}
.btn:hover {
background-color: rgba(255, 255, 255, 0.6);
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
transition: all 300ms ease-in-out;
color: rgb(39, 25, 44);
}