Bing search for China users (#9845)
* Updates readme's site building instructions * Alters dockerfile to use extended hugo build This is necessary for the pipes used w/ TOCSS since node-sass was dropped * WIP for bing search implementation * Implements Bing search instead of google * Makes bing the default result provider and uses google and it's available * Adds pagination to bing and replaces the $.get call with a $.ajax call * front adjust * bing limit pagination * Adds break if there are less than 10 pages worth of results on bing search * Adds proper google script ref and proper config id * Removes console.log call
This commit is contained in:
@@ -1775,3 +1775,37 @@ $feature-box-div-margin-bottom: 40px
|
||||
|
||||
.gsc-above-wrapper-area
|
||||
border-bottom: 0;
|
||||
|
||||
|
||||
|
||||
/* Bing Search */
|
||||
#bing-results-container
|
||||
margin-top: 30px
|
||||
margin-left: 20px
|
||||
|
||||
.bing-result
|
||||
margin-bottom: 20px
|
||||
|
||||
.bing-result-name a
|
||||
font-size: 16px
|
||||
color: #0000CC
|
||||
|
||||
|
||||
.bing-result-url
|
||||
color: #008000
|
||||
font-size: 13px
|
||||
|
||||
.bing-result-snippet
|
||||
color: #000
|
||||
font-size: 11px
|
||||
|
||||
#bing-pagination-container
|
||||
margin: 10px
|
||||
margin-left: 20px
|
||||
|
||||
.bing-page-anchor
|
||||
text-decoration: none!important
|
||||
cursor: pointer
|
||||
color: #0000CC
|
||||
margin-right: 8px
|
||||
|
||||
|
||||
Reference in New Issue
Block a user