-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (113 loc) · 2.44 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
@import url(https://fonts.googleapis.com/css?family=Montserrat);
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: Montserrat, sans-serif;
font-size: 20px;
font-weight: 600;
background: linear-gradient(-45deg, #bd6794, #f88c48, #62a47c, #2d7550);
background-size: 200% 400%;
animation: gradient 10s ease infinite;
text-align: center;
align-items: center;
display: flex;
justify-content: center;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Loader */
.loader {
border: 16px solid #f3f3f36d; /* Light grey */
border-top: 16px solid #36684a; /* Blue */
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.quote-container {
width: auto;
max-width: 900px;
margin: 2rem;
padding: 20px 30px;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.4);
box-shadow: 0 10px 10px 10px rgba(65, 65, 65, 0.082);
}
.quote-text {
font-size: 2.75rem;
color: #246946ab;
}
.long-quote {
font-size: 2rem;
}
.fa-quote-left {
font-size: 4rem;
color: rgba(90, 145, 105, 0.4)
}
.quote-author {
margin-top: 15px;
font-size: 2rem;
font-weight: 400;
color: #134527;
font-style: italic;
}
.button-container {
margin-top: 15px;
display: flex;
justify-content: space-between;
}
button {
cursor: pointer;
font-size: 1.2rem;
height: 2.5rem;
border: none;
border-radius: 10px;
color: #ffffff;
background-color: rgb(109, 156, 126, 0.5);
outline: none;
padding: 0.5rem 1.8rem;
box-shadow: 0 0.3rem rgba(121, 121, 121, 0.199);
}
button:hover {
/* Quick and dirty way to add hover effect: => filter: brightness(110%); */
background-color: #246946ab;
}
button:active {
transform: translate(0, 0.3rem);
box-shadow: 0 0.1rem rgba(86, 108, 91, 0.418);
}
.twitter-button:hover {
padding-bottom: 1.5rem;
color: #38a1f3;
/*background-color: none;
border-color: #38a1f3;
border-style: solid;*/
}
.fa-twitter {
font-size: 1.5rem;
}
/* Media Query: Tablet or Smaller */
@media screen and (max-width: 1000px) {
.quote-container {
margin: auto 10px;
}
.quote-text {
font-size: 2.5rem;
}
}