Giter Site home page Giter Site logo

pressbooks / pressbooks-jacobs Goto Github PK

View Code? Open in Web Editor NEW
3.0 10.0 1.0 4.16 MB

This theme is named after American-Canadian activist, journalist, and author Jane Jacobs, who is responsible for the New Urbanism movement in urban studies. It is designed for academic writing, particularly textbooks, but is also suitable for fiction. Headings and body type are set in Montserrat.

License: GNU General Public License v3.0

CSS 1.21% PHP 0.26% SCSS 98.54%
jacobs pressbooks eprdctn book-theme sans-serif pressbooks-theme pb-active

pressbooks-jacobs's Introduction

Jacobs

Packagist Packagist

This theme is named after American-Canadian activist, journalist, and author Jane Jacobs, who is responsible for the New Urbanism movement in urban studies. It is designed for academic writing, particularly textbooks, but is also suitable for fiction. Headings and body type are set in Montserrat.

Requirements

  • PHP >= 7.1
  • WordPress >= 5.2.4
  • Pressbooks >= 5.9.5
  • McLuhan >= 2.8.12

Installation

Manual

Download the latest release and unzip the contents to WP_CONTENT_DIR . '/themes/pressbooks-jacobs/'.

Composer

From within your WordPress or Bedrock root directory, run:

composer require pressbooks/pressbooks-jacobs

GitHub Updater

Install the GitHub Updater plugin.

Then, from the GitHub Updater interface, navigate to the "Install Theme" tab. Enter https://github.com/pressbooks/pressbooks-jacobs as the Theme URI, then click "Install Theme". Tagged updates to this theme will then be available as normal WordPress updates.

Changelog

Please see the CHANGELOG file for more information.

pressbooks-jacobs's People

Contributors

arzola avatar cmurtagh avatar dac514 avatar dannylonglegs avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar fdalcin avatar ho-man-chan avatar pressbooks-ops avatar steelwagstaff avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

wprobot

pressbooks-jacobs's Issues

Improve type scale for headings 1-6

Prerequisites

Description

As reported by @pbstudent at https://discourse.pressbooks.org/t/mcluhan-heading-styles/609/13.

Steps to Reproduce

Not applicable.

System Information

Jacobs: 1.1.1
McLuhan: 2.5.0

Table classes don't display in export formats for Jacobs theme

Description

Borders or lines for table classes don't export to PDF or ebook formats when users have selected the Jacobs theme. No tables, including "full grid" and "lines" tables, have any borders or lines. The tables do appear to still have background colors per their class, however.

How tables appear in the webbook (correct):
Screen Shot 2019-07-22 at 12 13 15 PM

How tables appear in the PDF (incorrect):
Screen Shot 2019-07-22 at 12 13 01 PM

Example: https://jacobsthemetables.textopress.com

Steps to Reproduce

  1. Create a new chapter in your book and add a table
  2. Click inside the table, then select the table icon from the visual editor and go to the Table Properties menu
  3. Select a class (ex: full grid) from the Class dropdown menu
  4. Save changes to settings and for the chapter
  5. Export to PDF and EPUB

Expected behavior: Tables which have classes designed with borders and lines still have those borders in export formats

Actual behavior: Tables in the Jacobs theme do not have borders and lines in export formats

TOC part title bottom margin

Description

Add $toc-part-title-margin-bottom spacing to match 'Before' pdf.

Steps to Reproduce

  1. Navigate to TOC on both 'Before' and 'After' pdf's and compare

MOBI: Left and Right aligned image margins

Description

Left and right aligned images (both big and small, with and without captions) need updated margins.

Steps to Reproduce

  1. Navigate to 'Part V: Images' in 'After' MOBI and look for left and right aligned images in any chapter

screen shot 2018-05-09 at 2 54 05 pm

EPUB: Big images (align-none and centered) too large

Description

On EPUB, big images that are 'align-none' and 'centered' take up whole page in newer EPUB. This causes captions on big images to be pushed to the next page rather than being directly under the image.

Steps to Reproduce

  1. Navigate to chapters 40 and 41 and compare images in 'Before' and 'After' EPUBs

Add screenshot

Prerequisites

Description

Add a screenshot.

Steps to Reproduce

Not applicable.

System Information

Jacobs: 1.0-dev

EPUB/MOBI: TOC styling updates

Description

  • Add top margin to TOC front matter titles
  • Add top margin to TOC chapter titles
  • Add TOC page margins
  • TOC chapter subtitle text-transform: Set to Italic
  • TOC chapter author text-transform: Set to Italic
  • MOBI: TOC chapter title font-family needs to be changed

Before:
screen shot 2018-05-09 at 10 55 29 am

After:
screen shot 2018-05-09 at 10 55 43 am

Page numbers should be on the outside corner, not the inside

Prerequisites

Description

Like the title says.

Steps to Reproduce

Not applicable.

System Information

Jacobs: 1.1.1

Add compatility with wrapped headings

Prerequisites

Description

See pressbooks/pressbooks#1045.

Steps to Reproduce

Not applicable.

System Information

Jacobs: 1.0-alpha.1

Issues with inheritance re: table paragraph styling

Old Asana ticket:

We've got a book using the Jacobs theme and have noticed some strangeness inside of tables. What's happening is that inside of a table cell we've hit a hard return--the WYWSIWYG will then create a paragraph inside of the table cell. The problem is that the CSS for p elements is being applied rather than the CSS for table text. In this case, I think it could be fixed with some simple CSS, namely:

front-matter table p, .part table p, .chapter table p, .back-matter table p, body#tinymce.wp-editor table p {font-size: inherit; line-height: inherit;}

In this case the CSS for the table element (lines 439-454 of the style.css file) are setting the font-size to .9em and line height to 1.1em, but the paragraph element has a font-size value of 1.125rem and a line-height of 1.5; For now, we can put these rules (or similar ones) in place locally, but I wanted to flag them for a standard, uniform fix by whomever is working on theme improvements

PDF/EPUB/MOBI: Font size too large in textbox header

Description

Font size should be smaller on $textbox-header-font-size variable.

Steps to Reproduce

1.Navigate to page 102 on 'Before' and 'After' pdf's and scroll to textbox on bottom of the page
2. Compare textbox header size

Edu-textbox list margins

Description

In 'After' pdf, the left margin is too large and the top and bottom margins are too small.

Steps to Reproduce

  1. Navigate to page 106 in both 'Before' and 'After pdf's and compare EDU textbox lists

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.