-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquoteGenerator.css
98 lines (84 loc) · 3.02 KB
/
quoteGenerator.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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
html{
box-sizing: border-box;
}
body{
margin: 0;
min-height: 100vh;
background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
color:black;
font-family: Montserrat , sans-serif;
font-weight: 700;
text-align: center;
align-items: center;
display: flex;
justify-content: center;
}
.quote-container{
margin: auto;
max-width: 900px;
padding: 30px 40px;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.5);
box-shadow: 0 10px 10px 9px rgba(0, 0, 0, 0.5);
}
.quote-text{
font-size: 1.8rem;
}
.quote-author{
font-size: 1.3rem;
padding: 20px 30px;
font-style: italic;
}
.long-quote{
font-size: 1.5rem;
}
.fa-quote-left{
font-size: 32px;
}
.button-container{
margin-top: 10px;
display: flex;
justify-content: space-between;
}
button{
cursor: pointer;
border-radius: 10px;
background: #333;
color:#ffffff;
outline: none;
font-size: 1.2rem;
box-shadow: 0 0.3rem 5px rgba(102, 102, 102, 0.65);
}
button:hover{
filter: brightness(110%);
}
button:active{
transform: translate(0 0.3rem);
box-shadow: 0 3rem 5rem rgba(255, 255, 255, 0.5);
}
.fa-twitter:hover{
color: #00acee;
}
/* loader */
.loader {
border: 16px solid #f3f3f3;
border-top: 16px solid black;
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@media screen and (max-width: 1000px){
.quote-container{
margin: auto 200px;
}
.quote-text{
font-size: 1.5rem;
}
}