Take Action series
work in progress
March 2026
Note the CSS is in sections rather than as one big block (working?)
Cover alt text:
BOOK_TITLE: SUBTITLE by AUTHOR_NAME. Illustrated by ILLUSTRATOR. Logo: Orca Take Action! DESCRIPTION_ONE.
Files
NOTE: the colors of the bubbles may need to be adjusted for contrast
- titlepage.png the color thought bubbles.
- thoughtbubble.png the cloud thought bubble
- action.png action background icon to the left of title
- quote.png quote background icon to the right of title
Sidebars etc
- words.png A cellphone
Fonts
@font-face {
font-family: bolup;
font-style: normal;
font-weight: normal;
src: url("../font/Bolupisang.otf");
}
@font-face{
font-family: gluten;
font-style: normal;
font-weight: normal;
src: url("../font/Gluten-Medium.otf");
}
@font-face{
font-family: teen;
font-style: normal;
font-weight: normal;
src: url("../font/teen.otf");
}
@font-face{
font-family: teen;
font-style: normal;
font-weight: bold;
src: url("../font/teen_bold.otf");
}
@font-face{
font-family: teen;
font-style: italic;
font-weight: bold;
src: url("../font/teen_bolditalic.otf");
}
Individual Sections html
Title Page html
<body class="title-page" epub:type="frontmatter">
<div class="titleblock">
<h1 class="titlepage">TITLE</h1>
<h2 class="subtitle">SUBTITLE</h2>
</div>
<div class="authorblock">
<h2 class="author">Mark Leiren-Young</h2>
<h2 class="illustrator"><span class="by">illustrated by</span>ILLUSTRATOR</h2>
</div>
<figure class="title-2">
<img alt="Orca Book Publishers" src="image/orca_book_publishers.png"/>
</figure>
<figure class="title">
<img alt="Logo: Orca Take Action!" src="image/orca_takeaction_logo.png"/>
</figure>
Title Page css
body.title-page {
background-color: #FCF393;
}
div.titleblock {
background: url("../image/titlepage.png") no-repeat;
background-position: center;
background-size: contain;
margin: 0 3em 0;
padding: 4em 0 4em;
}
div.authorblock {
background: url("../image/thoughtbubble.png") no-repeat;
background-position: center;
background-size: contain;
margin: 0 auto 0;
padding: 1em 1em 3em .75em;
}
h1.titlepage {
font-family: bolup, sans-serif;
font-size: 7em;
line-height: 0.7;
margin: 0 auto 0;
}
h2.subtitle {
font-family: teen, sans-serif;
font-size: 1.5em;
}
.bigger {
font-family: gluten, sans-serif;
font-size: 2em;
}
div.authorblock {
background: url("../image/thoughtbubble.png") no-repeat;
background-position: center;
background-size: contain;
margin: 0 auto 0;
padding: 1em 1em 3em .75em;
}
h2.author {
color: #1d4063;
font-family: gluten, sans-serif;
font-style: normal;
margin: 0;
}
h2.illustrator {
color: #a01929;
font-family: gluten, sans-serif;
font-size: 1.2em;
line-height: 1;
margin: .5em 0 1em;
}
span.by {
color: #000;
display: block;
font-size: .7em;
text-transform: initial;
}
figure.title,
figure.title-2 {
clear: both;
margin: 2rem auto;
text-align: center;
}
figure.title img,
figure.title-2 img {
height: auto;
object-fit: contain;
vertical-align: bottom;
width: 10em;
}
figure.title-2 img {
width: 13em;
}
Headings html
<div class="chapter-head">
<h1 class="chapter-title" id="_idParaDest-XX"><span class="action">Action One</span> TITLE</h1>
</div>
Headings css
/* Contents and Front-back */*
h1.front-back,
h1.contents {
border: 5px dashed #356182;
border-radius: 10px;
color: #356182;
display: inline-block;
font-family: teen, sans-serif;
font-size: 2.5em;
font-weight: bold;
line-height: 1.4;
margin: 10% 0 .5em;
padding: .1em .5em;
text-align: left;
text-transform: uppercase;
}
h1.contents{
border: none;
}
/* Action Heading
THIS IS THE HEADING VERSION WITH A FILM CLAPPER
*/
div.chapter-head{
background: #9cd8df url("../image/action.png") no-repeat;
background-position: bottom left;
background-size: 12.5rem;
border-bottom: 1.5em solid #d12b3f;
margin: 0 0 2em;
padding: 1rem 0 1rem;
}
h1.chapter-title{
color: #005b73;
font-family: teen, sans-serif;
font-size: 1.5em;
margin: .75em 0 0 3rem;
padding: 1em 0 0 5em;
text-align: left;
}
span.action{
display: block;
font-size: 1.25em;
text-transform: uppercase;
}
h2.resources {
border: 2px solid #c82e6c;
border-radius: 15px;
color: #c82e6c;
display: inline-block;
font-family: teen, sans-serif;
font-size: 1em;
padding: .1em .5em;
}
/* Quote Bubble Heading
THIS IS THE HEADING VERSION WITH A QUOTE BUBBLE
*/
div.chapter-head{
background: #E5D1B5 url("../image/quote.png") no-repeat;
background-position: center right;
background-size: 6em;
border-bottom: 2em solid #CAAF8D;
margin: 0 0 2em;
padding: 2em 1em 1em;
}
h1.chapter-title{
background-color: #ffffff;
border: 5px dashed #9d6d06;
border-radius: 10px;
color: #9d6d06;
display: inline-block;
font-family: teen, sans-serif;
font-size: 2rem;
line-height: 0.9;
padding: .1em .5em;
}
/* Other Headings */
h2.subhead {
background: #B8860B;
border-radius: 20px;
color: #ffffff;
display: inline-block;
font-family: teen, sans-serif;
font-size: 1.2em;
font-weight: bold;
line-height: 1.2;
margin: 1em 0 .25em;
padding: .15em .75em;
text-align: left;
text-transform: uppercase;
}
h2.resources {
border: 2px solid #c82e6c;
border-radius: 15px;
color: #c82e6c;
display: inline-block;
font-family: teen, sans-serif;
font-size: 1em;
padding: .1em .5em;
}
h3.subhead{
background: #E5D1B5;
border-radius: 5px;
color: #126852;
display: inline-block;
font-family: teen, sans-serif;
font-size: 1em;
font-weight: bold;
line-height: 1.2;
margin: 1em 0 .25em;
padding: .1em .5em;
text-align: left;
text-transform: uppercase;
}
/* Misc */
span.author-name {
font-family: teen, sans-serif;
text-transform: uppercase;
}
Asides html
Quotes
<aside aria-label="quote 1" class="quote">
<p class="quotemarks top">“</p>
<p class="quote">THIS_IS_THE_QUOTE</p>
<p class="bottom quotemarks">”</p>
<p class="quote-source">PERSON<span class="smaller">, LOCATION_OR_SOURCE</span></p>
</aside>
What You Can Do
<aside aria-label="what XXX" class="what">
<div class="what-head">
<h2 class="what"><span class="block what-small">what</span> You <span class="what-small">can</span>Do</h2>
</div>
<ul>
<li class="bullet">LIST_TEXT</li>
</ul>
</aside>
Words to Know
<aside aria-label="words XXX" class="words">
<div class="words-wrapper">
<div class="words-bg"></div>
<h2 class="words">Words <span class="smaller">to</span> Know</h2>
</div>
<p class="sidebar"><b>WORD:</b> THE_DEFINITION</p>
</aside>
Asides CSS
/* Quotes */
aside.quote {
background: #F1F9FE;
border-bottom: solid 4px #BE97B7;
border-left: dashed 4px #BE97B7;
border-radius: 10px;
border-right: dashed 4px #BE97B7;
border-top: dashed 4px #BE97B7;
margin: 1em auto;
width: 60%;
}
p.quote {
font-family: gluten, sans-serif;
font-size: .75em;
font-weight: normal;
line-height: 1.2;
padding: .8em .8em 0 .8em;
text-align: center;
text-indent: 0;
}
p.quote-source {
background: #BE97B7;
font-family: gluten, sans-serif;
font-size: .9em;
font-weight: bold;
line-height: 1.2;
margin-top: 1em;
padding: .8em;
text-align: center;
text-indent: 0;
}
p.quote-source .smaller {
font-family: gluten, sans-serif;
font-size: .8em;
font-weight: normal;
}
p.quotemarks {
color: #BE97B7;
font-family: sans-serif;
font-size: 6em;
font-weight: bold;
margin-bottom: -0.6em;
overflow: visible;
text-align: center;
text-indent: 0;
}
/* What You Can Do */
aside.what{
background: #9cd8df;
border-left: 20px solid #005b73;
border-radius: 15px 15px 0 15px;
margin: 1em 1em 0 0;
padding: 0 .8em .8em;
}
div.what-head{
background-color: #9cd8df;
border: 2px solid #005b73;
border-radius: 50%;
box-shadow: 2px 2px 2px #005b73;
float: left;
height: 6rem;
margin: .25em 2rem .8em -.8em;
width: 6rem;
padding: .25em;
}
h2.what{
color: #135161;
font-family: teen, sans-serif;
font-size: 2rem;
font-weight: bold;
line-height: .75;
margin: 1rem 0 0 .8rem;
padding: 0;
text-align: center;
text-align: left;
text-transform: uppercase;
}
h2.what .what-small{
color: #005b73;
font-size: .5em;
text-transform: initial;
}
aside.what ul{
list-style: none;
margin: 1em 0;
padding-left: 0;
}
aside.what ul li{
font-family: sans-serif;
font-size: .8rem;
margin: .25em 0;
text-indent: -1.5em;
padding-left: 1.5em;
}
aside.what ul li::before{
color: #005b73;
content: "● ";
}
@media amzn-kf8{
aside.what{
background: #9cd8df;
border-left: 8px solid #005b73;
border-radius: 0;
margin: 1em 0;
padding: 1em;
}
div.what-head{
background-color: #9cd8df;
border: 2px solid #005b73;
border-radius: 0;
box-shadow: none;
float: none;
height: auto;
margin: 0 0 0.8em 0;
width: auto;
padding: 0.5em;
text-align: center;
}
h2.what{
color: #135161;
font-family: sans-serif;
font-size: 1.2em;
font-weight: bold;
line-height: 1.2;
margin: 0;
padding: 0;
text-align: center;
text-transform: uppercase;
}
h2.what .block{
display: inline;
}
h2.what .what-small{
color: #005b73;
font-size: 0.8em;
text-transform: none;
}
}
/* Words */
aside.words {
background: #c82e6c;
border-left: 6px solid #FABBAC;
margin: 1em auto;
padding: .8em;
width: 80%;
}
.words-wrapper {
height: 6em;
position: relative;
width: 100%;
}
.words-bg {
background: url("../image/words.png") no-repeat center left;
background-size: 4em;
height: 6em;
left: 0;
pointer-events: none;
position: absolute;
right: 0;
top: 0;
z-index: 10;
}
h2.words {
background-color: #fff;
border: 3px dashed #c82e6c;
border-radius: 5px;
color: #c82e6c;
display: inline-block;
font-family: teen, sans-serif;
font-size: 1.5em;
font-weight: bold;
line-height: 1.2;
margin: 1em 0 0 2em;
padding: .1em .5em;
position: relative;
text-align: center;
text-transform: uppercase;
z-index: 5;
}
h2.words .smaller {
font-size: .8em;
text-transform: initial;
}
aside.words p {
color: #ffffff;
text-indent: 0;
}
aside.words b {
font-family: teen, sans-serif;
font-size: 1.4em;
font-style: italic;
font-weight: bold;
}
Contents - A
/* Contents */
ol.toc {
list-style: none;
}
ol.toc a {
font-weight: normal;
}
li.toc-fb {
font-family: grand, sans-serif;
font-size: 1em;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 1.2;
margin: 0 0 .5em;
text-align: left;
}
li.toc-1 {
font-family: grand, sans-serif;
font-size: 1em;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1.2;
margin: 1.5em 0 0;
text-align: left;
}
li.toc-1 > a > b {
color: #34768D;
font-weight: bold !important;
text-transform: uppercase;
}
Contents - B
/* Contents */
ol.toc,
ol.contentlist{
list-style: none;
}
ol.toc a,
ol.contentlist a{
font-weight: normal;
}
li.toc-fb{
font-family: gluten, sans-serif;
font-size: .9em;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1.2;
margin: 0 0 .5em;
text-align: left;
text-transform: uppercase;
}
li.toc-1{
font-family: teen, sans-serif;
font-size: 1em;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 1.2;
margin: 1.5em 0 0;
text-align: left;
}
li.toc-1 > a{
color: #ffffff !important;
}
li.toc-1 li.toc-2{
font-family: gluten, sans-serif;
font-size: .85rem;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1.5;
text-align: left;
}
li.toc-1 ol.toc{
padding-left: .2em;
}
li.toc-3{
font-family: gluten, sans-serif;
font-size: .75rem;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1.6;
margin-left: 2em;
text-align: left;
text-transform: uppercase;
}
ol.toc .color{
font-family: gluten;
text-transform: uppercase;
font-weight: normal !important;
}
ol.toc .back{
border-radius: 6px;
padding: .1em .5em;
}