summaryrefslogtreecommitdiff
path: root/src/display-templates
diff options
context:
space:
mode:
authorTeus Benschop <teusjannette@gmail.com>2017-10-06 12:24:31 +0200
committerTeus Benschop <teusjannette@gmail.com>2017-10-06 12:24:31 +0200
commit90d2181239761f8950b95768d3b037843e9e8b50 (patch)
tree6cc667ab420cc04029de2de7e361d2305e214595 /src/display-templates
parent1ea03c0fce8066c1e22188447b4a6ca4dcef1201 (diff)
New upstream version 2.11.0
Diffstat (limited to 'src/display-templates')
-rw-r--r--src/display-templates/Basic-mobile.tmpl43
-rw-r--r--src/display-templates/Blue.css10
-rw-r--r--src/display-templates/Christmastide.css9
-rw-r--r--src/display-templates/Crazy.css13
-rw-r--r--src/display-templates/Green.css11
-rw-r--r--src/display-templates/HighContrast.css11
-rw-r--r--src/display-templates/Simple.css8
-rw-r--r--src/display-templates/basic_template.txt6
8 files changed, 107 insertions, 4 deletions
diff --git a/src/display-templates/Basic-mobile.tmpl b/src/display-templates/Basic-mobile.tmpl
new file mode 100644
index 0000000..1c66661
--- /dev/null
+++ b/src/display-templates/Basic-mobile.tmpl
@@ -0,0 +1,43 @@
+<html>
+<head>
+ <title>#TITLE#</title>
+ <style type="text/css">
+
+a:link {
+ color: #LINK_COLOR#;
+ text-decoration: none
+}
+
+.chaptertitle {
+ font-weight: bold;
+ font-size: x-large
+}
+
+.sectiontitle {
+ font-weight: bold;
+ font-size: medium
+}
+
+.highlightwords {
+ color: #HIGHLIGHT_COLOR#;
+ font-weight: bold;
+ background-color: #FFEECC;
+}
+
+.jesuswords {
+ color: #JESUS_WORDS_COLOR#;
+ font-size: 0.9em;
+}
+
+.entry + .sectiontitle {
+ margin-top:35px;
+}
+
+</style>
+</head>
+
+<body id="#DISPLAYTYPE#" class="#MODTYPE# #MODTYPE#_#MODNAME#">
+ <div class="chaptertitle"><center>#CHAPTERTITLE#</center></div>
+ <div id="content" lang="#LANG_ABBREV#" xml:lang="#LANG_ABBREV#" dir="#PAGE_DIRECTION#">#CONTENT#</div>
+</body>
+</html>
diff --git a/src/display-templates/Blue.css b/src/display-templates/Blue.css
index eafe85b..148eb37 100644
--- a/src/display-templates/Blue.css
+++ b/src/display-templates/Blue.css
@@ -33,6 +33,9 @@ a:hover {
padding:0 2px;
}
+.inline {
+ display: inline;
+}
/* Settings which apply to all entries in all modules */
.entry {
@@ -65,6 +68,9 @@ td.entry, td.currententry {
.currententry[dir=rtl] {
text-align:right !important;
}
+.currententry.inline {
+ line-height:1.4em;
+}
div.currententry {
}
span.currententry {
@@ -318,3 +324,7 @@ td.entry + td.entry {
border-bottom:1px solid black;
color:black;
}
+
+.highlightwords {
+ background-color: #ffff66;
+}
diff --git a/src/display-templates/Christmastide.css b/src/display-templates/Christmastide.css
index bc65e76..d7b55a4 100644
--- a/src/display-templates/Christmastide.css
+++ b/src/display-templates/Christmastide.css
@@ -32,6 +32,10 @@ a {
padding:2px;
}
+.inline {
+ display: inline;
+}
+
td.entry, div.entry {
padding: 5px;
vertical-align: top;
@@ -40,7 +44,6 @@ td.entry, div.entry {
div.entry {
padding: 5px;
}
-
td.currententry, div.currententry {
padding: 5px;
vertical-align: top;
@@ -131,3 +134,7 @@ div.currententry {
.italic {
font-style: italic;
}
+
+.highlightwords {
+ background-color: #ffff66;
+}
diff --git a/src/display-templates/Crazy.css b/src/display-templates/Crazy.css
index e404fc3..1cb5145 100644
--- a/src/display-templates/Crazy.css
+++ b/src/display-templates/Crazy.css
@@ -41,6 +41,10 @@ body {
a { color:#FF0004; padding:0; }
a:hover { }
+.inline {
+ display: inline;
+}
+
/* An entry is the generic element used for all content items.
In Bibles an entry contains a verse, in commentaries the comment to a verse range,
in lexicons an simple item and in book the text of an item with other .entry elements as childs.
@@ -76,12 +80,13 @@ td.entry, td.currententry {
*/
.currententry {
padding:0.3em;
- line-height:1.6em;
background-color:#D3E5FF;
/*border: thin solid black;*/
}
-
+.currententry.inline {
+ line-height:1.6em;
+}
table .currententry:nth-child(1) {
margin-left:0;
border-left:10px solid #99B4FF;
@@ -298,3 +303,7 @@ so something like .alternative:before { content:"'"attr(alternative); } is possi
#printer .rangeheading {}
*[dir=rtl] { text-align:right !important; }
+
+.highlightwords {
+ background-color: #ffff66;
+}
diff --git a/src/display-templates/Green.css b/src/display-templates/Green.css
index 4be46b9..aaf7ef6 100644
--- a/src/display-templates/Green.css
+++ b/src/display-templates/Green.css
@@ -35,6 +35,10 @@ a:hover {
padding:0 2px;
}
+.inline {
+ display: inline;
+}
+
/* Settings which apply to all entries in all modules */
.entry {
@@ -64,6 +68,9 @@ td.entry, td.currententry {
.currententry[dir=rtl] {
text-align:right !important;
}
+.currententry.inline {
+ line-height:1.4em;
+}
div.currententry {
}
span.currententry {
@@ -298,3 +305,7 @@ td.entry + td.entry {
border-bottom:1px solid black;
color:black;
}
+
+.highlightwords {
+ background-color: #ffff66;
+}
diff --git a/src/display-templates/HighContrast.css b/src/display-templates/HighContrast.css
index 0dd1053..eea4faa 100644
--- a/src/display-templates/HighContrast.css
+++ b/src/display-templates/HighContrast.css
@@ -39,6 +39,10 @@ a:hover {
text-decoration:underline;
}
+.inline {
+ display: inline;
+}
+
/* Settings which apply to all entries in all modules */
.entry {
padding: 2px;
@@ -67,6 +71,9 @@ div.entry, td.entry, td.currententry {
.currententry[dir=rtl] {
text-align: right;
}
+.currententry.inline {
+ line-height:1.4em;
+}
div.currententry {
}
span.currententry {
@@ -310,3 +317,7 @@ td.entry + td.entry {
border-bottom: 1px solid black;
color: black;
}
+
+.highlightwords {
+ background-color: #ffff66;
+}
diff --git a/src/display-templates/Simple.css b/src/display-templates/Simple.css
index 32ec57f..1482c95 100644
--- a/src/display-templates/Simple.css
+++ b/src/display-templates/Simple.css
@@ -29,6 +29,10 @@ a {
padding:2px;
}
+.inline {
+ display: inline;
+}
+
td.entry, div.entry {
padding: 5px;
vertical-align: top;
@@ -116,3 +120,7 @@ div.currententry {
.italic {
font-style: italic;
}
+
+.highlightwords {
+ background-color: #ffff66;
+}
diff --git a/src/display-templates/basic_template.txt b/src/display-templates/basic_template.txt
index dc98ab6..39f69fc 100644
--- a/src/display-templates/basic_template.txt
+++ b/src/display-templates/basic_template.txt
@@ -9,6 +9,10 @@
a { }
a:hover { }
+.inline {
+ display: inline;
+}
+
/* An entry is the generic element used for all content items.
In Bibles an entry contains a verse, in commentaries the comment to a verse range,
in lexicons an simple item and in book the text of an item with other .entry elements as childs.
@@ -175,4 +179,4 @@ so something like .alternative:before { content:"'"attr(alternative); } is possi
#infodisplay .entryname { }
#infodisplay .rangeheading {}
-#printer .rangeheading {} \ No newline at end of file
+#printer .rangeheading {}