-
Notifications
You must be signed in to change notification settings - Fork 0
/
book.html
103 lines (90 loc) · 3.13 KB
/
book.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Book</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&family=Work+Sans:wght@600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="icon" type="image/png" href="images/favicon.png">
<style>
body, html {
height: 100%;
margin: 0;
background-color: #FFFFEB;
background-image:
linear-gradient(0deg, rgba(192, 0, 5, 0.2) 1px, transparent 1px),
linear-gradient(90deg, rgba(192, 0, 5, 0.2) 1px, transparent 1px);
background-size: 30px 30px;
font-family: 'Rethink Sans', sans-serif;
color: rgba(192, 0, 5);
}
.go-back {
display: block;
margin: 10px;
font-size: 20px;
text-align: left;
font-family: 'Work Sans', sans-serif;
color: rgba(192, 0, 5);
text-decoration: none;
}
.go-back:visited {
color: red;
}
.main-text {
text-align: center;
font-size: 48px;
margin-top: 10vh;
font-family: 'Work Sans', sans-serif;
}
.subtitle {
text-align: center;
font-size: 24px;
margin-top: 20px;
font-family: 'Rethink Sans', sans-serif;
}
.pdf-viewer {
width: 80%;
max-width: 800px; /* Adjust the maximum width as needed */
height: 500px; /* Adjust the height as needed */
margin: 20px auto;
border: 2px dashed #C00005;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.attribution{
text-align: center;
font-size: 16px;
margin-top: 10px;
font-family: 'Rethink Sans', sans-serif;
}
@media (max-width: 600px) {
.main-text {
font-size: 32px;
}
.subtitle {
font-size: 18px;
}
.pdf-viewer {
width: 90%;
height: 300px; /* Adjust the height as needed for mobile */
}
}
</style>
</head>
<body>
<a href="index.html" class="go-back">← Go Back</a>
<div class="main-text">☟ Read all about interfacing here! ☟</div>
<div class="subtitle"><a href="your-pdf-file.pdf" download>Free download</a></div>
<div class="subtitle">Share and remix! This work is protected under a <a href="copyleft.html">copyleft</a> licence.</div>
<div class="attribution">Cite me as: </div>
<div class="attribution">Castaneda, S. (2023). In·ter·fa·cing: Speculative interfaces to encourage meaningful dialogue with computers. </div>
<!-- Placeholder for PDF Viewer -->
<div class="pdf-viewer">PDF Viewer Placeholder</div>
</body>
</html>