-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
93 lines (82 loc) · 1.56 KB
/
main.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
/* Thanks to Robin Metcalfe: https://codepen.io/solarisedesign/pen/NqJwxG */
html {
box-sizing: border-box;
}
body {
margin: 0;
font-size: 12px;
font-family: "Arvo", sans-serif;
}
*, *::after, *::before {
box-sizing: inherit;
}
.quotes {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
flex-direction: column;
height: inherit;
}
@media screen and (max-width: 960px) {
.quotes {
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
box-orient: vertical;
-webkit-box-direction: normal;
-moz-box-direction: normal;
box-direction: normal;
-webkit-flex-direction: column;
-moz-flex-direction: column;
flex-direction: column;
-ms-flex-direction: column;
}
}
blockquote {
padding: 0.5em 1em 0.5em 1em;
position: relative;
height: 100vh;
flex: 1;
flex-basis: inherit;
font-size: 1.4em;
overflow: hidden;
width: 100%;
margin: 0;
display: none;
}
blockquote p {
font-size: 3.5em;
text-indent: 0em;
margin: 0em 0 0.25em 0;
line-height: 1.25em;
z-index: 1;
}
blockquote p::before {
font-family: Georgia;
content: "\201C";
font-size: 5em;
position: relative;
left: 0em;
top: 0.45em;
color: #999;
}
blockquote footer::before {
content: "\002D\0009";
font-style: italic;
}
blockquote p::after {
font-family: Georgia;
content: "\201D";
font-size: 16em;
position: absolute;
right: -0.085em;
bottom: -0.25em;
z-index: -1;
color: #eee;
}
blockquote footer {
font-size: 2em;
line-height: 2.5em;
font-style: italic;
text-indent: 1em;
}