Code Monkey home page Code Monkey logo

Comments (8)

avescodes avatar avescodes commented on June 10, 2024

Can you let me know which platform and version of the book you're working with?

from clojure-cookbook.

Txellenne avatar Txellenne commented on June 10, 2024

Hi, Thanks for your reply.
I go on Fedora 21 and the book version is the currently available here this site at.

from clojure-cookbook.

avescodes avatar avescodes commented on June 10, 2024

Sorry, I meant to ask: are you reading the book via this repository at the source level, generating a pdf/epub/mobi from the repository, or via an official O'Reilly version?

from clojure-cookbook.

Txellenne avatar Txellenne commented on June 10, 2024

Ah. Ok. I got generated a standalone html file from this repository.

from clojure-cookbook.

avescodes avatar avescodes commented on June 10, 2024

I'm not sure then what to do. It may be possible to influence the styling of the generated HTML, but I can't say I have any experience on how to make that happen.

from clojure-cookbook.

Txellenne avatar Txellenne commented on June 10, 2024

Hey!, yep. Well, I though there was a known way of sort out my question. So, that said I started to, yeap, adjust the css style section in the html file though, basically by trial and error. Now i got it readable, bd.
I include those adds or changes here just in case is of help for someone else:

/* line 540 (approx). WARNING please take the line number as reference, only. 
/* It may be different in your asciidoc output.
/* giving a proportional width feature to the t.o.c block makes it to get 
/* reduced if the the screen push for it.

@media screen {
  body {
    (...)
    margin-left: 20%;
  }

/* lines 555, 556 keep the above feature synchronized at the t.o.c. div
#toc {
(...)
float: left;
width: 20%;
}

/* line 71. Once defined a new margin to sidebarblock the content section get 
/* affected with a negative margin, changing this line correct that. 

div.sectionbody {
  margin-left: 25px;
}
/* lines 771 (and 779). Same issue regarding a negative margin when at 
/* `div` Title and Preface. But the only way I found to correct it is by doing an
/* inline alignment as show below:

<h1><p align="center">Clojure Cookbook</p></h1>

/* line 779
<h2 id="_preface"><p align="center">Preface</p></h2>

from clojure-cookbook.

avescodes avatar avescodes commented on June 10, 2024

Cool. Do you consider this resolved for you, then?

from clojure-cookbook.

Txellenne avatar Txellenne commented on June 10, 2024

Yeap, in a great deal yeap (though, I find the same issue, a negative margin at all h2 subtitles (which could get fixed by applying a h2 global rule but not sure if by doing this we also get undesired effects at all other else entities associated to the h2 tag) though not a big problem if left as such).

from clojure-cookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.