#global-progress {
- display: none;
position: sticky;
top: 0;
background: white;
left: 0;
top: 0;
}
- #book-text {
- padding: 5px;
+ .main-text-body {
+ margin: 16px;
@include rwd($break-wide) {
width: 717px;
- padding: 0;
+ margin: 0 auto;
}
- margin: 0 auto;
color: #333333;
}
+
+#heretoc {
+ margin-top: .5em;
+
+ // Workaround for missing li's.
+ ol a {
+ line-height: 30px;
+ }
+}
+
#menu .box {
display: none;
position: absolute;
right: 0px;
top: 50px;
width: 80vw;
+ max-width: 600px;
height: 300px;
padding: 30px;
overflow: auto;
- background: #F7BA00;
+ background: #FFE79E;
box-shadow: 0px 0px 20px rgba(1, 129, 137, 0.2);
border-radius: 10px;
}
}
#reference-box {
display: none;
+ width: 300px;
+ position: fixed;
+ top: 0;
+ right: 0;
+ z-index:100;
+ background: #eee;
+
+ img {
+ margin: 0;
+ }
+
+ #reference-map {
+ height:400px;
+ width: 300px;
+ @media screen and (max-height: 800px) {
+ height: 300px;
+ }
+ }
+ #reference-images {
+ padding: 10px;
+ white-space: nowrap;
+ overflow-x: auto;
+ a {
+ display: inline-block;
+ vertical-align: middle;
+ margin: 0 10px 0 0;
+ img {
+ width: auto;
+ border: 5px solid white;
+ box-shadow: 4px 4px 4px #666;
+ max-width: 240px;
+ max-height: 200px;
+ }
+ }
+ }
+ #reference-link {
+ display: block;
+ font-size: 1.5em;
+ padding: 10px;
+ }
+
+ #reference-close {
+ font-size: 30px;
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ z-index: 1000;
+ font-family: sans-serif;
+ color: black;
+ }
}
+
+
+
+
#menu #info {
padding-top: 0;
display: none;
height: 300px;
padding: 0px 30px 30px;
overflow: auto;
- background: #F7BA00;
box-shadow: 0px 0px 20px rgba(1, 129, 137, 0.2);
border-radius: 10px;
#main-text #book-text {
+
body {
- font-size: 16px;
- font-family: Gelasio, Georgia, "Times New Roman", serif;
- line-height: 1.5em;
- margin: 0;
-}
+ font-size: 16px;
+ font-family: Gelasio, Georgia, "Times New Roman", serif;
+ line-height: 1.5em;
+ margin: 0;
+ }
a {
color: blue;
h3, .subtitle2 {
font-size: 1.5em;
- margin: 1.5em 0 0;
+ margin: 1.5em 0 1em 0;
font-weight: normal;
line-height: 1.5em;
}
/* ============= */
.verse, .paragraph {
position:relative;
+ padding: 0 48px 0 0;
}
/*.anchor {
position: absolute;
margin: 0;
text-indent: 1.5em;
}
+p.paragraph.werset {
+ text-indent: 0;
+ margin-bottom: 1em;
+}
.motto {
text-align: justify;
margin: 1.5em 0 0;
}
+.paragraph {
+ &.miejsce_data, &.pozdrowienie, &.podpis {
+ text-align: right;
+ }
+ &.naglowek_listu {
+ text-align: center;
+ margin: .5em 0;
+ }
+}
+
+
p.motto_podpis {
font-size: 0.875em;
text-align: right;
em.math, em.foreign-word, em.book-title, em.didaskalia {
font-style: italic;
}
+em.foreign-word.foreign-word-protected {
+ font-style: normal;
+}
em.author-emphasis {
letter-spacing: 0.1em;
.anchor {
/* Show line numbers. */
float: left;
+ clear: left;
font-size: .8em;
margin-left: -40px;
width: 36px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
+}
+
+
+
+.theme-begin {
+ font-size: .9em;
+ position: relative;
+ float: right;
+ margin-bottom: 8px;
+ clear: both;
+ line-height: 1.5em;
+ text-align: left;
+
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ letter-spacing: 0;
+ text-transform: none;
+ text-decoration: none;
+ user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ margin-right: -227px;
+ width: 170px;
+ text-indent: 0;
+ color: inherit;
+ padding-left: 12px;
+ border-left: 1px solid #333;
}
+
+a.reference.interesting:after {
+ content: url('../images/pin.svg');
+ padding: 3px;
+}
}
margin-bottom: 1em;
}
}
+
+
+#main-text {
+ #annotation-box {
+ display: none;
+ position: fixed;
+
+ .pointer-bottom {
+ transform: rotate(45deg);
+ left: 27.5px;
+ bottom: -6px;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+
+ display: block;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ z-index: 1;
+ border-radius: 0px 0px 2px 0px;
+ background: var(--white-100, #FFF);
+ border: 1px solid var(--teal-700, #007880);
+ display: block;
+ }
+ .pointer-top {
+ left: 27.5px;
+ bottom: -5px;
+ transform: rotate(45deg);
+ display: block;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ z-index: 3;
+ border-radius: 0px 0px 2px 0px;
+ background: #fff;
+ display: block;
+ }
+
+ #annotation {
+ max-width: 470px;
+ position: relative;
+ z-index: 2;
+ background: white;
+
+ padding: 20px;
+ box-shadow: 0px 0px 20px rgba(1, 129, 137, 0.2);
+ border: 1px solid #007880;
+ border-radius: 6px;
+
+ @include rwd($break-wide) {
+ }
+ }
+
+
+ #annotation-content {
+ max-height: 138px;
+ overflow-y: scroll;
+ color: var(--black-900, #333);
+ leading-trim: both;
+ text-edge: cap;
+ font-variant-numeric: oldstyle-nums proportional-nums;
+ /* Czytnik/Desktop/p read */
+ font-family: "Source Serif Pro";
+ font-size: 18px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 28px; /* 155.556% */
+
+ em.foreign-word.foreign-word-protected {
+ font-style: normal;
+ }
+ }
+
+ #footnote-link {
+ display: block;
+ margin-top: 16px;
+ text-align: right;
+ }
+ }
+
+
+ #qbox {
+ display: none;
+ position: fixed;
+ padding: 4px;
+ border: 1px solid #007880;
+ border-radius: 22px;
+ background: white;
+ box-shadow: 6px 6px 10px 0px rgba(0, 120, 128, 0.35);
+
+ &.copied {
+ .content:after {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ content: "skopiowane";
+ display: flex;
+ background: white;
+ color: black;
+ justify-content: center;
+ align-items: center;
+ border-radius: 22px;
+ }
+ }
+
+ .content {
+ overflow: hidden;
+ display: flex;
+ a {
+ width: 70px;
+ line-height: 44px;
+ text-align: center;
+ border-left: 1px solid #BBF6FA;
+
+ &:nth-child(1) {
+ border-left: none;
+ }
+
+ img {
+ vertical-align: middle;
+ height: 22px;
+ }
+ }
+ }
+
+ .pointer-bottom {
+ transform: rotate(45deg);
+ left: 128px;
+ top: -6px;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+
+ display: block;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ z-index: 1;
+ border-radius: 0px 0px 2px 0px;
+ background: var(--white-100, #FFF);
+ border: 1px solid var(--teal-700, #007880);
+ display: block;
+ }
+ .pointer-top {
+ left: 128px;
+ top: -5px;
+ transform: rotate(45deg);
+ display: block;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ z-index: 3;
+ border-radius: 0px 0px 2px 0px;
+ background: #fff;
+ display: block;
+ }
+
+ }
+}
+
+
+
+.zakladka {
+ display: none;
+ position: absolute;
+ //z-index: 70;
+ width: 40px;
+ height: 40px;
+ .icon {
+ width: 40px;
+ height: 40px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ .icon-exists, .icon-note {display: none;}
+ img {
+ }
+ }
+
+ #zakladka-box {
+ padding: 20px;
+ width: 270px;
+ border: 1px solid #007880;
+ border-radius: 8px;
+ box-shadow: 6px 6px 10px 0px rgba(0, 120, 128, 0.35);
+ background: #E1F1F2;
+ position: relative;
+ left: -225px;
+ z-index: 3;
+ @include rwd($break-wide) {
+ left: -12px;
+ }
+
+ .pointer-bottom {
+ transform: rotate(45deg);
+ left: 238px;
+ top: -7px;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ box-sizing: border-box;
+
+ display: block;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ z-index: 1;
+ border-radius: 0px 0px 2px 0px;
+ background: var(--white-100, #E1F1F2);
+ border: 1px solid var(--teal-700, #007880);
+ display: block;
+
+ @include rwd($break-wide) {
+ left: 25px;
+ }
+ }
+ .pointer-top {
+ left: 238px;
+ top: -5px;
+ transform: rotate(45deg);
+ display: block;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ z-index: 3;
+ border-radius: 0px 0px 2px 0px;
+ background: #E1F1F2;
+ display: block;
+ @include rwd($break-wide) {
+ left: 25px;
+ }
+ }
+
+
+ .content {
+ display: flex;
+ align-items: flex-start;
+ flex-direction: column;
+ gap: 12px;
+ .zakladka-tool {
+ color: #333;
+ line-height: 30px;
+ font-family: "Source Sans Pro";
+ font-size: 18px;
+ font-style: normal;
+ font-weight: 400;
+ cursor: pointer;
+ padding-left: 38px;
+
+ &:before {
+ height: 30px;
+ width: 30px;
+ display: inline-block;
+ vertical-align: bottom;
+ margin-left: -38px;
+ margin-right: 8px;
+ }
+
+ &.zakladka-tool_zakladka_delete:before {
+ content: url('/static/2022/images/zakladka-usun.svg');
+ }
+ &.zakladka-tool_zakladka:before {
+ content: url('/static/2022/images/add-icon.svg');
+ }
+ &.zakladka-tool_sluchaj:before {
+ content: url('/static/2022/images/play-now-icon.svg');
+ }
+ &.zakladka-tool_notka:before {
+ content: url('/static/2022/images/add-note-icon.svg');
+ }
+ }
+ .zakladka-tool_notka_text {
+ display: none;
+ width: 100%;
+ position: relative;
+ textarea {
+ width: 100%;
+
+display: flex;
+padding: 16px;
+justify-content: center;
+align-items: center;
+gap: 8px;
+flex: 1 0 0;
+border-radius: 6px;
+border: 1px solid #007880;
+background: #fff;
+ }
+ #notka-save, #notka-saved {
+ position: absolute;
+ top: 4px;
+ right: 4px;
+ display: none;
+ width: 16px;
+ height: 16px;
+ }
+ #notka-saved {
+ }
+ }
+ .zakladka-tool_zakladka_delete {
+ display: none;
+// position: absolute;
+// bottom: 40px;
+// right: 3px;
+// width: 29px;
+// height: 29px;
+// cursor: pointer;
+// align-items: center;
+// justify-content: center;
+ }
+ }
+ }
+
+
+
+ &.zakladka-exists {
+ .icon-empty {display: none;}
+ .icon-exists {display: flex;}
+ #zakladka-box .content {
+ .zakladka-tool_notka_text {display: block;}
+ .zakladka-tool_zakladka_delete {display: block;}
+ }
+ }
+ &.zakladka-note {
+ .icon-empty {display: none;}
+ .icon-note {display: flex;}
+ #zakladka-box .content {
+ .zakladka-tool_notka_text {display: block;}
+ .zakladka-tool_zakladka_delete {display: block;}
+ }
+ }
+}
+
+
+
+/*
+.zakladka-tool_sluchaj {display: none;}
+.has-sync .zakladka-tool_sluchaj {display: block;}
+*/
+
+#book-text-buttons {
+ display: none;
+ margin-top: 16px;
+ border: 1px solid #D5ECED;
+ border-radius: 6px;
+ padding: 8px;
+ max-width: 717px;
+
+
+ a {
+ display: inline-block;
+ padding: 20px 30px;
+ font-weight: bold;
+ cursor: pointer;
+ border-radius: 6px;
+ &:hover {
+ background: #E1F1F2;
+ }
+ i {
+ margin-right: 10px;
+ &.icon-play {
+ color: white;
+ background: #018189;
+ display: inline-block;
+ padding: 10px 8px 10px 12px;
+ border-radius: 100%;
+ }
+ }
+ }
+}