-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
202 lines (161 loc) · 2.89 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
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
/* These are just the article styles, so change these to whatever fits your theme! */
/* Probably keep this one bit as is though, it's going to make arranging things in print easier for you! */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: sans-serif;
}
h1 {
color: #1c4587;
text-align: center;
font-style: italic;
font-size: 180%;
}
h2 {
background: #ead1dc;
color: #741b47;
font-family: monospace;
text-align: center;
font-size: 140%;
font-weight: normal;
margin: 0.2rem 0 0 0;
padding: 0.2rem 0 0.2rem;
}
th {
text-align: left;
background: #c9daf8;
color: #073763;
}
p {
padding: 0.2rem;
padding-top: 0.5rem;
font-size: 105%;
}
ul {
padding-left: 2rem;
list-style: none;
}
.zine-li:before {
content: '\21D2';
margin-left: -20px;
margin-right: 10px;
}
.zine-link {
font-family: monospace;
background: #c9daf8;
color: #073763;
}
.captioned-img {
object-fit: contain;
max-height: 100%;
max-width: 100%;
padding: 0 2rem 0 2rem;
}
figcaption {
font-family: monospace;
font-size: 80%;
font-style: italic;
background: #c9daf8;
color: #073763;
margin: 0 1rem 0 1rem;
}
.full-img {
object-fit: contain;
max-height: 100%;
max-width: 100%;
padding: 1rem;
}
.mini-img {
max-width: 10rem;
}
.glitchButton {
float: left;
padding: 1rem 0.5rem 0 0.5rem;
}
.cc-licence {
float: right;
margin: 1rem 0.5rem 0 0.5rem;
}
/* Any styles that you **only** want to appear on a device should go in here! */
@media screen {
body {
max-width: 30rem;
background: #ead1dc;
margin: auto;
}
.zine {
background: white;
padding: 10px;
border-left: 4px solid #741b47;
border-bottom: 4px solid #741b47;
}
.zine-page {
margin-top: 10px;
}
}
/* Any styles that you want to apply **just** when the zine is printed go in here! */
@media print {
body {
font-size: 69%;
}
a {
color: inherit;
text-decoration: none;
}
.mini-img {
max-width: 4.4rem;
}
/* The styles below here are specifically for creating the page layout.
* -> DON'T CHANGE THESE <- unless you know what you're doing!
*/
@page {
size: landscape;
margin: 0;
bleed: 0;
}
.zine {
width: 100vw;
height: 100vh;
display: grid;
gap: 1.5px;
background: lightgrey;
grid-template-areas:
"page-5 page-4 page-3 page-2"
"page-6 page-7 page-8 page-1";
}
.zine-page {
background: white;
padding: .2rem;
overflow: hidden;
}
.page-5, .page-4, .page-3, .page-2 {
transform: rotate(180deg) translateX(-0.1px);
}
.page-1 {
grid-area: page-1;
}
.page-2 {
grid-area: page-2;
}
.page-3 {
grid-area: page-3;
}
.page-4 {
grid-area: page-4;
}
.page-5 {
grid-area: page-5;
}
.page-6 {
grid-area: page-6;
}
.page-7 {
grid-area: page-7;
}
.page-8 {
grid-area: page-8;
}
}