-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (100 loc) · 2.33 KB
/
style.css
File metadata and controls
115 lines (100 loc) · 2.33 KB
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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bad+Script&display=swap');
html {
box-sizing: border-box;
}
body{
margin: 0;
min-height: 100vh;
background-color: #f9f6fc;
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='%23c2b7d3' fill-opacity='0.17'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
font-family: Montserrat, sans-serif;
font-weight: 700;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.quote-container
{
width: auto;
max-width: 900px;
padding: 20px 20px 30px 30px;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.2) ;
/* box-shadow: horizontal offset vertical offset blur radius */
}
.quote-text
{
font-family: Bad Script, sans-serif;
font-size: 2.3rem;
}
.quote-long
{
font-size: 1.5rem;
}
.fa-quote-left
{
font-size: 3.8rem;
}
.quote-author
{
margin-top: 15px;
margin-bottom: 10px;
font-size: 1.5rem;
font-style: italic;
font-weight: 400;
}
.button-container
{
margin: 0 10px;
display: flex;
justify-content: space-between;
}
button
{
cursor: pointer;
font-size: 1.3rem;
height: 2.4rem;
border: none;
border-radius: 5px;
color: beige;
background: #464646;
outline: none;
padding: 0.4rem 1.2rem;
box-shadow: 0 0.2rem rgba(0, 0, 0, 0.2) ;
}
button:hover{
filter: brightness(120%);
}
button:active
{
transform: translate(0 , 0.3rem);
box-shadow: 0 0.1rem rgba(69, 67, 67, 0.1) ;
}
.twitter-button:hover
{
color: #38a1f3;
}
.loader {
border: 16px solid #939393;
border-top: 16px solid #2a2a2a;
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 10px;
}
.quote-text{
font-size: 1.9rem;
}
}