Skip to main content

Style Guide

This page features all of the general styles to be used throughout page layout for the website. Use it as a guide when creating plugins, email templates or new page types.

Intro sentences on the site (like this one) should be short and friendly. They can include links and additional styling.

Most of our web styles and colors come from the new guides published by Penn, which helps to align the new Nursing site with others across campus. The addition of the Roboto Slab Font is provided by Google Fonts, and serves as a casual, humanist addition to our collection of available type.


Text Styling and Recommendations:

This is Header 2

This is the largest header available to content editors - it should be used to introduce big topics or sections.

This is Header 4

Great for moving and guiding your readers down the page

This is Header 6

The smallest header, perfect for columns and labeling details. It will automatically convert text to uppercase, which helps it to stand out at a smaller size.


The editor toolbar also contains a “horizontal line” button, which can divide the text area and help differentiate between topics. The line will always stretch to fill the width of its container.

You can use the “block quote” element to highlight text in an editable area. This style will increase the text size and add a light left rule.

For shorter line breaks–
like this one! - you can press Shift+Enter while editing paragraph text. This is often useful for addresses or other contact info.

Editors have access to regular bulleted lists:

  • Temporibus autem quibusdam et aut officiis debitis?
  • Aut rerum necessitatibus saepe eveniet.
  • Ut et voluptates repudiandae sint.

As well as numbered lists:

  1. Temporibus autem quibusdam et aut officiis debitis?
  2. Aut rerum necessitatibus saepe eveniet.
  3. Ut et voluptates repudiandae sint.

When inserting a video, you’ll most often use the default settings: width of 100% and height:auto. This will make the video look great on every page and device!

 

Widgets and Dynamic Content

All of the global widgets can be added to various page areas and will adapt to fill their container. Though they are able, very few widgets will ever span the full width of the page - most of the time they will appear in the left page body, or in a column or sidebar. 

Below is an example of the “My News” widget - it will show three stories in the selected group, unless there are no stories, in which case it will default to stories in the “Core Site” group.


Below is an example of the “My Profiles” widget - it will show three profiles in the selected group.


Below is an example of the “My Files” widget - it will show three files in the selected group, unless there are no files, in which case it will not appear at all.


Below is an example of a “My Events” widget. It will show three events in the selected group, unless there are none, in which case it will show three events from the “Core Site” group. You may need to refresh the page upon save in order for the small calendar icons to appear.

Upcoming Events:

  • Jun
    26
    Summer Innovation Institute flyer with logos

    Summer Innovation Institute

    The School of Nursing will hold its first Summer Innovation Institute focused on Collaborative Design and Co-creation for Health Equity in person and on campus from June 26-30, 2023.
  • Jun
    27
    Summer Innovation Institute flyer with logos

    Summer Innovation Institute

    The School of Nursing will hold its first Summer Innovation Institute focused on Collaborative Design and Co-creation for Health Equity in person and on campus from June 26-30, 2023.
  • Jun
    28
    Summer Innovation Institute flyer with logos

    Summer Innovation Institute

    The School of Nursing will hold its first Summer Innovation Institute focused on Collaborative Design and Co-creation for Health Equity in person and on campus from June 26-30, 2023.
  • Jun
    29
    Summer Innovation Institute flyer with logos

    Summer Innovation Institute

    The School of Nursing will hold its first Summer Innovation Institute focused on Collaborative Design and Co-creation for Health Equity in person and on campus from June 26-30, 2023.