Fix Algolia search link positioning (#1904)

* Add link for testing purposes
* Fix excerpt link positioning in Algolia search results
* Fix Algolia search input color
* Update CHANGELOG and history

Fixes #1903
This commit is contained in:
Michael Rose
2018-10-22 13:56:43 -04:00
committed by GitHub
parent de15fb80c4
commit c8f4820d31
8 changed files with 44 additions and 13 deletions

View File

@@ -20,15 +20,6 @@
.archive__item {
position: relative;
a::before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
}
.archive__subtitle {
@@ -50,6 +41,15 @@
overflow: hidden;
text-overflow: ellipsis;
a::before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
a + a {
opacity: 0.5;
}
@@ -70,6 +70,10 @@
& + p {
text-indent: 0;
}
a {
position: relative;
}
}
.archive__item-teaser {
@@ -281,6 +285,10 @@
clear: both;
font-size: 1.125em;
.archive__item {
float: left;
}
.archive__item-teaser {
margin-bottom: 2em;
}
@@ -318,6 +326,10 @@
clear: both;
font-size: 1.125em;
.archive__item {
float: left;
}
.archive__item-teaser {
margin-bottom: 2em;
}
@@ -357,6 +369,11 @@
clear: both;
font-size: 1.125em;
.archive__item {
float: left;
width: 100%;
}
.archive__item-teaser {
margin-bottom: 2em;
}

View File

@@ -114,12 +114,12 @@
}
.archive__item-title .ais-Highlight {
color: $link-color;
color: $primary-color;
font-style: normal;
text-decoration: underline;
}
.archive__item-excerpt .ais-Highlight {
color: $link-color;
color: $primary-color;
font-style: normal;
font-weight: bold;
}

View File

@@ -40,3 +40,7 @@ $base0f: #cc6633 !default;
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
.ais-search-box .ais-search-box--input {
background-color: $form-background-color;
}

View File

@@ -51,3 +51,7 @@ $base0f: #cc6633 !default;
color: $text-color;
}
}
.ais-search-box .ais-search-box--input {
background-color: $form-background-color;
}

View File

@@ -58,3 +58,7 @@ $base0f: #cc6633 !default;
color: $text-color;
}
}
.ais-search-box .ais-search-box--input {
background-color: $form-background-color;
}