MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* Custom search button */ | /* Custom search button */ | ||
. | /* Style your new span "button" */ | ||
.citizen-search-trigger { | |||
display: inline-block; /* Makes the span respect padding/margins */ | |||
padding: 10px 15px; | |||
font-size: 16px; | |||
color: white; | |||
background-color: #007bff; | |||
border: none; | |||
border-radius: 5px; | |||
cursor: pointer; /* Makes the mouse cursor change to a pointer */ | |||
user-select: none; /* Prevents text from being selected on click */ | |||
transition: background-color 0.2s; | |||
} | } | ||
. | |||
.citizen-search-trigger:hover { | |||
background-color: #0056b3; | |||
} | } | ||
Revision as of 15:46, 8 November 2025
/* Custom search button */
/* Style your new span "button" */
.citizen-search-trigger {
display: inline-block; /* Makes the span respect padding/margins */
padding: 10px 15px;
font-size: 16px;
color: white;
background-color: #007bff;
border: none;
border-radius: 5px;
cursor: pointer; /* Makes the mouse cursor change to a pointer */
user-select: none; /* Prevents text from being selected on click */
transition: background-color 0.2s;
}
.citizen-search-trigger:hover {
background-color: #0056b3;
}