forked from RetroAchievements/RANews
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (106 loc) · 2.7 KB
/
index.html
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
---
title: RANews
currentIssue: /issues/2021-09/
---
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-177315439-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-177315439-1');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ site.title }} | {{ site.description }}</title>
<link rel="shortcut icon" type="image/png" href="/img/retroachievements-logo-color-transparent-square.png"
sizes="16x16 32x32 64x64">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Play:wght@700&display=swap" rel="stylesheet">
<style>
body,
html {
height: 100%;
margin: 0;
padding: 0;
font-family: Play, Arial, Helvetica, sans-serif;
}
* {
box-sizing: border-box;
}
.bg-image {
background: linear-gradient(#0008, #0008),
url('{{ page.currentIssue }}/img/cover.png') no-repeat center center fixed;
background-size: cover;
filter: blur(8px);
height: 100%;
}
div.box {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.logo,
.cover {
display: block;
margin: 0 auto;
max-width: 100%;
max-height: 500px;
}
h1 {
color: #fff;
text-align: center;
font-size: 2em;
font-weight: 700;
}
a.cta-button-link {
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
color: #fff;
padding: 20px;
border: 4px solid #fff;
border-radius: 4px;
margin-top: 2em;
display: inline-block;
transition: all 0.4 ease 0s;
}
a.cta-button-link:hover {
color: #fff;
background: #367;
transition: all 0.4 ease 0s;
}
@media (max-width: 720px) {
h1 {
font-size: 1.2em;
}
a.cta-button-link {
padding: 12px;
font-size: 0.9em;
}
}
</style>
</head>
<body>
<div class="bg-image"></div>
<div class="box">
<h1>
The RetroAchievements digital magazine.
</h1>
<a href="{{ page.currentIssue }}">
<img class="logo" src="{{ page.currentIssue }}/img/cover.png" alt="RANews">
</a>
<div class="cta-button" align="center">
<a class="cta-button-link" href="/issues/">
Issues list
</a>
<a class="cta-button-link" href="{{ page.currentIssue }}">
Latest issue
</a>
</div>
</div>
</body>