Skip to content

Commit

Permalink
Add missing searchbox styling
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Aug 15, 2024
1 parent 3616e9b commit 02891d0
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,29 @@ body {
cursor: pointer;
}

.search-box {
width: 50%;
margin-left: auto;
margin-right: auto;
margin-top: 1vh;
margin-bottom: 1vh;
font-size: large;

h5 {
margin: 0;
}

input {
width: 80%;
border-radius: 5px;
}

button {
background-color: var(--menu-main-color);
border-radius: 5px;
}
}

// fixing various settings for mobile devices
@media only screen and (max-width: 600px) {

Expand Down Expand Up @@ -183,6 +206,15 @@ body {
font-size: 1.5em;
display: block;
}

.search-box {
width: 100%;
margin: 0;

input {
width: auto;
}
}

.content {
width: 90%;
Expand Down Expand Up @@ -409,7 +441,7 @@ body {

// Experimental printing support
@media print {
.menu, .footer, .color-mode-toggle, .sharebuttons, .printbutton, .related_posts, #commento {
.menu, .footer, .color-mode-toggle, .sharebuttons, .printbutton, .related_posts, #commento, .search-box {
display: none;
margin: 0;
}
Expand Down

0 comments on commit 02891d0

Please sign in to comment.