Module:Navpills/styles.css: Difference between revisions
From Evernyll Awakened
More actions
No edit summary Tag: Reverted |
Tag: Undo |
||
| Line 1: | Line 1: | ||
. | /* Style the links inside the pill navigation menu */ | ||
.pill-nav a { | |||
display: inline-block; /* Makes them sit horizontally */ | |||
color: black; | |||
text-align: center; | |||
padding: 14px; | |||
text-decoration: none; | |||
font-size: 17px; | |||
border-radius: 5px; /* Creates the pill shape */ | |||
} | } | ||
/* Add a color to the active/current link */ | |||
.pill-nav a.active { | |||
background-color: dodgerblue; | |||
color: white; | |||
. | |||
. | |||
} | } | ||
Revision as of 09:46, 13 January 2026
/* Style the links inside the pill navigation menu */
.pill-nav a {
display: inline-block; /* Makes them sit horizontally */
color: black;
text-align: center;
padding: 14px;
text-decoration: none;
font-size: 17px;
border-radius: 5px; /* Creates the pill shape */
}
/* Add a color to the active/current link */
.pill-nav a.active {
background-color: dodgerblue;
color: white;
}