diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/data/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/data/tdeio_sword.css.cmake (renamed from src/data/tdeio_sword.css) | 2 | ||||
-rw-r--r-- | src/data/tdeio_sword.css.in | 273 |
3 files changed, 4 insertions, 275 deletions
diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt index fe2aaef..5543e1c 100644 --- a/src/data/CMakeLists.txt +++ b/src/data/CMakeLists.txt @@ -1,4 +1,6 @@ +configure_file( tdeio_sword.css.cmake tdeio_sword.css @ONLY ) + install( - FILES tdeio_sword.css swordvertical.png + FILES ${CMAKE_CURRENT_BINARY_DIR}/tdeio_sword.css swordvertical.png DESTINATION ${DATA_INSTALL_DIR}/tdeio_sword ) diff --git a/src/data/tdeio_sword.css b/src/data/tdeio_sword.css.cmake index 52b6d66..df000d2 100644 --- a/src/data/tdeio_sword.css +++ b/src/data/tdeio_sword.css.cmake @@ -17,7 +17,7 @@ div.content margin: 0px; background: #ffffff; border: solid #808080 1px; - /* background-image: url('file:///usr/share/apps/tdeio_sword/swordvertical.png'); + /* background-image: url('file://@DATA_INSTALL_DIR@/tdeio_sword/swordvertical.png'); background-repeat: no-repeat; background-position: 50% 50%; */ } diff --git a/src/data/tdeio_sword.css.in b/src/data/tdeio_sword.css.in deleted file mode 100644 index ad54f41..0000000 --- a/src/data/tdeio_sword.css.in +++ /dev/null @@ -1,273 +0,0 @@ -body { - background-color: #d0d0d0; - margin: 0px; - padding: 0px; - line-height: 1.5em; -} - - -div.page -{ - margin: 10px; -} - -div.content -{ - padding: 5px 5px 5px 25px; - margin: 0px; - background: #ffffff; - border: solid #808080 1px; - /* background-image: url('file://@prefix@/share/apps/tdeio_sword/swordvertical.png'); - background-repeat: no-repeat; - background-position: 50% 50%; */ -} - - -h1, h2, h3 { - color: #404040; -} - -h1 { - font-size: 135%; - margin-left: -15px; -} - -h2 -{ - font-size: 120%; - margin-left: -10px; -} - -h3 -{ - font-size: 110%; - margin-left: -5px; -} - -h4, h5, h6 { font-size: 100%; } - - -hr { - text-align: center ; -} - -a { - color: #4000ff; - font-weight: bold; -} - -a:link, a:visited { - text-decoration: none ; -} - -a:hover { - text-decoration: underline; -} - -div.text { - margin-bottom: 10px; -} - -td.page { - background-color: #ffffff; - width: 100%; -} - -.jesusquote { - color: red ; -} - -.versenumber { - vertical-align: super; - font-size: 0.7em ; -} - -.biblename { - text-align: right ; - color: #202020 ; - font-style: italic; - font-size: small; -} - -img.tableimg { - display: block; - margin: 0px; - padding: 0px; - border: none; -} - -.error { - font-size: 1.2em ; - color: red ; -} - -.fixme { - font-size: 1.2em ; - color: red ; -} - -h1.moduletitle, h2.moduletitle, h1.bibleref, h2.biblref { - text-align: center; -} - -h1.moduleslist { - text-align: center; -} - -/* Page links */ -div.links { - font-size: 90%; - text-align: center; - clear: both; - padding-top: 5px; -} - -div.links ul { - list-style: none; - margin: 0px; - padding: 0px; -} -div.links li { - display: inline; - margin: 0px; - padding: 0px; -} - -div.links li:before { - display: inline; - content: " | "; -} -div.links li:first-child:before { - display: inline; - content: ""; -} - -/* Page toggles */ -div.toggles { - font-size: 90%; - text-align: right; - border-bottom: 1px solid #808080; - border-left: 1px solid #808080; - border-right: 1px solid #808080; - padding-left: 2px; - padding-right: 2px; - background: #e0e0e0; -} - -div.toggles ul { - list-style: none; - margin: 0px; - padding: 0px; -} -div.toggles li { - display: inline; - margin: 0px; - padding: 0px; -} - -div.toggles li:before { - display: inline; - content: " | "; -} -div.toggles li:first-child:before { - display: inline; - content: "Toggles: "; -} - -/* Settings page */ - -table.settings { - border-top: 1px solid black; - border-left: 1px solid black; -} -table.settings td, -table.settings th { - border-right: 1px solid black; - border-bottom: 1px solid black; - margin: 0px; -} - - -table.settings th { - padding: 3pt 5pt 3pt 5pt ; - vertical-align: middle; - text-align: center; - background-color: #c0c0c0; -} - -table.settings td { - padding: 2pt 5pt 2pt 5pt; - vertical-align: top; - text-align: left; - background-color: white; -} - - -table.settings td.settingscategory { - text-align: center; - vertical-align: middle; - font-weight: bold ; - background-color: #e0e0e0; -} - -/* Search form */ - -h1.searchform { - text-align: center; -} - -div.searchform { - text-align: center; -} -div.searchform table { - margin: auto; -} - -/* Nav links */ -div.navbottom, -div.navtop { - font-size: 0.9em; - text-align: right; - margin-top: 1em; -} -div.navbottom { - padding-top: 0px; - margin-top: 0px; -} - -div.navtop { - padding-bottom: 0px; - margin-bottom: 0px; -} - -div.navtop li, -div.navbottom li { - display: inline; - margin: 0px; -} - -div.navtop li:before, -div.navbottom li:before { - content: "| "; -} - -div.navtop li.first:before, -div.navbottom li.first:before { - content: "" -} - -div.navtop ul, -div.navbottom ul { - margin-bottom: 0px; - margin-top: 0px -} - - -/* Misc */ - - -.strongs, .morph { - font-size: small; - font-style: italic; -} - |