forked from ik5/pyquotes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
158 lines (140 loc) · 2.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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
body {
background: white;
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
text-align: center;
overflow: auto;
}
#quote-body {
font-family: 'Be Vietnam', sans-serif;
font-family: 'Montserrat', sans-serif;
}
#from {
font-family: 'Roboto', sans-serif;
font-family: 'Cardo', serif;
}
.wrapper {
margin: 0;
padding: 0;
display: flex;
flex-direction:column;
}
.container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
align-content: center;
}
.container:after {
display: block;
margin: 2px;
flex: 999 999 auto;
}
.flex-box:nth-child(1) {
display: block;
flex-grow: 0;
flex-shrink: 1;
flex-basis: auto;
align-self: auto;
order: 0;
}
.flex-box:nth-child(2) {
display: block;
flex-grow: 0;
flex-shrink: 1;
flex-basis: auto;
align-self: auto;
order: 0;
}
.load-new-quote {
margin-top: 0.95rem;
text-align: center;
z-index: 20;
}
a.load-button {
background-color: rgb(137, 127, 255);
border: 1px ridge #0c0d0d;
border: 1px ridge rgba(13, 14, 14, 20.5);
border-radius: 3px;
color: white;
font-family: 'Oswald', sans-serif;
font-weight: normal;
padding: 0.5rem;
text-decoration: none;
}
a.load-button:hover {
background-color: rgb(130, 120, 248);
border: 1px ridge #321414;
border: 1px ridge rgba(50, 20, 20, 20.5);
border-color: #321414;
border-radius: 5px;
font-weight: 600;
}
footer.link {
bottom: 0;
position: block;
text-align: center;
width: 100%;
margin-top:auto;
}
footer.link p {
text-align: center;
}
.quote-file {
font-family: 'Roboto', sans-serif;
font-size: 1.3rem;
}
/* Blockquote main style */
.blockquote {
align-self: center;
border-bottom: solid 1px;
border-top: solid 1px;
color: black;
font-weight: 800;
margin: 80px auto;
max-width: 800px;
padding: 30px 0;
position: relative;
width: 100%;
z-index: 1;
}
/* Blockquote header */
.blockquote h1 {
color: #101010;
font-size: 40px;
font-weight: 800;
line-height: 1;
margin: 0;
position: relative;
}
/* Blockquote right double quotes */
.blockquote::after {
bottom: -43px;
color: #0a0a0a;
color: rgba(10, 10, 10, 1);
content: "”";
font-size: 10rem;
line-height: 0;
position: absolute;
right: 30px;
}
/* increase header size after 600px */
@media all and (min-width: 600px) {
.blockquote h1 {
font-size: 60px;
}
}
/* Blockquote subheader */
.blockquote h4 {
color: #292a2b;
font-size: 1.4rem;
font-weight: normal;
line-height: 1;
margin: 0;
padding-top: 20px;
position: relative;
z-index: 1;
}