File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -693,4 +693,26 @@ article.md-search-result__article p:not(.md-search-result__meta) {
693693 -webkit-line-clamp : 3 ;
694694 -webkit-box-orient : vertical;
695695 overflow : hidden;
696+ }
697+
698+ @media screen and (min-width : 76.25em ) {
699+
700+ /* When search is active, make it float and expand */
701+ [data-md-toggle = "search" ]: checked ~ .md-header .md-search {
702+ position : absolute;
703+ right : 3rem ;
704+ width : 50% ;
705+ z-index : 100 ;
706+ }
707+
708+ /* Make search form expand fully */
709+ [data-md-toggle = "search" ]: checked ~ .md-header .md-search__form {
710+ width : 100% ;
711+ }
712+
713+ /* Make search input expand fully */
714+ [data-md-toggle = "search" ]: checked ~ .md-header .md-search__input {
715+ width : 100% ;
716+ }
717+
696718}
You can’t perform that action at this time.
0 commit comments