Skip to content
Merged
22 changes: 15 additions & 7 deletions phpmyfaq/assets/scss/layout/_theme-switcher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
background-color: var(--bs-dark);
border: 2px solid var(--bs-light);
color: var(--bs-light);
font-weight: 800;

&:focus {
background-color: var(--bs-dark);
Expand Down Expand Up @@ -353,8 +354,6 @@
a {
color: var(--bs-primary);
text-decoration: underline;
font-size: 1.3rem;
font-weight: 800;

&:hover {
color: var(--bs-dark);
Expand All @@ -363,6 +362,14 @@
border-radius: 4px;
}
}

// Apply larger sizing only to main content links
.pmf-content a,
main a {
font-size: 1.3rem;
font-weight: 800;
}

//Logo link exception - yellow border on hover & scale up for better visibility
#phpmyfaq-logo {
transform: scale(1.3);
Expand All @@ -385,8 +392,8 @@
// Heading style exceptions
h1.pmf-start-page,
.pmf-start-page.h1 {
background:var(--bs-primary);
-webkit-background-clip:text;
background: var(--bs-primary);
-webkit-background-clip: text;
background-clip: text;
border: 3px dashed var(--bs-primary);
border-radius: 8px;
Expand Down Expand Up @@ -460,8 +467,9 @@

// Improve readability of badges
.badge {
border: 3px solid var(--bs-light);

border: 4px solid var(--bs-dark);
font-weight: 800;

&.bg-info {
background-color: var(--bs-primary) !important;
color: #000000;
Expand Down Expand Up @@ -560,7 +568,7 @@

&:hover {
background-color: var(--bs-primary);
color: #000!important;
color: #000 !important;
border-radius: 5px;
}
}
Expand Down
3 changes: 2 additions & 1 deletion phpmyfaq/assets/templates/default/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
</nav>

<!-- SEARCH -->
{% if not isMaintenanceMode %}
{% set isSearchPage = (currentPageUrl matches '/\\/search\\.html([?#]|$)/') or (currentPageUrl matches '/[?&]action=search(&|$)/') %}
{% if not isMaintenanceMode and not isSearchPage %}
<div class="container my-5">
<div class="row height d-flex justify-content-center align-items-center">
<div class="col-md-8">
Expand Down