Z-Ray (two better than X)

Customizing the Header Divider

2026-08-18

This is a comprehensive reference guide on how to modify, style, or remove the line separating the site header from the main content.

The File

All header styling is controlled in your style.css file. Open it and look for the header block near the top:

/* Header layout with Flexbox */
header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #555; /* <-- The divider line */
}

The Anatomy of a Border

The border-bottom rule is actually a shorthand that combines three distinct properties: width, style, and color. You have a massive toolkit available for each.

1. Border Style

You are currently using dashed, but CSS supports several styles:

2. Border Thickness (Width)

You are not restricted to just pixels (px):

3. Border Color

You can define colors in several formats to match your terminal aesthetic:


Drop-in Examples

Here are a few configurations you can copy and paste directly into your CSS to test out different aesthetics.

The Bold Solid Line:

border-bottom: 2px solid #8ab4f8;

The Retro Double Line:

border-bottom: 4px double #555;

The Stealth/Transparent Line:

border-bottom: 1px solid rgba(255, 255, 255, 0.15);

How to Remove It

If you decide you prefer a cleaner look without the line at all, simply delete the entire border-bottom rule from the CSS block.