-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (90 loc) · 2.66 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
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background-color: #F2F0F2;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%239366a9' fill-opacity='0.15'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
display: flex;
align-items: center;
justify-content: center;
}
.quote-container {
margin: 0 1rem;
padding: 2rem;
width: 70%;
background: rgba(242, 231, 239, 0.8);
display: flex;
flex-direction: column;
font-size: 2rem;
border-radius: 0.2em;
box-shadow: 0.3rem 0.3rem rgba(217, 206, 214, 0.8);
}
.text {
text-align: center;
}
.quote-icon {
font-size: 2.5rem;
}
.long-quote {
font-size: 1.5rem;
}
.author {
text-align: center;
font-size: 1.5rem;
font-style: italic;
}
button {
padding: 0.5rem 1rem;
background: rgba(149, 166, 166, 0.2);
border-radius: 0.3em;
font-family: 'Montserrat', sans-serif;
font-size: 1rem;
text-transform: uppercase;
}
/*button:hover {
background: rgba(206, 242, 242, 0.7);
border-radius: 0.3em;
cursor: pointer;
}*/
.new-quote {
margin-left: 0.5rem;
}
.loader {
border: 16px solid rgb(217, 206, 214);
border-top: 16px solid rgba(206, 242, 242);
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/*solve touch-screen hover issue- need to test*/
@media (any-hover: hover) {
button:hover {
background: rgba(206, 242, 242, 0.7);
border-radius: 0.3em;
cursor: pointer;
}
}
@media only screen and (max-width: 800px) {
.quote-container {
width: 60%;
}
}
@media only screen and (max-width: 700px) {
button {
padding: 0.5rem;
}
}
@media only screen and (max-width: 600px) {
.button-container {
display: flex;
flex-direction: row;
justify-content: center;
}
}