diff --git a/index.html b/index.html index 428985f..aa9abd5 100755 --- a/index.html +++ b/index.html @@ -769,7 +769,10 @@ $(document).ready(function(){
- Right-aligned page... +

Caption Text

+

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. +

diff --git a/magazine-themes.css b/magazine-themes.css index a0765c7..e6a9c37 100755 --- a/magazine-themes.css +++ b/magazine-themes.css @@ -192,6 +192,17 @@ } +.light.page.caption-top-arrow:before, +.light.page.caption-bottom-arrow:before { + background: white; +} +.light.page.caption-top-arrow .content, +.light.page.caption-bottom-arrow .content { + color: black; + background: white; +} + + /**************************************************** dark theme ****/ @@ -272,6 +283,18 @@ color: white; } +.dark.page.caption-top-arrow:before, +.dark.page.caption-bottom-arrow:before { + background: black; +} +.dark.page.caption-top-arrow .content, +.dark.page.caption-bottom-arrow .content { + color: white; + background: black; +} + + + /*********************************************************************/ @@ -305,8 +328,6 @@ color: gray; } - - /*********************************************************************/ .shadowless.light.viewer { diff --git a/magazine.css b/magazine.css index 1891664..7e3b630 100755 --- a/magazine.css +++ b/magazine.css @@ -57,7 +57,10 @@ body { width: 800px; height: 600px; - + box-sizing:border-box; + -moz-box-sizing:border-box; + -webkit-box-sizing:border-box; + -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; -o-transition: all 0.2s ease; @@ -548,6 +551,7 @@ div.page-number-text { width: 80%; left: 13% } +/* print-like content align */ .page:nth-child(even) .content .header, .page:nth-child(even) .content .body, .page:nth-child(even) .content .footer { @@ -616,7 +620,7 @@ div.page-number-text { } - +/* caption pages... */ .page.caption-top-arrow, .page.caption-bottom-arrow { overflow: visible; @@ -624,6 +628,10 @@ div.page-number-text { .page.caption-top-arrow .content, .page.caption-bottom-arrow .content { background: white; + text-align: justify; + /* XXX get rid of paddings... */ + padding-right: 7%; + padding-left: 10%; } .page.caption-top-arrow:before, .page.caption-bottom-arrow:before {