-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
325 lines (289 loc) · 11.8 KB
/
index.html
File metadata and controls
325 lines (289 loc) · 11.8 KB
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<!DOCTYPE html>
<html class="js" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="">
<title>The Mars Review of Books</title>
<meta property="og:site_name" content="The Mars Review of Books">
<meta property="og:url" content="https://marsreview.org/">
<meta property="og:title" content="The Mars Review of Books">
<meta property="og:type" content="website">
<meta property="og:description" content="Mars Review of Books is an independent publication showcasing writing talent from independent authors throughout the year, either writing about books or their own content of choosing. It is simultaneously published in print, in Urbit, and on the legacy web.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Landing">
<meta name="twitter:description" content="Mars Review of Books is an independent publication showcasing writing talent from independent authors throughout the year, either writing about books or their own content of choosing. It is simultaneously published in print, in Urbit, and on the legacy web.">
<meta name="facebook-domain-verification" content="00fb0b3xo8rrkidavcr4se0np3hlne">
<script>
function setCookie(name, ship,email,token,days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + ship+ "=" + email + '|' + token + expires + "; path=/";
}
window.addEventListener("message", e => {
if (!e.data.token) {
// console.log("Spurious window.postMessage", e);
return;
} else {
console.log('postMessage', e.data.token);
setCookie('studio-auth-', e.data.ship, e.data.email, e.data.token);
}
});
document.addEventListener("DOMContentLoaded", function (event) {
const styleVars = ["--background-body", "--text-bright", "--text-main", "--links"];
const [bg, textBright, textMain, links] = styleVars.map((style) => {
return encodeURIComponent(getComputedStyle(document.documentElement).getPropertyValue(style).substring(1))
});
const urlParams = new URLSearchParams(window.location.search);
const login = urlParams.get('login');
const tier = urlParams.get('tier');
const email = urlParams.get('email');
const frame = document.querySelector("iframe");
frame.src = frame.src + "?" + `background=${bg}&textBright=${textBright}&textMain=${textMain}&links=${links}&path=${window.location.pathname}&login=${login}&email=${email}&tier=${tier}`
});
</script>
<style>
iframe {
border: none;
}
:root {
--font-body-family: Assistant, sans-serif;
--font-body-style: normal;
--font-body-weight: 400;
--font-body-weight-bold: 700;
--font-heading-family: Garamond, Baskerville, Caslon, serif;
--font-heading-style: normal;
--font-heading-weight: 400;
--font-body-scale: 1.0;
--font-heading-scale: 1.0;
--color-base-text: 18, 18, 18;
--color-shadow: 18, 18, 18;
--color-base-background-1: 255, 255, 255;
--color-base-background-2: 243, 243, 243;
--color-base-solid-button-labels: 255, 255, 255;
--color-base-outline-button-labels: 18, 18, 18;
--color-base-accent-1: 18, 18, 18;
--color-base-accent-2: 51, 79, 180;
--payment-terms-background-color: #ffffff;
--gradient-base-background-1: #ffffff;
--gradient-base-background-2: #f3f3f3;
--gradient-base-accent-1: #121212;
--gradient-base-accent-2: #334fb4;
--media-padding: px;
--media-border-opacity: 0.05;
--media-border-width: 1px;
--media-radius: 0px;
--media-shadow-opacity: 0.0;
--media-shadow-horizontal-offset: 0px;
--media-shadow-vertical-offset: 4px;
--media-shadow-blur-radius: 5px;
--page-width: 120rem;
--page-width-margin: 0rem;
--card-image-padding: 0.0rem;
--card-corner-radius: 0.0rem;
--card-text-alignment: left;
--card-border-width: 0.0rem;
--card-border-opacity: 0.1;
--card-shadow-opacity: 0.0;
--card-shadow-horizontal-offset: 0.0rem;
--card-shadow-vertical-offset: 0.4rem;
--card-shadow-blur-radius: 0.5rem;
--badge-corner-radius: 4.0rem;
--popup-border-width: 1px;
--popup-border-opacity: 0.1;
--popup-corner-radius: 0px;
--popup-shadow-opacity: 0.0;
--popup-shadow-horizontal-offset: 0px;
--popup-shadow-vertical-offset: 4px;
--popup-shadow-blur-radius: 5px;
--drawer-border-width: 1px;
--drawer-border-opacity: 0.1;
--drawer-shadow-opacity: 0.0;
--drawer-shadow-horizontal-offset: 0px;
--drawer-shadow-vertical-offset: 4px;
--drawer-shadow-blur-radius: 5px;
--spacing-sections-desktop: 0px;
--spacing-sections-mobile: 0px;
--grid-desktop-vertical-spacing: 8px;
--grid-desktop-horizontal-spacing: 8px;
--grid-mobile-vertical-spacing: 4px;
--grid-mobile-horizontal-spacing: 4px;
--text-boxes-border-opacity: 0.1;
--text-boxes-border-width: 0px;
--text-boxes-radius: 0px;
--text-boxes-shadow-opacity: 0.0;
--text-boxes-shadow-horizontal-offset: 0px;
--text-boxes-shadow-vertical-offset: 4px;
--text-boxes-shadow-blur-radius: 5px;
--buttons-radius: 0px;
--buttons-radius-outset: 0px;
--buttons-border-width: 1px;
--buttons-border-opacity: 1.0;
--buttons-shadow-opacity: 0.0;
--buttons-shadow-horizontal-offset: 0px;
--buttons-shadow-vertical-offset: 4px;
--buttons-shadow-blur-radius: 5px;
--buttons-border-offset: 0px;
--inputs-radius: 0px;
--inputs-border-width: 1px;
--inputs-border-opacity: 0.55;
--inputs-shadow-opacity: 0.0;
--inputs-shadow-horizontal-offset: 0px;
--inputs-margin-offset: 0px;
--inputs-shadow-vertical-offset: 4px;
--inputs-shadow-blur-radius: 5px;
--inputs-radius-outset: 0px;
--variant-pills-radius: 40px;
--variant-pills-border-width: 1px;
--variant-pills-border-opacity: 0.55;
--variant-pills-shadow-opacity: 0.0;
--variant-pills-shadow-horizontal-offset: 0px;
--variant-pills-shadow-vertical-offset: 4px;
--variant-pills-shadow-blur-radius: 5px;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: calc(var(--font-body-scale) * 62.5%);
height: 100%;
}
body {
display: grid;
grid-template-rows: auto auto 1fr auto;
grid-template-columns: 100%;
min-height: 100%;
margin: 0;
font-size: 1.5rem;
letter-spacing: 0.06rem;
line-height: calc(1 + 0.8 / var(--font-body-scale));
font-family: var(--font-body-family);
font-style: var(--font-body-style);
font-weight: var(--font-body-weight);
}
@media screen and (min-width: 750px) {
body {
font-size: 1.6rem;
}
}
</style>
<link href="./assets/base.css" rel="stylesheet" type="text/css" media="all">
<link href="https://planet.one/planet-picker-external.css" rel="stylesheet" type="text/css" media="all">
</head>
<body class="gradient __plain_text_READY__">
<div class="container">
<div class="mars-section">
<link href="./assets/main.css" rel="stylesheet" type="text/css" media="all">
<link rel="stylesheet" href="./assets/auxiliary.css">
<link rel="stylesheet" href="./assets/embed.css">
<style></style>
<div style="opacity:0" class="hHzYuJ __mars __mars_6x_QSubD" id="__mars">
<div class="cCHonK">
<div class="bpQaoh">
<div style="--overlay:rgba(0, 0, 0, 0.4)" class="kFoSDU mars-3_">
<div>
<div class="mars-r mars-r-eh" style="--s-xs:0px">
<div class="mars-c" style="--c-xs:12;--c-md:12;--c-lg:12">
<div class="dIjtdz mars-5_">
<div class="mars-6_ mars-r mars-r-eh" style="--s-xs:15px;--s-md:0px;--s-lg:15px">
<div class="mars-c" style="--c-xs:12;--c-md:12;--c-lg:12">
<div class="dIjtdz mars-7_">
<h1 class="kOzfyS mars-8_"><span class="hKEAti">The Mars Review </span></h1>
<h1 class="kOzfyS mars-11_"><span class="hKEAti">of Books</span></h1>
<p class="jgBUGG mars-14_ mars-gs-paragraph-1"><span class="hKEAti">A magazine in print and on Urbit</span></p>
<h2 style="color:var(--mars-color-8);">
"Takes on the establishment" — Politico
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sc-iJKOTD mars-27_ mars-r mars-r-eh" style="--s-xs:5px">
<div class="mars-c sc-eGPXGI dIjtdz mars-28_" style="--c-xs:12;--c-sm:6;--c-md:3;--c-lg:3">
<a data-link="inherit" class="expansive sc-fmciRz hKEAti" href="https://www.marsreview.org/vol1/issue3" target="_self">
<h3 class="sc-iAKWXU kOzfyS mars-29_">
<p>Issue 3</p>
</h3>
</a>
</div>
<div class="mars-c sc-eGPXGI dIjtdz mars-131_" style="--c-xs:12;--c-sm:6;--c-md:3;--c-lg:3">
<a data-link="inherit" class="expansive sc-fmciRz hKEAti mars-129_" href="https://store.marsreview.org/" target="_self">
<h3 class="sc-iAKWXU kOzfyS mars-130_">
<p>Print Edition</p>
</h3>
</a>
</div>
<div class="mars-c sc-eGPXGI dIjtdz mars-36_" style="--c-xs:12;--c-sm:6;--c-md:3;--c-lg:3">
<a data-link="inherit" class="expansive sc-fmciRz hKEAti" href="./digital.html" target="_self">
<h3 class="sc-iAKWXU kOzfyS mars-37_">
<p>Previous Issues and Classifieds</p>
</h3>
</a>
</div>
<div class="mars-c sc-eGPXGI dIjtdz mars-32_" style="--c-xs:12;--c-sm:6;--c-md:3;--c-lg:3">
<a data-link="inherit" class="expansive sc-fmciRz hKEAti" href="./donate.html" target="_self">
<h3 class="sc-iAKWXU kOzfyS mars-33_">
<p>Donate</p>
</h3>
</a>
</div>
</div>
<section style="padding-block: 2rem; display: flex; flex-direction: column; align-items: center; font-family: var(--mars-primary-font); color: var(--mars-color-8);">
<div style="padding-inline:1rem;" class="mars-c sc-eGPXGI dIjtdz">
<h3 class="sc-iAKWXU kOzfyS mars-130_">
<p>Subscribe to the <i>Mars Review of Books</i></p>
</h3>
<p class="jgBUGG mars-11_ mars-gs-paragraph-1"">
Choose from our subscription tiers below
</p>
<ul>
</ul>
</div>
<br/>
<iframe src="https://paywall.tirrel.io/embed/~bidbel/MRB-Online-Paid">
</iframe>
</section>
<section style="padding-block:2rem; display:flex; flex-direction:column; align-items:center; font-family:var(--mars-primary-font); color:var(--mars-color-8);">
<div style="padding-inline:1rem;">
<h2 style="color:var(--mars-color-8);">
Buy a Planet + Hosting Plan
</h2>
<p>$15 per month includes:</p>
<ul>
<li>
Permanent Urbit ID with simple and secure access to the network
</li>
<li>
Custom <em>Mars Review of Books</em> desktop
</li>
<li>
Access to Urbit-ony Mars Review content and chat on the illustrious ~bidbel star
</li>
</ul>
</div>
</br>
</br>
</br>
<iframe src="https://planet.one/embed/mars-review?accentColor=%236D0718&bgColor=%23111213">
</iframe>
</section>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<link rel="stylesheet" href="./assets/two.css" media="all">
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vb26e4fa9e5134444860be286fd8771851679335129114" integrity="sha512-M3hN/6cva/SjwrOtyXeUa5IuCT0sedyfT+jK/OV+s+D0RnzrTfwjwJHhd+wYfMm9HJSrZ1IKksOdddLuN6KOzw==" data-cf-beacon='{"rayId":"7b3a63a00c2afa9e","version":"2023.3.0","r":1,"b":1,"token":"e94a720e24ea46c9ae0abf120109a08b","si":100}' crossorigin="anonymous"></script>
</body>
</html>