-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.ejs
103 lines (85 loc) · 1.81 KB
/
page.ejs
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="hr">
<head>
<meta charset="utf-8">
<title>Naslovna</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
:root {
font-size: 220px;
--container-margin: 60px;
--okosl-font-weight: normal;
--title-font-weight: 700;
}
* {
margin: 0;
line-height: 1rem;
font-size: 1rem;
}
body {
width: 100vw;
height: 100vh;
background: #fafafa;
overflow: hidden;
display: flex;
position: relative;
}
.container {
display: flex;
font-family: 'Source Sans Pro', sans-serif;
margin: 0 auto;
padding: 0 var(--container-margin);
}
.centered {
text-align: center;
}
.spacer {
margin-top: 1.3rem;
/* border-top: 5px solid rgba(0, 0, 0, .3); */
color: transparent;
}
.title {
color: #212121;
font-weight: var(--title-font-weight);
}
.part,
.okosl {
position: fixed;
top: 0;
font-size: 1.2em;
font-weight: var(--okosl-font-weight);
color: rgba(0, 0, 0, .69);
}
.part {
left: .1rem;
}
.okosl {
right: .1rem;
}
.timestamp {
position: fixed;
bottom: 0;
right: 0;
width: 3.8rem;
height: 1.45rem;
background-color: rgba(0, 0, 0, .8);
display: none;
}
</style>
</head>
<body>
<div class="container">
<div class="centered">
<div class="part">
<%- num %>
</div>
<div class="okosl">OKOSL</div>
<div class="spacer"></div>
<h1 class="title">
<%- title %>
</h1>
<div class="timestamp"></div>
</div>
</div>
</body>
</html>