-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (88 loc) · 2.01 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
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background-color: #a60038;;
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23eeebf2' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
font-family: 'Playfair Display', serif;
font-weight: 600;
text-align: center;
color: #a60038;
display: flex;
justify-content: center;
align-items: center;
}
.quote-container{
margin: auto;
max-width: 900px;
padding: 1.25rem 1.875rem; /*20px and 30px */
background-color: rgba(255,255,255,0.8);
border-radius: 10px;
box-shadow: 0 10px 10px 10px rgba(0,0,0,0.2);
}
.quote-text{
font-size: 2.75rem;
}
.long-quote{
font-size: 2rem;
}
.fa-quote-left{
font-size: 4rem;
}
.quote-author{
font-size: 2em;
font-style: italic;
font-weight: 300;
margin-top: 1rem;
}
.buttons-container{
margin-top: 1rem;
display: flex;
justify-content: space-between;
}
button{
cursor: pointer;
height: 2.5rem;
color: #fdfdfd;
background-color: #a60038;
border: none;
border-radius: 10px;
padding: 0.5rem 1.8rem;
outline: none;
box-shadow: 0 0.3rem rgba(121,121,121, 0.65);
}
button:hover{
filter: brightness(110%);
}
button:active{
transform: translate(0, 0.3rem);
box-shadow: 0 0.1rem rgba(255,255,255,0.8);
}
.fa-twitter{
font-size: 1.5rem;
}
.twitter-button:hover{
color: #38a1f3;
}
.loader {
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #a60038; /* Red */
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 20px;
}
.quote-text{
font-size: 2rem;
}
}