Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main page/header/styles.css: Difference between revisions

Template page
Created page with ".home-header { position: relative; padding-top: 3.5rem; padding-bottom: 3.5rem; line-height: 1.1; text-align: center; } .home-header__pretitle { margin-bottom: 0.25rem; color: #888; font-size: 0.9em; letter-spacing: 0.05em; } .home-header__title { margin: 0; font-size: 3.5rem; text-transform: uppercase; line-height: 0.9; font-weight: 600; } .home-header__subtitle { margin-top: 0.25rem; color: #888; font-size: 0.9em; } .home-header__search { padding:..."
 
No edit summary
Line 43: Line 43:
}
}


.home-header__search .desktoponly {
/* Style your new span "button" */
margin-left: 0.5rem;
.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;
}
}


.home-header__search:hover {
.citizen-search-trigger:hover {
background: #fff;
  background-color: #0056b3;
}
 
.home-header__searchIcon img {
margin-right: 1rem;
opacity: 0.8;
}
 
.home-header__search .keyboard-key {
display: inline;
padding-top: 0.1em;
padding-bottom: 0.1em;
}
 
.home-header:before,
.home-header__searchIcon img {
filter: invert(1);
}
 
@media ( hover: none ) {
.home-header__search .desktoponly {
display: none;
}
}
}

Revision as of 15:50, 8 November 2025

.home-header {
	position: relative;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	line-height: 1.1;
	text-align: center;
}

.home-header__pretitle {
	margin-bottom: 0.25rem;
	color: #888;
	font-size: 0.9em;
	letter-spacing: 0.05em;
}

.home-header__title {
	margin: 0;
	font-size: 3.5rem;
	text-transform: uppercase;
	line-height: 0.9;
	font-weight: 600;
}

.home-header__subtitle {
	margin-top: 0.25rem;
	color: #888;
	font-size: 0.9em;
}

.home-header__search {
	padding: 1rem;
	margin-top: 2rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	border: 1px solid #ccc;
	border-radius: 999px;
	background-color: #f8f8f8;
	cursor: pointer;
	font-size: 0.9em;
	font-weight: 500;
	text-align: center;
}

/* 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;
}