File tree 3 files changed +30
-2
lines changed
3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 23
23
< body >
24
24
< nav class ="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow ">
25
25
< a class ="navbar-brand col-sm-3 col-md-2 mr-0 " href ="/ "> {{ site.title }}</ a >
26
- <!-- <input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search"> -->
26
+ < form class ="search-form " action ="/search " method ="get ">
27
+ < input class ="form-control form-control-dark w-100 " type ="text " placeholder ="Search " aria-label ="Search " name ="q ">
28
+ </ form >
29
+ < ul class ="navbar-nav px-3 ">
30
+ < li class ="nav-item text-nowrap ">
31
+ < a class ="nav-link " href ="https://github.com/railsdoc/railsdoc.github.io "> GitHub</ a >
32
+ </ li >
33
+ </ ul >
27
34
</ nav >
28
35
29
36
< div class ="container-fluid ">
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ $red: #cc0000;
4
4
$dark-red : #990000 ;
5
5
6
6
// global
7
-
8
7
a {
9
8
color : $red ;
10
9
@@ -17,6 +16,11 @@ code {
17
16
color : #333 ;
18
17
}
19
18
19
+ // Header
20
+ .search-form {
21
+ width : 100% ;
22
+ }
23
+
20
24
// Sidebar
21
25
.sidebar {
22
26
position : fixed ;
Original file line number Diff line number Diff line change
1
+ ---
2
+ title: RDOC_MAIN.rdoc
3
+ layout: default
4
+ ---
5
+
6
+ < script >
7
+ ( function ( ) {
8
+ var cx = '011796726412992573594:6ifdgquoma4' ;
9
+ var gcse = document . createElement ( 'script' ) ;
10
+ gcse . type = 'text/javascript' ;
11
+ gcse . async = true ;
12
+ gcse . src = 'https://cse.google.com/cse.js?cx=' + cx ;
13
+ var s = document . getElementsByTagName ( 'script' ) [ 0 ] ;
14
+ s . parentNode . insertBefore ( gcse , s ) ;
15
+ } ) ( ) ;
16
+ </ script >
17
+ < gcse:searchresults-only linktarget ="_self "> </ gcse:searchresults-only >
You can’t perform that action at this time.
0 commit comments