Skip to content

Commit

Permalink
update search style
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-sorrentino committed Oct 1, 2023
1 parent 6addf59 commit e047915
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
28 changes: 27 additions & 1 deletion book/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ p {
.searchbar-outer,
.searchresults-outer {
margin-left: 10rem;
padding-left: .25rem;
}

.searchbar-outer {
Expand All @@ -112,6 +113,31 @@ p {
box-shadow: 0px .5rem 1rem -.25rem rgba(0,0,0,0.15);
}

.searchresults-header {
padding-left: 0;
padding-top: 3rem;
font-size: .75em;
color: #444;
}

ul#searchresults span.teaser em {
font-weight: normal;
font-family: 'Sans Bold', sans-serif;
}

ul#searchresults {
padding-left: 0;
}

ul#searchresults span.teaser {
margin-left: 0;
font-size: .825em;
}

ul#searchresults li {
margin-bottom: 2rem;
}

#menu-bar-hover-placeholder {
height: 0;
}
Expand Down Expand Up @@ -168,7 +194,7 @@ strong {

.searchbar-outer,
.searchresults-outer {
margin-left: auto;
margin-left: 0;
}

.page {
Expand Down
28 changes: 27 additions & 1 deletion theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ p {
.searchbar-outer,
.searchresults-outer {
margin-left: 10rem;
padding-left: .25rem;
}

.searchbar-outer {
Expand All @@ -112,6 +113,31 @@ p {
box-shadow: 0px .5rem 1rem -.25rem rgba(0,0,0,0.15);
}

.searchresults-header {
padding-left: 0;
padding-top: 3rem;
font-size: .75em;
color: #444;
}

ul#searchresults span.teaser em {
font-weight: normal;
font-family: 'Sans Bold', sans-serif;
}

ul#searchresults {
padding-left: 0;
}

ul#searchresults span.teaser {
margin-left: 0;
font-size: .825em;
}

ul#searchresults li {
margin-bottom: 2rem;
}

#menu-bar-hover-placeholder {
height: 0;
}
Expand Down Expand Up @@ -168,7 +194,7 @@ strong {

.searchbar-outer,
.searchresults-outer {
margin-left: auto;
margin-left: 0;
}

.page {
Expand Down

0 comments on commit e047915

Please sign in to comment.