en   An official website of the U.S. Govt
Popular search terms:

TAS Style Menu – Copy Module

The Copy Module is used on almost every page of the TAS website.  It is the primary means of delivering HTML content to the user.  There are many options to add spacing, adjust the layout, and present content in various ways.  The most basic presentation is heading text with regular paragraphs.  Sometimes blockquotes are used to make content stand out.

Inside the Copy Module is the ability to present content in columns or boxes as well.  Each of those are demonstrated in the examples below.


Available options:

  • Vertical margin – Include more/normal/less space before and/or after the module.
    Top and bottom | Top | Bottom | None | Top and bottom negative | Top negative | Bottom negative
  • Headline – Text to include as an H2 heading (with a class of “section-heading”) at the top of the module.
    text
  • Headline style – Presentation style for the headline.  Line center inserts a horizontal line next to the heading text, extending the remainder of the container width.  Normal is the same, without a horizontal line.  Underline makes the heading smaller (26px versus 40px), and inserts a line underneath, the full width of the container.
    Line center | Normal | Underline
  • Background texture – Adds a dotted “texture” to the top, bottom, or both of the module.  Placement is obvious.  (This is normally only used to create a “hard” break in content, beyond what spacing or a horizontal line will convey).
    Top | Bottom | Top and Bottom | Disabled
  • Background color – Sets the background color for the module.  White is default, and does not set the background color (allowing the parent container’s color of #FFFFFF to display).  White Smoke sets the background color to #F7F6F4, and adds padding to the top and bottom of 20px (which is what it has by default).  Alice blue and Platinum blue both add padding to the top and bottom of 80px.  Alice blue sets the background to #EDF7F7.  Platinum blue sets the background to #E1E8EC.
    Alice blue | White Smoke | White | Platinum blue
  • Body copy align – Sets alignment of the body copy text.  Left sets the max-width to the container to 650px.  Full width spans the width of the container element with text.  Center aligns the container <div> to the center of the parent container, but the text is still left-justified.
    Left | Center | Full width
  • Body copy – Normal paragraph-level text, with optional headings and styling.  Main content of the module.
    opentext
  • Background color – (this is inside the Body copy main section).  Transparent does not set a background color for the body copy section.  Sky teal and Alice blue both open an additional choice of “Full width” or “Box”.  Full width spans the background color the entire page width.  Box spans only the container width. Sky teal sets the background to #E1E8EC.  Alice blue sets the background to #EDF7F7.
    Sky teal | Alice blue | Transparent
  • Body Copy Column – This button allows creation sub-sections of content, with their own headline, and column of content. Each presents in a container half of the width of the parent.  An additional checkbox becomes available below the Body Copy Column section, identified as “Background blue”.
    • Headline – This is a single line text field, that displays content in a H3 header.
      text
    • Body copy – This is an opentext field that displays content in a <div> element.  Both the Headline and Body copy display together.
      opentext
    • Background blue – This appears once, if there is one or more Body copy column sections added, and applies to ALL.  It is a checkbox that appears BELOW the Body copy column sections added.  Checking this sets the background color of the container for all columns to #EDF7F7.
      Yes | No
  • Boxed Copy – This button allows creation sub-sections of content, with their own headline, and a box around the content. Each presents like slightly raised card (with back-shading), half of the width of the parent.
    • Headline – This is a single line text field, that displays content in a H3 header.
      text
    • Body copy – This is an opentext field that displays content in a <div> element.  Both the Headline and Body copy display together in the “card”.
      opentext

Below is an example of the module with the recommended/typical settings (Vertical Margin = “Top and bottom”, example heading and text, Headline style = Normal, Background texture = Disabled, Background color = White, example heading and text for body copy main, Background color (Body copy main) = Transparent, example heading and text for Body copy column – times 2 for demonstration).


Body Copy Only

This is the body copy (align set to center).  This example module does not have columns or boxes set. This is completely flexible and can display any HTML content.  It is the default content “container” for all articles.

For demonstration, this Copy Module has the copy alignment set to “center”, and a background color of “Alice blue” set (with the option set to “Box” as opposed to “Full width”.  The above description section actually uses a default Copy Module with the alignment set to “Full width” and the background set to “Transparent”.

Etiam diam metus, pulvinar id leo vehicula, egestas auctor nulla. Praesent rhoncus at mi vitae commodo. Suspendisse potenti. Donec eu metus condimentum, condimentum dui id, ultricies mi. Phasellus mollis tincidunt nisl non ullamcorper. Donec vulputate non magna ut pellentesque.


Body Copy Column

This is the body copy (align set to full width), not the body copy column. This is completely flexible and can display any HTML content.  It is the default content “container” for all articles.  Columns  (demonstrated below) are optional, but should be presented in pairs, for visual balance.

Etiam diam metus, pulvinar id leo vehicula, egestas auctor nulla. Praesent rhoncus at mi vitae commodo. Suspendisse potenti. Donec eu metus condimentum, condimentum dui id, ultricies mi. Phasellus mollis tincidunt nisl non ullamcorper. Donec vulputate non magna ut pellentesque.

Column headline

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean molestie sagittis sem sit amet fermentum. Nullam tortor nulla, fringilla vitae feugiat eu, elementum vitae dui. Proin nec tempor odio. Quisque finibus ullamcorper tempus. Vivamus blandit enim dolor, vitae egestas ipsum malesuada pharetra. Proin eu semper eros. Etiam quis massa bibendum, mattis lectus id, blandit ipsum. Etiam ac venenatis ex, ut commodo tortor. Morbi vel egestas dolor. Aenean blandit sem arcu, sed euismod nunc hendrerit sit amet. Donec nec imperdiet lorem.

Column headline 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean molestie sagittis sem sit amet fermentum. Nullam tortor nulla, fringilla vitae feugiat eu, elementum vitae dui. Proin nec tempor odio. Quisque finibus ullamcorper tempus. Vivamus blandit enim dolor, vitae egestas ipsum malesuada pharetra. Proin eu semper eros. Etiam quis massa bibendum, mattis lectus id, blandit ipsum. Etiam ac venenatis ex, ut commodo tortor. Morbi vel egestas dolor. Aenean blandit sem arcu, sed euismod nunc hendrerit sit amet. Donec nec imperdiet lorem.


Boxed Copy

This is the body copy (align set to full width), not the boxed copy. This is completely flexible and can display any HTML content.  It is the default content “container” for all articles.  Boxes (demonstrated below) are optional , but should be presented in pairs, for visual balance.

Etiam diam metus, pulvinar id leo vehicula, egestas auctor nulla. Praesent rhoncus at mi vitae commodo. Suspendisse potenti. Donec eu metus condimentum, condimentum dui id, ultricies mi. Phasellus mollis tincidunt nisl non ullamcorper. Donec vulputate non magna ut pellentesque.

Box Headline

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean molestie sagittis sem sit amet fermentum. Nullam tortor nulla, fringilla vitae feugiat eu, elementum vitae dui. Proin nec tempor odio. Quisque finibus ullamcorper tempus. Vivamus blandit enim dolor, vitae egestas ipsum malesuada pharetra. Proin eu semper eros. Etiam quis massa bibendum, mattis lectus id, blandit ipsum. Etiam ac venenatis ex, ut commodo tortor. Morbi vel egestas dolor. Aenean blandit sem arcu, sed euismod nunc hendrerit sit amet. Donec nec imperdiet lorem.

Box Headline 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean molestie sagittis sem sit amet fermentum. Nullam tortor nulla, fringilla vitae feugiat eu, elementum vitae dui. Proin nec tempor odio. Quisque finibus ullamcorper tempus. Vivamus blandit enim dolor, vitae egestas ipsum malesuada pharetra. Proin eu semper eros. Etiam quis massa bibendum, mattis lectus id, blandit ipsum. Etiam ac venenatis ex, ut commodo tortor. Morbi vel egestas dolor. Aenean blandit sem arcu, sed euismod nunc hendrerit sit amet. Donec nec imperdiet lorem.