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.

  • Science Advisory: Advocating for Developmental Care for Infants With Complex Congenital Heart Disease

    Developmental disorders, disabilities, and delays are common outcomes for infants with complex congenital heart disease. Targeting early factors influencing these conditions after birth and during neonatal hospitalization for cardiac surgery remains a critical need. However, significant gaps remain in understanding the best practices to improve neurodevelopmental and psychosocial outcomes for these infants.

  • Study Shows Missed Nursing Care is a Key Factor in Adverse Outcomes for Very Low Birthweight Infants

    Sometimes hospital staff nurses cannot provide required care due to time constraints. This reality can contribute to potentially dire outcomes for very low birthweight (VLBW) infants, who weigh less than 3.3 lbs. at birth. These newborns depend on the nurse for survival. Missed nursing care is likely clinically relevant to whether VLBW infants develop an infection, develop a brain hemorrhage, or even die. Given post-pandemic staffing shortages and the increased burden placed on nurses, routine measurement of missed care and managerial efforts to prevent it could be vital to improving the health and life course of VLBW infants.

  • Penn Nursing’s Center for Global Women’s Health Awarded State Grant

    The Center for Global Women’s Health (CGWH) has been awarded another $30,000 grant through It’s On Us PA, a statewide campaign that aims to end sexual assault by bringing together college and university presidents, superintendents, administrators, teachers, students, families, and community members to reframe the conversation around sexual violence and pledge to be part of the solution.


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: