Code Monkey home page Code Monkey logo

atlas_trade_theme's Introduction

Atlas Trade Theme

This repository collects the CSS styles for the "Trade" theme in the O'Reilly Atlas authoring system. This theme defines styles for all common book elements, for all output formats: PDF (print), EPUB (iPad, Nook, etc.), and MOBI (Kindle). Note that design changes will not be accepted for this theme. If you'd like to customize the design, consider building your own template, or adding oneoff customizations directly to your project.

How Do the Styles Differ Between Formats?

We tried our best to maintain a similar look and feel between all formats. However, there are certain layout or design elements that simply do not translate across formats. Here's a list of the differences:

  • Removed references to custom font faces in ebook files
  • Removed strings and auto-generated text in ebook files
  • Centered titlepage information in ebook files
  • Lightened box and border color to gray in ebook files
  • Added a top header/navigation bar for the HTML format
  • Added responsive layout for the HTML format

This theme does not use any custom fonts within the EPUB or MOBI files. Instead, it relies on the system serif and sans-serif fonts installed on the device used to read the file. Device makers put much effort into optimizing their devices for the fonts they've installed, and so we choose to trust their system defaults rather than risk poor display by relying on custom embedded fonts.

atlas_trade_theme's People

Contributors

biladew avatar runemadsen avatar slynchoreilly avatar

Watchers

 avatar

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.