-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
193 lines (163 loc) · 4.03 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
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600;1,700;1,900&family=Young+Serif&display=swap');
html {
box-sizing: border-box; /* prevents padding from adding additional width & height */
}
body {
margin: 0;
min-height: 100vh;
background-color: #004643;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.73-5.139-1.691-8.233-2.928C65.888 13.278 60.562 12 50 12c-10.626 0-16.855 1.397-26.66 5.063l-1.767.662c-2.475.923-4.66 1.674-6.724 2.275h6.335zm0-20C13.258 2.892 8.077 4 0 4V2c5.744 0 9.951-.574 14.85-2h6.334zM77.38 0C85.239 2.966 90.502 4 100 4V2c-6.842 0-11.386-.542-16.396-2h-6.225zM0 14c8.44 0 13.718-1.21 22.272-4.402l1.768-.661C33.64 5.347 39.647 4 50 4c10.271 0 15.362 1.222 24.629 4.928C84.112 12.722 89.438 14 100 14v-2c-10.271 0-15.362-1.222-24.629-4.928C65.888 3.278 60.562 2 50 2 39.374 2 33.145 3.397 23.34 7.063l-1.767.662C13.223 10.84 8.163 12 0 12v2z' fill='%23abd1c6' fill-opacity='0.09' fill-rule='evenodd'/%3E%3C/svg%3E");
color: #fffffe;
font-family: 'Young Serif', serif;
font-weight: 400;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.quote-container {
width: auto; /* up to 900px, width will be 100% of content */
max-width: 900px;
padding: 20px 30px;
border-radius: 20px;
padding-bottom: 30px;
background-color: rgba(0, 30, 29, 0.4);
box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.1);
}
.quote-text {
font-size: 2.75rem;
}
.long-quote {
font-size: 2rem;
}
.fa-quote-left {
font-size: 5rem;
color: #f9bc60;
display: block;
margin-bottom: 20px;
}
.quote-author {
margin-top: 35px;
font-size: 1.5rem;
font-family: Montserrat, sans-serif;
font-weight: 400;
font-style: italic;
color: #abd1c6;
}
.button-container {
margin-top: 25px;
display: flex;
justify-content: space-between;
padding: 0px 20px 10px 20px;
}
button {
cursor: pointer;
font-weight: 600;
text-transform: uppercase;
font-size: 1.5rem;
/* height: 2.5rem; */
border: none;
border-radius: 10px;
color: #001e1d;
background: #f9bc60;
outline: none;
padding: 0.5rem 1.8rem;
/* box-shadow: 0 0.3rem rgba(171, 209, 198, 0.65); */
box-shadow: 0 0.3rem rgba(232, 228, 230, 0.4);
}
button:hover {
background: #e0a956;
color: #fffffe;
}
button:active {
transform: translate(0, 0.3rem);
box-shadow: 0 0.1rem rgba(255, 255, 255, 0.65);
}
footer {
margin-top: auto;
text-align: center;
padding: 30px 0;
font-size: 1.4rem;
}
footer a {
text-decoration: none;
color: #abd1c6;
margin: 0 0.3em;
}
footer a:hover {
color: #f9bc60;
cursor: pointer;
}
/* Loader */
.loader {
width: 84px;
height: 84px;
border: 10px solid #fffffe;
border-bottom-color: #f9bc60;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 1s linear infinite;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Media Query: Tablet or Smaller */
@media screen and (max-width: 1000px) {
.quote-container {
margin: auto 20px;
}
.quote-text {
font-size: 2rem;
}
button {
font-size: 1.3rem;
}
footer {
padding-bottom: 60px;
}
.quote-author {
font-size: 1rem;
}
.long-quote {
font-size: 1.5rem;
}
}
/* Media Query: Mobile or Smaller */
@media screen and (max-width: 600px) {
.quote-container {
margin: auto 15px;
padding: 20px 15px;
}
.quote-text {
font-size: 1.3rem;
}
.fa-quote-left {
font-size: 3rem;
}
.quote-author {
font-size: 0.8rem;
}
.long-quote {
font-size: 1rem;
}
footer {
padding-bottom: 80px;
}
button {
font-size: 1rem;
}
}