mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
search: reset placeholder and use generic colors #405
This commit is contained in:
parent
9c1233d9e3
commit
2ebee964ca
3 changed files with 17 additions and 6 deletions
|
@ -516,7 +516,13 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.searchform input:-ms-input-placeholder{
|
||||
.searchbox input:-ms-input-placeholder {
|
||||
color: rgba( 255, 255, 255, .4 );
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.searchform input:-ms-input-placeholder {
|
||||
color: rgba( 134, 134, 134, .666 );
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -134,6 +134,11 @@ th {
|
|||
font-weight: 300;
|
||||
}
|
||||
|
||||
.searchbox input::placeholder {
|
||||
color: rgba( 255, 255, 255, .4 );
|
||||
opacity: unset;
|
||||
}
|
||||
|
||||
#content-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -1582,6 +1587,11 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
|
|||
margin-inline-end: .5rem;
|
||||
}
|
||||
|
||||
.searchform input::placeholder {
|
||||
color: rgba( 134, 134, 134, .666 );
|
||||
opacity: unset;
|
||||
}
|
||||
|
||||
.searchform .btn {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
|
|
@ -416,8 +416,3 @@ pre .copy-to-clipboard-button:hover {
|
|||
background-color: var(--INTERNAL-MAIN-BG-color) !important;
|
||||
border-bottom-color: var(--INTERNAL-MAIN-BG-color) !important;
|
||||
}
|
||||
|
||||
.searchform input::placeholder {
|
||||
color: var(--INTERNAL-MAIN-color);
|
||||
filter: grayscale(1) contrast(10000) opacity(.4);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue