-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
168 lines (138 loc) · 4.85 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tikkun.io</title>
<link rel="stylesheet" href="css/master.css" media="screen" charset="utf-8">
<style>
@font-face {
font-family: "ShlomosemiStam";
src: url(/assets/fonts/ShlomosemiStam.ttf);
}
.tikkun-page {
display: flex;
justify-content: center;
font-family: Shlomosemistam;
margin-bottom: 10em;
}
.line {
position: relative;
text-align: justify;
line-height: 100%;
display: flex;
justify-content: space-between;
}
.line.mod-petucha {
text-align: start;
}
.column {
flex: 1;
display: flex;
justify-content: space-between;
}
.column:nth-child(2) {
/*HACK: this rule is a special hack for פרשת האזינו
to properly display the columns:
a) with space between the columns
b) without the column line breaking into two
*/
margin-right: 5em;
width: 12em;
}
.fragment {
width: 100%;
}
.fragment.mod-setuma {
width: auto;
}
.fragment:after {
content: '';
width: 100%;
display: inline-block;
}
.location-indicator {
position: absolute;
font-family: sans-serif;
font-size: 0.8em;
}
.location-indicator.mod-verses {
right: -6ch;
color: hsla(0, 0%, 0%, 0.35);
}
.location-indicator.mod-aliyot {
right: -13ch;
color: hsla(203, 100%, 50%, 0.75);
max-width: 8ch;
}
.app {
height: 100vh;
display: flex;
flex-direction: column;
}
.app-toolbar {
border-bottom: 1px solid transparent;
flex-shrink: 0;
box-shadow: 0 0 8px -4px black;
padding: 5px 0;
}
.app-body {
padding-top: 1em;
overflow: auto;
font-size: 1.5em;
}
.u-page-wrap {
max-width: 550px;
margin: 0 auto;
}
.toolbar-content {
display: flex;
}
.toolbar-wrapper {
align-items: center;
display: flex;
}
.toolbar-wrapper.mod-left, .toolbar-wrapper.mod-right {
flex: 1;
}
.toolbar-wrapper.mod-right {
justify-content: flex-end;
}
</style>
</head>
<body>
<div class="app">
<header class="app-toolbar">
<div class="toolbar-content u-page-wrap">
<div class="toolbar-wrapper mod-left">
<div class="toolbar-item">
<div data-test-id="annotations-toggle">Toggle</div>
</div>
</div>
<div class="toolbar-wrapper mod-center">
<div class="toolbar-item">
Parsha-picker
</div>
</div>
<div class="toolbar-wrapper mod-right">
<div class="toolbar-item">
<a href="https://www.github.com/akivajgordon/tikkun.io" target="_blank" title="Go to GitHub repository">
<img class="toolbar-github" src="/assets/images/GitHub-Mark-32px.png" alt="GitHub" height="32px" width="32px"/>
</a>
</div>
</div>
</div>
</header>
<div id='js-app' class="app-body" style="direction: rtl;"></div>
</div>
<script src="/dist/bundle.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-91826939-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>