Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26e3643

Browse files
author
Joseph Damiba
committed
use bootstrap 3
1 parent 5fd2ef1 commit 26e3643

File tree

3 files changed

+22
-58
lines changed

3 files changed

+22
-58
lines changed

_includes/layouts/_footer-main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ <h6 style="color:#119dff" class="--footer-heading">JOIN OUR MAILING LIST</h6>&#x
8686
<div class="modal-dialog" role="document">
8787
<div class="modal-content" id="modal-content">
8888
<div class="modal-header">
89-
<input id="search-input" class="search-input" type="text" placeholder=" Search..."/>
9089
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
90+
<input id="search-input" class="search-input" type="text" placeholder=""/>
9191
</div>
9292
<div class="modal-body" id="modal-body">
9393
<div id="search-results" class="search-results">

_includes/layouts/head.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<script src="/all_static/javascripts/algolia/instantsearch.js"></script>
77
<script src="/all_static/javascripts/algolia/polyfill.min.js"></script>
8-
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous">
8+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" crossorigin="anonymous">
99
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
10-
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
1110
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
12-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" crossorigin="anonymous"></script>
11+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" crossorigin="anonymous"></script>
1312

1413
{% if page.language != "python" %}
1514
<!-- code highlighting -->

all_static/css/main.css

Lines changed: 19 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2342,7 +2342,6 @@ ul.\--ref {
23422342
height: 48px;
23432343
min-height: 48px;
23442344
width: 100%;
2345-
position: fixed;
23462345
border-bottom: 1px solid #e7e7e7;
23472346
padding: 0 20px;
23482347
display: -webkit-box;
@@ -8248,7 +8247,7 @@ body:not(:-moz-handler-blocked) main.\--page .\--page-body {
82488247

82498248
.\--tutorial-index {
82508249
padding-bottom: 20px;
8251-
padding-top: 60px;
8250+
padding-top: 20px;
82528251
padding-left: 20px !important;
82538252
padding-right: 20px; }
82548253
.\--tutorial-index.tutorial-content, .\--tutorial-index .tutorial-content {
@@ -9281,12 +9280,11 @@ pre, code, .hljs {
92819280
padding-right: 20px; }
92829281

92839282
.modal{
9284-
top: 100px;
9283+
top: 60px;
92859284
}
92869285

92879286
.search-results{
92889287
display:flex;
9289-
height: 100%;
92909288
}
92919289

92929290
#modal-button{
@@ -9305,6 +9303,11 @@ pre, code, .hljs {
93059303
font-size: 2rem;
93069304
}
93079305

9306+
.schema-search-results > .ais-hits::before{
9307+
content: "Figure Reference Results";
9308+
font-size: 2rem;
9309+
}
9310+
93089311
.ais-hits--item:first-of-type{
93099312
padding-top: 30px;
93109313
}
@@ -9313,40 +9316,25 @@ pre, code, .hljs {
93139316
color: #2391fe !important;
93149317
}
93159318

9316-
.modal-header {
9317-
padding-bottom: 10px;
9318-
}
9319-
93209319
.modal-body{
9321-
padding-top: 0;
9322-
}
9323-
9324-
.modal > a{
9325-
color: #2391fe;
9326-
}
9327-
9328-
.schema-search-results > .ais-hits::before{
9329-
content: "Figure Reference Results";
9330-
font-size: 2rem;
9320+
background: white;
9321+
padding: 0 !important;
93319322
}
93329323

93339324
.primary-search-results, .schema-search-results{
93349325
width: 45%;
93359326
}
93369327

9337-
.ais-search-box{
9338-
width: 100%;
9328+
.search-input{
9329+
width: 90%;
9330+
border: none;
9331+
margin: auto;
93399332
font-size: 2rem;
93409333
}
93419334

93429335
.modal-content{
9343-
background: none;
9344-
border: none;
9345-
}
9346-
9347-
_:-ms-fullscreen, :root .modal-content{
9348-
background: #fff;
9349-
border: 1px solid rgba(0,0,0,.2);
9336+
border-radius: 0px !important;
9337+
border: none !important;
93509338
}
93519339

93529340
.ais-hits--item{
@@ -9357,39 +9345,16 @@ _:-ms-fullscreen, :root .modal-content{
93579345
background: #fff;
93589346
}
93599347

9360-
@media (min-width: 1025px) {
9361-
.modal > .modal-dialog{
9362-
width: 1050px;
9363-
height: 700px;
9364-
max-width: 1050px;
9365-
}
9366-
9367-
.modal-content{
9368-
height: 100%;
9369-
}
9370-
9371-
.modal-body{
9372-
height: 80%;
9373-
}
9374-
.search-input{
9375-
width: 100%;
9376-
border-radius: 10px;
9377-
margin: auto;
9378-
}
9348+
.modal > .modal-dialog{
9349+
width: 1050px;
9350+
height: 700px;
9351+
max-width: 1050px;
93799352
}
93809353

93819354
@media (max-width: 1025px) {
93829355
.modal > .modal-dialog{
93839356
width: 80%;
93849357
}
9385-
9386-
.primary-search-results > .ais-hits::before{
9387-
font-size: 1rem;
9388-
}
9389-
9390-
.schema-search-results > .ais-hits::before{
9391-
font-size: 1rem;
9392-
}
93939358
}
93949359

93959360
.\--body > h1, .\--body > h2 {

0 commit comments

Comments
 (0)