@@ -32,53 +32,259 @@ section {
32
32
background-color : # f5f5f5 ;
33
33
}
34
34
35
- .jumbotron {
36
- position : relative;
37
- padding : 40px 0 ;
38
- color : # fff ;
35
+ .bs-social {
36
+ margin-top : 20px ;
37
+ margin-bottom : 20px ;
39
38
text-align : center;
40
- text-shadow : 0 1px 3px rgba (0 , 0 , 0 , .4 ), 0 0 30px rgba (0 , 0 , 0 , .075 );
41
- background : # 020031 ;
42
- background : -moz-linear-gradient (45deg , # 020031 0% , # 6d3353 100% );
43
- background : -webkit-gradient (linear, left bottom, right top, color-stop (0% , # 020031 ), color-stop (100% , # 6d3353 ));
44
- background : -webkit-linear-gradient (45deg , # 020031 0% , # 6d3353 100% );
45
- background : -o-linear-gradient (45deg , # 020031 0% , # 6d3353 100% );
46
- background : -ms-linear-gradient (45deg , # 020031 0% , # 6d3353 100% );
47
- background : linear-gradient (45deg , # 020031 0% , # 6d3353 100% );
48
- filter : progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353', GradientType=1 );
49
- -webkit-box-shadow : inset 0 3px 7px rgba (0 , 0 , 0 , .2 ), inset 0 -3px 7px rgba (0 , 0 , 0 , .2 );
50
- -moz-box-shadow : inset 0 3px 7px rgba (0 , 0 , 0 , .2 ), inset 0 -3px 7px rgba (0 , 0 , 0 , .2 );
51
- box-shadow : inset 0 3px 7px rgba (0 , 0 , 0 , .2 ), inset 0 -3px 7px rgba (0 , 0 , 0 , .2 );
52
- border-radius : 0 ;
53
- -moz-border-radius : 0 ;
54
- -webkit-border-radius : 0 ;
55
- -o-border-radius : 0 ;
56
- }
57
- .bs-docs-social {
58
- margin-top : 1em ;
59
- padding : 15px 0 ;
60
- text-align : center;
61
- background-color : rgba (245 , 245 , 245 , 0.3 );
62
- border-top : 1px solid rgba (255 , 255 , 255 , 0.3 );
63
- border-bottom : 1px solid rgba (221 , 221 , 221 , 0.3 );
64
39
}
65
40
66
- .nav , .pagination , .carousel , .panel-title a {
41
+ @media (min-width : 768px ) {
42
+
43
+ .bs-social {
44
+ text-align : left;
45
+ }
46
+
47
+ }
48
+
49
+ .nav , .pagination , .carousel a {
67
50
cursor : pointer;
68
51
}
69
52
70
- .bs-docs- social-buttons {
71
- margin-left : 0 ;
53
+ .bs-social-buttons {
54
+ display : inline-block ;
72
55
margin-bottom : 0 ;
73
56
padding-left : 0 ;
74
57
list-style : none;
75
58
}
76
- .bs-docs- social-buttons li {
59
+ .bs-social-buttons li {
77
60
display : inline-block;
78
61
padding : 5px 8px ;
79
62
line-height : 1 ;
80
63
}
81
64
65
+ @media (max-width : 767px ) {
66
+
67
+ .visible-xs .collapse .in {
68
+ display : block!important ;
69
+ }
70
+ .visible-xs .collapse {
71
+ display : none!important ;
72
+ }
73
+
74
+ }
75
+
76
+ .navbar .collapse {
77
+ border-top : 1px solid # e7e7e7 ;
78
+ margin-left : -15px ;
79
+ margin-right : -15px ;
80
+ padding-right : 15px ;
81
+ padding-left : 15px ;
82
+ }
83
+
84
+ .show-grid {
85
+ margin-bottom : 15px ;
86
+ }
87
+
88
+ /*
89
+ * Container
90
+ *
91
+ * Tweak to width of container.
92
+ */
93
+
94
+ /*@media (min-width: 1200px) {
95
+ .container{
96
+ max-width: 970px;
97
+ }
98
+ }*/
99
+
100
+ /*
101
+ * Tabs
102
+ *
103
+ * Tweaks to the Tabs.
104
+ */
105
+
106
+ .code .nav-tabs {
107
+ border-bottom : 1px solid # ccc ;
108
+ }
109
+
110
+ .code pre , .code code {
111
+ border-top : none;
112
+ border-top-left-radius : 0 ;
113
+ border-top-right-radius : 0 ;
114
+ }
115
+
116
+ .code .nav-tabs > li .active > a , .code .nav-tabs > li .active > a : hover , .code .nav-tabs > li .active > a : focus {
117
+ background-color : # f8f8f8 ;
118
+ border : 1px solid # ccc ;
119
+ border-bottom-color : transparent;
120
+ }
121
+
122
+ /*
123
+ * Button Inverse
124
+ *
125
+ * Buttons in the masthead.
126
+ */
127
+
128
+ .btn-outline-inverse {
129
+ color : # fff ;
130
+ background-color : transparent;
131
+ border-color : # cdbfe3 ;
132
+ margin : 10px ;
133
+ }
134
+
135
+ @media (min-width : 768px ) {
136
+
137
+ .btn-outline-inverse {
138
+ width : auto;
139
+ margin : 20px 5px 20px 0 ;
140
+ padding : 18px 24px ;
141
+ font-size : 21px ;
142
+ }
143
+
144
+ }
145
+
146
+ .btn-outline-inverse : hover , .btn-outline-inverse : focus , .btn-outline-inverse : active {
147
+ color : # 563d7c ;
148
+ text-shadow : none;
149
+ background-color : # fff ;
150
+ border-color : # fff ;
151
+ }
152
+
153
+
154
+ /* Page headers */
155
+ .bs-header {
156
+ padding : 30px 15px 40px ; /* side padding builds on .container 15px, so 30px */
157
+ font-size : 16px ;
158
+ text-align : center;
159
+ text-shadow : 0 1px 0 rgba (0 , 0 , 0 , .15 );
160
+ color : # cdbfe3 ;
161
+ background-color : # 563d7c ;
162
+ background-image : url (header.png);
163
+ }
164
+ .bs-header a {
165
+ color : # fff ;
166
+ font-weight : normal;
167
+ }
168
+ .bs-header h1 {
169
+ color : # fff ;
170
+ }
171
+ .bs-header p {
172
+ font-weight : 200 ;
173
+ line-height : 1.4 ;
174
+ }
175
+ .bs-header .container {
176
+ position : relative;
177
+ }
178
+
179
+ @media (min-width : 768px ) {
180
+ .bs-header {
181
+ font-size : 30px ;
182
+ text-align : left;
183
+ }
184
+ .bs-header h1 {
185
+ font-size : 100px ;
186
+ line-height : 1 ;
187
+ }
188
+ }
189
+
190
+ @media (min-width : 992px ) {
191
+ .bs-header p {
192
+ margin-right : 25% ;
193
+ }
194
+ }
195
+
196
+ .navbar-inner {
197
+ -webkit-box-shadow : 0 3px 3px rgba (0 , 0 , 0 , 0.175 );
198
+ box-shadow : 0 3px 3px rgba (0 , 0 , 0 , 0.175 );
199
+ }
200
+
201
+ /*
202
+ * Side navigation
203
+ *
204
+ * Scrollspy and affixed enhanced navigation to highlight sections and secondary
205
+ * sections of docs content.
206
+ */
207
+
208
+ /* By default it's not affixed in mobile views, so undo that */
209
+ .bs-sidebar .affix {
210
+ position : static;
211
+ }
212
+
213
+ /* First level of nav */
214
+ .bs-sidenav {
215
+ margin-top : 30px ;
216
+ margin-bottom : 30px ;
217
+ padding-top : 10px ;
218
+ padding-bottom : 10px ;
219
+ text-shadow : 0 1px 0 # fff ;
220
+ background-color : # f7f5fa ;
221
+ border-radius : 5px ;
222
+ }
223
+
224
+ /* All levels of nav */
225
+ .bs-sidebar .nav > li > a {
226
+ display : block;
227
+ color : # 716b7a ;
228
+ padding : 5px 20px ;
229
+ }
230
+ .bs-sidebar .nav > li > a : hover ,
231
+ .bs-sidebar .nav > li > a : focus {
232
+ text-decoration : none;
233
+ background-color : # e5e3e9 ;
234
+ border-right : 1px solid # dbd8e0 ;
235
+ }
236
+ .bs-sidebar .nav > .active > a ,
237
+ .bs-sidebar .nav > .active : hover > a ,
238
+ .bs-sidebar .nav > .active : focus > a {
239
+ font-weight : bold;
240
+ color : # 563d7c ;
241
+ background-color : transparent;
242
+ border-right : 1px solid # 563d7c ;
243
+ }
244
+
245
+ /* Nav: second level (shown on .active) */
246
+ .bs-sidebar .nav .nav {
247
+ display : none; /* Hide by default, but at >768px, show it */
248
+ margin-bottom : 8px ;
249
+ }
250
+ .bs-sidebar .nav .nav > li > a {
251
+ padding-top : 3px ;
252
+ padding-bottom : 3px ;
253
+ padding-left : 30px ;
254
+ font-size : 90% ;
255
+ }
256
+
257
+ /* Show and affix the side nav when space allows it */
258
+ @media (min-width : 992px ) {
259
+ .bs-sidebar .nav > .active > ul {
260
+ display : block;
261
+ }
262
+ /* Widen the fixed sidebar */
263
+ .bs-sidebar .affix ,
264
+ .bs-sidebar .affix-bottom {
265
+ width : 213px ;
266
+ }
267
+ .bs-sidebar .affix {
268
+ position : fixed; /* Undo the static from mobile first approach */
269
+ top : 80px ;
270
+ }
271
+ .bs-sidebar .affix-bottom {
272
+ position : absolute; /* Undo the static from mobile first approach */
273
+ }
274
+ .bs-sidebar .affix-bottom .bs-sidenav ,
275
+ .bs-sidebar .affix .bs-sidenav {
276
+ margin-top : 0 ;
277
+ margin-bottom : 0 ;
278
+ }
279
+ }
280
+ @media (min-width : 1200px ) {
281
+ /* Widen the fixed sidebar again */
282
+ .bs-sidebar .affix-bottom ,
283
+ .bs-sidebar .affix {
284
+ width : 263px ;
285
+ }
286
+ }
287
+
82
288
83
289
/* Not enough room on mobile for markup tab, js tab, and plunk btn.
84
290
And no one cares about plunk button on a phone anyway */
@@ -95,7 +301,7 @@ section {
95
301
}
96
302
97
303
.header-placeholder {
98
- height : 175 px ;
304
+ height : 50 px ;
99
305
}
100
306
101
307
@media screen and (min-width : 768px ) {
@@ -114,4 +320,4 @@ section {
114
320
margin-left : 10px ;
115
321
}
116
322
117
- }
323
+ }
0 commit comments