[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lojban] Re: CLL Help: CSS Title Page





On Wednesday, September 17, 2014 12:11:04 PM UTC-4, Robin Powell wrote:

Using the resources at

http://vrici.lojban.org/~rlpowell/media/public/prince/

(and the example PDFs to see what the current output looks like)
mock up a title page using CSS that doesn't look completely terrible,
please!



Well the relevant part of that mess of HTML is:

<div class="book"><div class="titlepage"><div><div><h1 class="title"><a id="idm251920712704"></a>The Complete Lojban Language</h1></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">Woldemar</span> <span class="surname">Cowan</span></h3></div></div></div><hr /></div>
 
So it's going to be something like:

    .book .titlepage div {
      width: 100%;
    }

    .book .titlepage .title {
      font-size: 52pt;
      text-align: center;
      width: 100%;
    }

    .book .titlepage .author {
      font-size: 16pt;
      text-align: center;
      width: 100%;
    }

That might not be exactly correct, as I haven't actually tested it. But it shouldn't be too far off.

--
You received this message because you are subscribed to the Google Groups "lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http://groups.google.com/group/lojban.
For more options, visit https://groups.google.com/d/optout.