Skip to content

Button

Copy-and-paste button components for the Edlio WYSIWYG editor. These buttons follow PUSD brand guidelines and are fully accessible, responsive, and require no external dependencies.

Brand Compliant

Uses official PUSD colors — Navy (#003366), Light Blue (#54c8eb), Gold (#f0ad4e), and Alt Blue (#3a57a8).

No Dependencies

Fully inline CSS — no external stylesheets needed. Paste directly into Edlio CMS.

Multiple Styles

Primary, Secondary, Outline, Gold, Alt Blue, sizes, full-width, icon, group, centered, and disabled variants.

Accessible

Semantic <a> and <span> tags, WCAG AA contrast ratios, keyboard accessible, and no JavaScript required.

<!-- PRIMARY BUTTON (PUSD NAVY) -->
<a href="#" style="display: inline-block; background-color: #003366; color: #ffffff; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer;">Primary Button</a>
<!-- SMALL BUTTON -->
<a href="#" style="display: inline-block; background-color: #003366; color: #ffffff; padding: 8px 16px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer;">Small Button</a>
<!-- MEDIUM BUTTON (DEFAULT) -->
<a href="#" style="display: inline-block; background-color: #003366; color: #ffffff; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer;">Medium Button</a>
<!-- LARGE BUTTON -->
<a href="#" style="display: inline-block; background-color: #003366; color: #ffffff; padding: 16px 32px; text-decoration: none; border-radius: 4px; font-size: 18px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer;">Large Button</a>
Sizepaddingfont-size
Small8px 16px14px
Medium (Default)12px 24px16px
Large16px 32px18px
<!-- FULL WIDTH BUTTON -->
<a href="#" style="display: block; background-color: #003366; color: #ffffff; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer; width: 100%; box-sizing: border-box;">Full Width Button</a>
<!-- BUTTON WITH ICON (External Link) -->
<a href="#" target="_blank" rel="noopener noreferrer" style="display: inline-flex; align-items: center; gap: 8px; background-color: #003366; color: #ffffff; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer;">
<span>External Link</span>
<svg aria-hidden="true" focusable="false" style="width: 16px; height: 16px;" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14L21 3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
<!-- BUTTON GROUP (Horizontal) -->
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
<a href="#" style="display: inline-block; background-color: #003366; color: #ffffff; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer;">Primary Action</a>
<a href="#" style="display: inline-block; background-color: transparent; color: #003366; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; transition: all 0.3s ease; border: 2px solid #003366; cursor: pointer;">Secondary Action</a>
</div>
<!-- CENTERED BUTTON -->
<div style="text-align: center; margin: 20px 0;">
<a href="#" style="display: inline-block; background-color: #003366; color: #ffffff; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; transition: background-color 0.3s ease; border: 2px solid #003366; cursor: pointer;">Centered Button</a>
</div>
<!-- DISABLED BUTTON (For display only, non-interactive) -->
<span style="display: inline-block; background-color: #d3d3d3; color: #8a8a8a; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; border: 2px solid #d3d3d3; cursor: not-allowed; opacity: 0.6;">Disabled Button</span>
Button TypeBest ForExample Use Cases
Primary (Navy)Main actionsEnroll Now, Apply Today, Submit Form
Secondary (Light Blue)Supporting actionsLearn More, View Details, Read FAQ
OutlineTertiary actionsCancel, Go Back, Skip
GoldImportant CTAsDonate Now, Register Today, Get Started
Alt BlueAlternative primaryDownload PDF, Contact Us, View Calendar
Color NameHEXText ColorUsage
PUSD Navy#003366#ffffffPrimary buttons, text
PUSD Light Blue#54c8eb#003366Secondary buttons, accents
PUSD Gold#f0ad4e#003366Call-to-action buttons
PUSD Alt Blue#3a57a8#ffffffAlternative primary buttons
  1. Change the URL — Replace href="#" with your actual page URL.

  2. Change the text — Update the content between the opening and closing <a> tags.

  3. Open in a new tab — Add target="_blank" rel="noopener noreferrer" to the <a> tag for external links.

  4. Adjust the size — Modify padding and font-size using the size reference table above.

  5. Change the color — Update background-color, color, and border values using the PUSD brand color HEX codes above.

  6. Make it full width — Change display: inline-block to display: block and add width: 100%; box-sizing: border-box;.