-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.haml
93 lines (91 loc) · 4.95 KB
/
index.haml
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
!!! 5
%html{:lang => 'en'}
%head
%meta{:charset => 'utf-8'}
%title Loebolus
%link{:rel => 'alternate', :type => 'application/rdf+xml', :href => 'index.rdf'}
:css
@font-face {
font-family: 'EB Garamond';
font-style: normal;
font-weight: 400;
src: url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-regular.eot'); /* IE9 Compat Modes */
src: local('EB Garamond Regular'), local('EBGaramond-Regular'),
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-regular.woff') format('woff'), /* Modern Browsers */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-regular.svg#EBGaramond') format('svg'); /* Legacy iOS */
}
/* eb-garamond-italic - latin */
@font-face {
font-family: 'EB Garamond';
font-style: italic;
font-weight: 400;
src: url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-italic.eot'); /* IE9 Compat Modes */
src: local('EB Garamond Italic'), local('EBGaramond-Italic'),
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-italic.woff') format('woff'), /* Modern Browsers */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-italic.svg#EBGaramond') format('svg'); /* Legacy iOS */
}
/* eb-garamond-700 - latin */
@font-face {
font-family: 'EB Garamond';
font-style: normal;
font-weight: 700;
src: url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-700.eot'); /* IE9 Compat Modes */
src: local('EB Garamond Bold'), local('EBGaramond-Bold'),
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-700.woff2') format('woff2'), /* Super Modern Browsers */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-700.woff') format('woff'), /* Modern Browsers */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('assets/fonts/eb-garamond-v9-greek_latin_greek-ext-700.svg#EBGaramond') format('svg'); /* Legacy iOS */
}
li.greek::before {
content: '📗 ';
}
li.latin::before {
content: '📕 ';
}
h1, h2, h3, h4 {
font-family:'Palatino', 'EB Garamond', serif;
}
body {
font-family:'EB Garamond', serif;
margin: 80px auto;
width: 720px;
line-height: 24px;
}
a {
color: black;
text-decoration: none;
border-bottom: 1px solid #ddd;
}
a:hover {
border-bottom: 1px solid black;
}
%body
%h1 Loebolus
%p
Loebolus is based on
%a{:href => 'http://www.edonnelly.com/loebs.html'}
Edwin Donnelly's “Downloebables”
, aiming to make all the public domain Loebs more easily downloadable
by re-hosting the PDF's directly, without the need to enter CAPTCHA's.
%p
You can also download
%a{:href => 'https://github.com/ryanfb/loebolus-data/archive/gh-pages.zip'}
a .zip containing all #{associations.keys.length} PDF's
(3.2GB).
Or
%a{:href => 'https://github.com/ryanfb/loebolus'}
view the code used for generating this site on GitHub.
%ul
- associations.sort.map do |key,value|
%li{:class => value['language']}
%a{:href => "https://ryanfb.github.io/loebolus-data/#{key}.pdf"}
#{key} - #{value['title']}
%small
By downloading any of these files, you agree that you have verified that it is legal to do so from your territory. If you believe you are the copyright holder on any of these files and that they are <strong>not</strong> in the public domain in the United States, please <a href='mailto:ryan.baumann@gmail.com'>contact me</a>. Note that for works published or with a copyright notice between 1923 and 1963 and linked from here, I have attempted to verify that there has been no <a href='http://collections.stanford.edu/copyrightrenewals/'>copyright renewal</a> and that the work is not covered by GATT, allowing the work to fall into the public domain in the United States.