diff --git a/www/core b/www/core index e0770c90f..78ee459f8 160000 --- a/www/core +++ b/www/core @@ -1 +1 @@ -Subproject commit e0770c90f6fd5102ac58f188d0c79bea8b95bd3a +Subproject commit 78ee459f88f66072dde0f8d3279b8b0d8b7f3a6f diff --git a/www/js/defaults.json b/www/js/defaults.json index 5c1bfab06..dc7c5fe84 100644 --- a/www/js/defaults.json +++ b/www/js/defaults.json @@ -7,6 +7,13 @@ "translationEnglish": "ssk", "transliteration": true, "meta": true + }, + "slide-layout": { + "fields": { + "display-translation": true, + "display-transliteration": true, + "display-teeka": true + } } }, "gurmukhiKB": false, diff --git a/www/src/scss/viewer.scss b/www/src/scss/viewer.scss index 298f84078..f88dc79c8 100644 --- a/www/src/scss/viewer.scss +++ b/www/src/scss/viewer.scss @@ -63,7 +63,7 @@ html { display: flex; flex-flow: column nowrap; height: calc(100% - 250px); - justify-content: space-around; + justify-content: flex-start; opacity: 0; position: absolute; transition: opacity 400ms ease-out; @@ -81,7 +81,7 @@ body.viewer .slide { h1, h2 { cursor: default; - margin: 0; + margin: 0 0 20px; } .gurbani { @@ -98,6 +98,7 @@ h2 { .translation { font-size: 5vh; + line-height: 1.2; } .transliteration { @@ -108,7 +109,19 @@ h2 { .teeka { font-family: 'AnmolUniBaniTrue'; font-size: 4vh; - line-height: 1.3; + line-height: 1.4; +} + +.translation, +.transliteration, +.teeka { + display: none; +} + +.display-translation .translation, +.display-transliteration .transliteration, +.display-teeka .teeka { + display: block; } #logo {