From b3099faa5e161e68142e3fc8d936a3c14fd62cf0 Mon Sep 17 00:00:00 2001 From: Michel de Joode Date: Tue, 20 Mar 2018 22:29:28 +0100 Subject: [PATCH] v2.06 -Added all Bible books -New theme, mobile friendly --- index.html | 219 ++++++++++++++++++++++++++++++++----------------- js/BookList.js | 47 ++++++++++- js/style2.css | 181 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 372 insertions(+), 75 deletions(-) create mode 100644 js/style2.css diff --git a/index.html b/index.html index fb42903..b40cfef 100644 --- a/index.html +++ b/index.html @@ -1,73 +1,146 @@ - - - - - - - - - - - The Bible, Decentralised. - - -
-
-
-

The Bible, decentralised.

-

-
-
- -
-
-

Bible Books

-
Old Testament
- Genesis
- Exodus
- Leviticus
- Numbers
- Deuteronomy
- Joshua
- Judges
- Ruth
- 1 Samuel
- 2 Samuel
- 1 Kings
- 2 Kings
-
-
New Testament
- Matthew
- Mark
- Luke
- John
- Acts
- Romans
- 1 Corinthians
- 2 Corinthians
- Galatians
- Ephesians
- Philippians
- Colossians
- 1 John
-
-

More books will be added

- -
-
- -

-

-


v2.03 - using ipfs.infura.io gateway or local IPFS node if available - More info: Github

-
-
- - -
- - - - - - - \ No newline at end of file + + + + + + + + The Bible, Decentralised + + + + + + + + + + + + + +
+ + + + +
+ +

+

+


v2.06 - using ipfs.infura.io gateway or local IPFS node if available - More info: Github

