File tree Expand file tree Collapse file tree 4 files changed +77
-10
lines changed Expand file tree Collapse file tree 4 files changed +77
-10
lines changed Original file line number Diff line number Diff line change 35
35
</ div >
36
36
<!-- container -->
37
37
38
+ < footer class ="footer ">
39
+ < div class ="container-fluid ">
40
+ < div class ="row ">
41
+ < div id ="footerContent " class ="col-sm-12 ">
42
+ Free and open source under the
43
+ < a href ="https://github.com/mysql-net/MySqlConnector/blob/master/LICENSE "> MIT License</ a >
44
+ </ div >
45
+ </ div >
46
+ </ div >
47
+ </ footer >
48
+
38
49
<!-- js -->
39
50
< script type ="text/javascript " src ="vendor/jquery/js/jquery-2.1.4.min.js "> </ script >
40
51
< script type ="text/javascript " src ="vendor/bootstrap/js/bootstrap.min.js "> </ script >
Original file line number Diff line number Diff line change 39
39
40
40
< body >
41
41
42
- < nav class ="navbar navbar-default ">
42
+ < nav class ="navbar navbar-default navbar-fixed-top ">
43
43
< div class ="container ">
44
44
< div class ="col-xs-8 navbar-mysqlc-logo ">
45
45
< a href ="">
Original file line number Diff line number Diff line change 1
1
{{ $cur := . }}
2
2
< div class ="col-md-3 ">
3
- < div class ="list-group " id ="navigation ">
3
+ < div class ="list-group " id ="navigation " data-spy =" affix " data-offset-top =" 0 " >
4
4
5
5
{{ range $i, $el := .Site.Menus.main }}
6
6
< a class ="list-group-item{{ if or ($cur.IsMenuCurrent "main " .) ($cur.HasMenuCurrent "main" .) (and (eq $i 0) ($cur.IsHome)) }} active{{ end }}" href="{{ if .HasChildren }}#nav-{{ $i }}{{ else }}{{ .URL }}{{ end }} " data-parent ="#navigation "{{ if .HasChildren }} data-toggle ="collapse "{{end}} >
Original file line number Diff line number Diff line change
1
+ html {
2
+ position : relative;
3
+ min-height : 100% ;
4
+ }
5
+
6
+ body {
7
+ padding-top : 70px ;
8
+ margin-bottom : 40px ;
9
+ }
10
+
1
11
# navigation {
2
12
margin-top : 20px ;
3
13
}
7
17
margin-right : 5px ;
8
18
}
9
19
10
- .navbar-mysqlc-logo {
20
+ .navbar-mysqlc-logo {
11
21
padding : 10px 0 0 15px ;
12
22
}
13
23
14
- .navbar-mysqlc-logo a {
24
+ .navbar-mysqlc-logo a {
15
25
color : # 777 ;
16
26
font-size : 18px ;
17
27
padding : 0 12px 0 0 ;
18
28
}
19
29
20
- .navbar-mysqlc-logo a : hover {
30
+ .navbar-mysqlc-logo a : hover {
21
31
text-decoration : none;
22
32
}
23
33
35
45
border-radius : 0 ;
36
46
}
37
47
48
+ @media (max-width : 991px ) {
49
+ .affix {
50
+ position : static;
51
+ }
52
+ }
53
+
54
+ @media (min-width : 992px ) {
55
+ .affix {
56
+ top : 70px ;
57
+ position : fixed;
58
+ }
59
+ }
60
+
61
+ @media only screen and (min-width : 992px ) {
62
+ # navigation {
63
+ width : 212px ;
64
+ }
65
+ }
66
+
67
+ @media only screen and (min-width : 1200px ) {
68
+ # navigation {
69
+ width : 262px ;
70
+ }
71
+ }
72
+
38
73
.submenu a : hover , .submenu a : active ,
39
74
.submenu a .active , .submenu a .active : hover , .submenu a .active : active {
40
75
background : # 44b5f6 ;
48
83
}
49
84
50
85
# prevNext {
51
- margin-top : 20px ;
86
+ margin : 20px 0 ;
52
87
}
53
88
54
- pre {
89
+ pre {
55
90
padding : 0 ;
56
91
}
57
92
58
- h1 {
93
+ h1 {
59
94
margin-bottom : 20px ;
60
95
}
61
96
62
- h2 {
97
+ h2 {
63
98
margin-bottom : 20px ;
64
- }
99
+ }
100
+
101
+ .footer {
102
+ position : absolute;
103
+ bottom : 0 ;
104
+ left : 0 ;
105
+ width : 100% ;
106
+ height : 40px ;
107
+ background-color : # f5f5f5 ;
108
+ border : 1px solid # e7e7e7 ;
109
+ border-width : 1px 0 0 0 ;
110
+ }
111
+
112
+ # footerContent {
113
+ color : # 777 ;
114
+ padding : 10px ;
115
+ text-align : center;
116
+ }
117
+
118
+ # footerContent a {
119
+ color : # 777 ;
120
+ }
You can’t perform that action at this time.
0 commit comments