-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
158 lines (155 loc) · 3.33 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
font-family: "Oswald", sans-serif;
font-optical-sizing: auto;
font-style: normal;
background-color: #a30000;
background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23000000' fill-opacity='1'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
min-height: 100vh;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
::selection {
background-color: #a30000;
color: black;
}
.quote-container {
color: #eeeeee;
width: auto;
max-width: 900px;
padding: 20px 30px;
border-radius: 10px;
background: rgba(0, 0, 0, 0.6);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
backdrop-filter: blur(4.6px);
-webkit-backdrop-filter: blur(4.6px);
border: 1px solid rgba(0, 0, 0, 1);
}
#quote {
text-shadow: 1px 3.5px 2px #a30000;
}
.quote-text {
font-size: 2.5rem;
font-weight: 700;
}
.long-quote {
font-size: 2rem;
}
.quote-author {
color: #c73659;
font-size: 2rem;
margin-top: 15px;
font-weight: 500;
font-style: italic;
}
.button-container {
display: flex;
margin-top: 15px;
justify-content: space-between;
}
.fa-solid {
color: #a30000;
}
button {
cursor: pointer;
border: 2px solid black;
outline: none;
font-size: 1.2rem;
height: 2.5rem;
color: #eeeeee;
background-color: #a30000;
border-radius: 10px;
padding: 0.5rem 1.8rem;
box-shadow: 0 0.5rem 0.8rem rgb(0, 0, 0);
}
button:hover {
filter: brightness(120%);
}
button:active {
transform: translate(0, 0.3rem);
box-shadow: 0 0.05rem 0.8rem rgb(0, 0, 0);
}
.share-buttons {
display: flex;
gap: 20px;
margin: 0px 5px;
justify-content: space-between;
}
#twitter:hover {
color: black;
}
#whatsapp:hover {
color: burlywood;
}
.fa-x-twitter,
.fa-copy {
font-size: 1.5rem;
}
.fa-solid.fa-check {
font-size: 1.5rem;
color: #eeeeee;
display: none;
}
.loader {
width: 12px;
height: 12px;
border-radius: 50%;
display: block;
margin: 15px auto;
position: relative;
color: #eeeeee;
box-sizing: border-box;
animation: animloader 1s linear infinite alternate;
}
@keyframes animloader {
0% {
box-shadow: -38px -12px, -14px 0, 14px 0, 38px 0;
}
33% {
box-shadow: -38px 0px, -14px -12px, 14px 0, 38px 0;
}
66% {
box-shadow: -38px 0px, -14px 0, 14px -12px, 38px 0;
}
100% {
box-shadow: -38px 0, -14px 0, 14px 0, 38px -12px;
}
}
@media screen and (max-width: 1000px) {
.quote-container {
margin: auto 10px;
}
.quote-text {
font-size: 2rem;
}
.long-quote {
font-size: 1.8rem;
}
.quote-author {
font-size: 1.6rem;
}
}
@media screen and (max-width: 450px) {
.button-container {
flex-direction: column;
gap: 20px;
}
.share-buttons {
display: flex;
gap: 20px;
margin: 5px 5px;
justify-content: space-between;
}
.quote-text {
display: flex;
flex-direction: column;
}
}