mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +00:00
some tweeking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2b8a71172f
commit
a3e7bb89b7
@ -769,7 +769,10 @@ $(document).ready(function(){
|
||||
</div>
|
||||
<div class="page page-align-right caption-bottom-arrow light">
|
||||
<div class="content" style="width: 200px">
|
||||
Right-aligned page...
|
||||
<h2>Caption Text</h2>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -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 {
|
||||
|
||||
12
magazine.css
12
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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user