+
+
+ + + + + + + + + + + + + + + + + + + diff --git a/js/BookList.js b/js/BookList.js index 1a39690..d31cb3c 100644 --- a/js/BookList.js +++ b/js/BookList.js @@ -11,6 +11,33 @@ var list = { "2 Samuel":"QmQbXxvJPM494MdveSLCbfzVVaaLMZmsGi89eVKXqqaEFz", "1 Kings":"QmXBTLqg8HADnBkz32uGe81isYHuaR6BDK2jB2fABe6fhg", "2 Kings":"QmeeXx8qfjxUmLvSQYDUafGE6X4mdi2dW2QcYctFYwC9XG", + "1 Chronicles":"QmR5A98A7YLguVvJcjwCQJTG2XS1DmExt9iDZUpimXXcDs", + "2 Chronicles":"QmcakgLpaDsVdRsgAyiF6Y9Fxtb9gjz3e3PmzDj6ZvBGtQ", + "Ezra":"QmWG8KxH8kQpK4VUQf5eBEq6sBhpT6Ad6br6toWdJUNmCu", + "Nehemia":"Qmcqta8P8B49cvx5RMuSJvJZcKNabyDbLkDySyr3f2c4wQ", + "Esther":"QmRFcPRduQPBiLzKAgQZZwM3paaKWVHdxHPwTx26KU8wPr", + "Job":"QmPnSPquC5jfiWQXSUKnVeZn72csLqWhronWb5nk7p68nH", + "Psalms":"QmXLFC7YNJTfDH9LNKeVDo9QnqPb2HSsNSZZVTXuR7ZqCv", + "Proverbs":"QmQoPGcr7618hfmZk2KhTeTmoXSdn1YyLDEXezAE2pdNSp", + "Ecclesiastes":"QmeP58iKY23GfG78tXuFCXbZTY2ErZSyGpw6VGcqvVjDPb", + "Song of Songs":"QmZqwpxCjb5AJS2bgcWDqYHR7TD9weSmksky3k8UyKtNkE", + "Isaiah":"Qmdx5Az27fyqsSTrFhape7dng38bswUroYPznPpnwLtcnZ", + "Jeremiah":"QmZYxgq2tYdR689yRhPjuLJuZszwANx8Bwnw62KoyFpN7N", + "Lamentations":"QmbVfTjsXbCuRcsso8ZBEYbStsoD2YPPL9sw3sPyF3GrxK", + "Ezekiel":"QmYBMgiz32mcZuo8RduPg5Wo6sNkJtGaJaU5ngRPReYDTf", + "Daniel":"QmfSwW4qg7dbGQoUdzVUMELPDj9xMBiSRrW2z1UMCBoof8", + "Hosea":"QmbiEyopyGD2mZ62vgUBTpCKicytNYBbReACu6ZYth9nBM", + "Joel":"QmUntsTZZaNgrSpenD81mnC1yPenQNer3TEfcSd719rPSL", + "Amos":"QmVR6LNvxXbiSt3qBgqRgXhiXtY1XzHKqKfFKKYeue47zY", + "Obadiah":"QmW5hv5Nc7nhCvLdVdEG9f8yFuZyqY4Y32GcEzTK3rcXHW", + "Jonah":"QmaWUpiWvnEapfw5TMUsVXWoGG7FzQVUHRW9BuUupWFWU1", + "Micah":"QmVViKPL1HMgbuCqporz1ryfqhEauvL2gcjbrr19wD1BxL", + "Nahum":"QmZLEzB2VUEvQA2k68svodyxfEX7ZRHRqFUUFhyY9XxvXv", + "Habakkuk":"QmPiWx4jAUP1BRP12Bjk76aSa3cUhymMBUQbkSdofeSrhV", + "Zephaniah":"QmQhxGqusgQ1rWf9nFxRHi5nCjNz4UrxQRcyvRh4a5qAC4", + "Haggai":"QmRrpSZUBuxyXZWd7i5omhB2cyeVEWi7sthn4WAGoJWEfN", + "Zechariah":"Qmas6mAGBmejgPutspGGyjuXFqgmuLpXURDYu95kWUPZcg", + "Malachi":"QmRYgng4EH8GWhNkSvEZK2CT98uSF31nPdqbM3mWqX6iC4", Matthew:"QmW56MEx7QhGzfA9QkSdQw64kNPygs3x4hpLxtcwp6EpvU", Mark:"QmXnHCA3gmPvMdSArnR9iCxMFjhwejeB1iQi3k5aom1ijr", Luke:"QmZNSJt6uJkvdGQEVDH8K62qoMgTwurDaBFJRJ1KtJ7PoT", @@ -23,5 +50,21 @@ var list = { Ephesians:"Qmf79fuLnnYkcyxke5vwm8bnwH2f1Un3PHdLrNTYWxWs7x", Philippians:"QmR6wWKfrhgePdfQvZCroP3kvkaV5ZCX89aZFTPsXFm4kw", Colossians:"QmSXU8Px8msMzCBu8djstQwJ31hdnZPb6Wkmg3urs5Xg1p", - "1 John":"QmPWM2CJ9RS7BBs9ccqX4K11xGnoSk5nKM5GNmQ3kVW1AM" - }; \ No newline at end of file + "1 Thessalonians":"QmbyjNUX4ihZzzpfSGYwL2nMNchDL3usGm27boobyj1ZpX", + "2 Thessalonians":"QmVFuktpA3wkLrrH3ZL5XTvVJZSZQMMKsADXyUvp8yKtJb", + "1 Timothy":"QmaCRGniou4VX4VjmF56xs1g36KN1sFb3LrWUYbxqjEGV5", + "2 Timothy":"QmddxY2PwXgk6nCS3jFF7Vw9EjXrD63NMq7QTw58m29YWV", + Titus:"QmYFyxGmYu5sseZMtEL67qCatgMhAZhA9G7f41uviqB5pW", + Philemon:"QmTZE26n9HTXun6nHa3Erok4bPrRPUyU1QZdd7HSXk6bbp", + Hebrews:"Qmd6GZE4n4ViHqiZL6p1L9U4auRt9CtwTDy5swfzJWx8SQ", + "1 Peter":"QmXaJXUWzv6FF29w3aUBPMdEYhv3oZUzQmct1rfhjG9BRX", + "2 Peter":"QmdZztKdKy5i44PWSwoutnKKwXYm8kNZeCLUt2PrbrE3Vm", + "1 John":"QmPWM2CJ9RS7BBs9ccqX4K11xGnoSk5nKM5GNmQ3kVW1AM", + "2 John":"QmfLu7oMj1DQMocLwqFkCBM2N4aF5JJv1eExxfZrpEAn9W", + "3 John":"QmbvzsTBfXxKERy8gZMutH7P4aGii5vT5Qz53DF92XE1WR", + Jude:"QmNeKQ9sL3WnbtvxkSdL5DjNwoHTgsiUHpRzSdCj3DoxAr", + Revelations:"QmWNyHqJXTzeGbPNCspZ51jwvCnJVhp2R3CsTb8syVVCzQ" + }; + + + \ No newline at end of file diff --git a/js/style2.css b/js/style2.css new file mode 100644 index 0000000..896b14e --- /dev/null +++ b/js/style2.css @@ -0,0 +1,181 @@ +/* + DEMO STYLE +*/ +@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700"; + + +body { + font-family: 'Poppins', sans-serif; + background: #fafafa; +} + +p { + font-family: 'Poppins', sans-serif; + font-size: 1.1em; + font-weight: 300; + line-height: 1.7em; + color: #333; +} + +a, a:hover, a:focus { + color: inherit; + text-decoration: none; + transition: all 0.3s; +} + +.navbar { + padding: 15px 10px; + background: #fff; + border: none; + border-radius: 0; + margin-bottom: 40px; + box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); +} + +.navbar-btn { + box-shadow: none; + outline: none !important; + border: none; +} + +.line { + width: 100%; + height: 1px; + border-bottom: 1px dashed #ddd; + margin: 40px 0; +} + +/* --------------------------------------------------- + SIDEBAR STYLE +----------------------------------------------------- */ +#sidebar { + width: 250px; + position: fixed; + top: 0; + left: 0; + height: 100vh; + z-index: 999; + background: #7386D5; + color: #fff; + transition: all 0.3s; +} + +#sidebar.active { + margin-left: -250px; +} + +#sidebar .sidebar-header { + padding: 20px; + background: #6d7fcc; +} + +#sidebar ul.components { + padding: 20px 0; + border-bottom: 1px solid #47748b; +} + +#sidebar ul p { + color: #fff; + padding: 10px; +} + +#sidebar ul li a { + padding: 10px; + font-size: 1.1em; + display: block; +} +#sidebar ul li a:hover { + color: #7386D5; + background: #fff; +} + +#sidebar ul li.active > a, a[aria-expanded="true"] { + color: #fff; + background: #6d7fcc; +} + + +a[data-toggle="collapse"] { + position: relative; +} + +a[aria-expanded="false"]::before, a[aria-expanded="true"]::before { + content: '\e259'; + display: block; + position: absolute; + right: 20px; + font-family: 'Glyphicons Halflings'; + font-size: 0.6em; +} +a[aria-expanded="true"]::before { + content: '\e260'; +} + + +ul ul a { + font-size: 0.9em !important; + padding-left: 30px !important; + background: #6d7fcc; +} + +ul.CTAs { + padding: 20px; +} + +ul.CTAs a { + text-align: center; + font-size: 0.9em !important; + display: block; + border-radius: 5px; + margin-bottom: 5px; +} +a.download { + background: #fff; + color: #7386D5; +} +a.article, a.article:hover { + background: #6d7fcc !important; + color: #fff !important; +} + + +/* --------------------------------------------------- + CONTENT STYLE +----------------------------------------------------- */ +#content { + width: calc(100% - 250px); + padding: 40px; + min-height: 100vh; + transition: all 0.3s; + position: absolute; + top: 0; + right: 0; +} +#content.active { + width: 100%; +} + +#chapters a { +color:#337ab7; +} + +/* --------------------------------------------------- + MEDIAQUERIES +----------------------------------------------------- */ +@media (max-width: 768px) { + #sidebar { + margin-left: -250px; + } + #sidebar.active { + margin-left: 0; + } + #content { + width: 100%; + } + #content.active { + width: calc(100% - 250px); + } + #sidebarCollapse span { + display: none; + } +}