[FM Discuss] CSS issues with Freedom Fone book

adam adam at flossmanuals.net
Thu Feb 2 02:59:44 PST 2012



On 02/02/2012 11:50 AM, Freedom Fone Info wrote:
> adam
>
> is it possible that our notes for the FF book have been erased? i recall
> writing notes somewhere to remind me of these steps and thought i'd
> added them to the booki notes tab - could be wrong tho'.
>
> no - i wasn't using the advanced settings at all.
>
> that's weird then right?

i think u might have been doing something  a bit wonky ;) try it 
again...back in 2 hours, have to borrow an ipad to test this epub stuff


adam

>
> bren
>
> On 02-Feb-12 12:47 PM, Freedom Fone Info wrote:
>> the CSS displayed when I select custom is not the same as that
>> displayed on the notes tab. The starred class is missing completely.
>>
>> it reads as follows:
>>
>> body {
>> font-family: "Gillius ADF";
>> background: #fff;
>> color: #000;
>> }
>>
>> .unseen{
>> z-index: -66;
>> margin-left: -1000pt;
>> }
>>
>> .objavi-chapter{
>> color: #000;
>> }
>>
>> h1 .initial{
>> color: #000;
>> font-size: 2em;
>> }
>>
>> .objavi-subsection{
>> display: block;
>> page-break-before: always;
>> /* page-break-after: always;*/
>> text-transform: uppercase;
>> font-size: 20pt;
>> }
>>
>> body .objavi-subsection:first-child{
>> page-break-before: avoid;
>> }
>>
>> .objavi-subsection .initial {
>> font-size: 1em;
>> color: #000;
>> }
>>
>> .objavi-subsection-heading{
>> font-size: 36pt;
>> font-weight: bold;
>> }
>>
>> h1 {
>> text-transform: uppercase;
>> page-break-before: always;
>> background: white;
>> }
>>
>> /*h1.first-heading {
>> page-break-before: avoid;
>> }*/
>>
>> h2 {
>> text-transform: uppercase;
>> }
>>
>> table {
>> float: none;
>> }
>>
>> h1.frontpage{
>> font-size: 64pt;
>> text-align: center;
>> page-break-after: always;
>> page-break-before: avoid;
>> max-width: 700px;
>> }
>>
>> div.copyright{
>> padding: 1em;
>> }
>>
>> table.toc {
>> /*border: 1px dotted #999;*/
>> font-size: 17pt;
>> width: 95%;
>> }
>>
>> td.chapter {
>> padding-left: 2em;
>> text-align: right;
>> }
>>
>> td.pagenumber {
>> text-align: right;
>> }
>>
>> td.section {
>> font-size: 1.1em;
>> text-transform: uppercase;
>> font-weight: bold;
>> }
>>
>> p, ul, ol {
>> page-break-inside: avoid;
>> }
>>
>> pre, code, tt {
>> font-family: "Courier", "Courier New", monospace;
>> font-size: 0.8em;
>> }
>>
>> pre {
>> max-width:700px;
>> overflow: hidden;
>> }
>>
>> img {
>> max-width: 700px;
>> height: auto;
>> }
>>
>> -------- Original Message --------
>> Subject: Re: [FM Discuss] CSS issues with Freedom Fone book
>> Date: Thu, 02 Feb 2012 12:43:59 +0200
>> From: Bren <bren at kubatana.net>
>> Reply-To: bren at kubatana.net
>> Organization: Kubatana.net
>> To: adam <adam at flossmanuals.net>
>> CC: info at freedomfone.org, discuss at lists.flossmanuals.net, Olaf Dunn
>> <olaf at mstance.com>
>>
>>
>>
>> adam
>>
>> is it possible that our notes for the FF book have been erased? i
>> recall writing notes somewhere to remind me of these steps and thought
>> i'd added them to the booki notes tab - could be wrong tho'.
>>
>> no - i wasn't using the advanced settings at all.
>>
>> that's weird then right?
>>
>> bren
>>
>> On 02-Feb-12 12:25 PM, adam wrote:
>>>
>>>
>>> On 02/02/2012 11:21 AM, Freedom Fone Info wrote:
>>>> where in the booki interface do I edit the CSS - or am I just updating
>>>> the notes and you've changed the CSS yourself?
>>>
>>> when u make a book you must choose:
>>> advanced options-custom css
>>> then paste the css in there
>>>
>>> but you must have been doing that already? otherwise nothing would
>>> work as you need it to
>>>
>>> adam
>>>
>>>
>>>
>>>
>>>>
>>>> bren
>>>>
>>>> On 02-Feb-12 11:36 AM, adam wrote:
>>>>> change that part of the css to this:
>>>>>
>>>>> .starred{
>>>>> padding-left:50px;
>>>>>
>>>>> background-image:url(http://www.freedomfone.org/booki/images/star.png)
>>>>> ! important;
>>>>> background-repeat:no-repeat;
>>>>> background-position:center left;
>>>>> font-weight:bold;
>>>>> min-height:40px;
>>>>> }
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 02/02/2012 10:23 AM, Bren wrote:
>>>>>> Looks like stars and chapter dividers are missing - I am exporting
>>>>>> document type = book (PDF)
>>>>>>
>>>>>> bren
>>>>>>
>>>>>> On 02-Feb-12 11:01 AM, adam wrote:
>>>>>>> can you send me the full css and the link to the pdf you generated
>>>>>>>
>>>>>>>
>>>>>>> adam
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 02/02/2012 09:57 AM, Freedom Fone Info wrote:
>>>>>>>> Hi Adam
>>>>>>>>
>>>>>>>> The book.pdf version of the FF book is not displaying our star.png
>>>>>>>> image
>>>>>>>> in paragraphs where the class="starred". Same with the View chapter
>>>>>>>> option when editing the book.
>>>>>>>>
>>>>>>>> See
>>>>>>>> - Creating your Freedom Fone Service > Introduction chapter - where
>>>>>>>> syntax is <p class="starred">
>>>>>>>> - Setting up > Security chapter - where syntax is <p
>>>>>>>> class="STARRED">
>>>>>>>>
>>>>>>>> CSS shown on Notes page is as follows:
>>>>>>>> .starred{
>>>>>>>> padding-left:50px;
>>>>>>>> background-image:url(http://www.freedomfone.org/booki/images/star.png);
>>>>>>>>
>>>>>>>>
>>>>>>>> background-repeat:no-repeat;
>>>>>>>> background-position:center left;
>>>>>>>> font-weight:bold;
>>>>>>>> min-height:40px;
>>>>>>>> }
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Can you assist this morning? We are trying to launch our new
>>>>>>>> version of
>>>>>>>> the software and would like the latest version of the book to be
>>>>>>>> available.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Bren
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>

-- 

--
Adam Hyde
Founder, FLOSS Manuals
Project Manager, Booki
Book Sprint Facilitator
mobile :+ 49 177 4935122
identi.ca : @eset
booki.flossmanuals.net : @adam

http://www.flossmanuals.net
http://www.booki.cc
http://www.booksprints.net




More information about the Discuss mailing list