Book Layout

Erin E. Sullivan

Waiting on projects

Sublime Text 2 was opened and a new document was created. "I love this time of year," Erin gleefully thought to herself.

The "time of year" that is being referenced relates to Erin's job when the pile of projects temporarily slow down. This doesn't happen to just her. The reduction of work happens to many, but at various times throughout the year, depending on their position. She could submit to boredom and brainlessly surf the Internet, but this particular developer decided to take advantage of the situation.

Erin brainstorms on ideas that are both fun and can strengthen her development skills. After all, however she spends her free time at work should be used in a way that becomes helpful for future projects.

She already made quite the effort into fine-tuning her skills with Flexbox, creating functional and accessible code for an organizational chart and a process chart. For Erin's next personal project, she wanted something different. Something with multiple (yet possibly useful) features.

To CodePen.io she went, but not brainlessly! Erin "Oohed" and "Ahhed" at the recently picked pens. She envied the skills of those using compilers she has yet to dabble in. Then she put together a list of what she would like to achieve.

Erin chuckled to herself, "This sounds crazy, but what if I develop a section of text that looks like a book?"

She paused, realizing that what she was about to do was a trend years ago. This severely increased the chance of her project being mocked after launch. What was the specific trend Erin remembered? Skeuomorphism.

skeu•o•morph
noun
an object or feature that imitates the design of a similar artifact made from another material.

Outside of skeuomorphism, the idea actually was not very silly. Erin always had an appreciation towards print work. The thought of mimicking similar designs onto a web interface has always fascinated her. So, why not start with the classic print design of a novel?

She began to jot down a list of elements that are typically in a novel:

  • Serif typefaces
  • Header area with the title of the book on the left, and the author of said book on the right. Erin is aware that content within the header of the same page as a chapter title does not appear, but she made an exception.
  • An adorned chapter title
  • A dropcap for the first letter of the first paragraph of the chapter
  • Indented paragraphs
  • Page numbers

She was then picturing herself making marks on a novel like she used to in school. In her true fashion, she got carried away with "What ifs."

  • "What if highlighting the text actually looked like a highlighter?"
    • "What if I wanted it to be pink?"
    • "Blue?"
    • "Green?"
    • "Orange?"
  • "What if I found a typoan error in the content and wanted to make a correction?"
  • "What if I was viewing this on mobile—"

The true obstacle showed its form. Responsiveness. How on Earth will she make this work?

Erin pulled out her notepad and started sketching. First she began to illustrate the wireframe of the book in its entirety. Then she recorded some notes on how each element would break down as the screen size got smaller. After several minutes, the blueprint was complete. She came to the conclusion that mobile viewing must stay minimal. The pages go away, which makes the page numbers no longer have a function so they must go away, and if those go away then there is no need for a cover since it is used to help hold and protect pages.

She looks back at the blinking cursor of her blank canvas in Sublime Text 2. Doubt begins to linger in the back of her mind with the thought of her new code never being used and her time spent ends up being a waste. Her fingers were typing anyway.

Erin smirked, "Well at least I think it's worth a try."