mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 14:54:41 -04:00
parent
fc7fe4db37
commit
6914e9aa98
@ -7,8 +7,8 @@
|
||||
font-size: 1.2em;
|
||||
z-index: 60;
|
||||
color: $hugo-pink;
|
||||
@include MQ(M){
|
||||
right:2em;
|
||||
@include MQ(M) {
|
||||
right: 2em;
|
||||
}
|
||||
@include MQ(XL) {
|
||||
top: .3em;
|
||||
@ -16,6 +16,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
form#site-search-form {
|
||||
transition: transform .3s ease-in-out;
|
||||
display: flex;
|
||||
@ -45,14 +46,14 @@ form#site-search-form {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 8px;
|
||||
right:2em;
|
||||
right: 2em;
|
||||
z-index: 50;
|
||||
width: 300px;
|
||||
transform: translateX(330px);
|
||||
transition: transform .3s ease-in-out;
|
||||
box-shadow: none;
|
||||
max-height: $site-header-height * .8;
|
||||
background-color:transparent;
|
||||
background-color: transparent;
|
||||
&.search-open {
|
||||
transition: transform .3s ease-in-out;
|
||||
border-bottom-width: 0px;
|
||||
|
@ -57,6 +57,17 @@ ul.animated {
|
||||
}
|
||||
}
|
||||
|
||||
//fixes search icon and sliding bar on homescreen only
|
||||
#homepage-nav + #toggle-search {
|
||||
right: 1em;
|
||||
top: .25em;
|
||||
+ #site-search-form {
|
||||
@include MQ(XL) {
|
||||
right: .6em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.home-row {
|
||||
min-height: auto;
|
||||
display: flex;
|
||||
|
2
static/css/style.min.css
vendored
2
static/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user