Browse code

Amendments providing the "Edit on GitHub" link for docs on master.

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)

O.S.Tezer authored on 2014/04/18 06:53:39
Showing 2 changed files
... ...
@@ -8,4 +8,5 @@
8 8
       {% endif %}
9 9
     {% endif %}
10 10
   {% endfor %}
11
+  <li class="pull-right edit-on-github"><a href="https://github.com/dotcloud/docker/blob/master/docs/sources/{{ current_page.input_path }}"><span class="glyphicon glyphicon-edit"></span>Edit on GitHub</a></li>
11 12
 </ol>
12 13
\ No newline at end of file
... ...
@@ -425,6 +425,15 @@ ol.breadcrumb > li + li:before {
425 425
 ol.breadcrumb > li:last-child > a {
426 426
   font-weight: bold;
427 427
 }
428
+ol.breadcrumb > li.edit-on-github:before {
429
+  content: none;
430
+}
431
+ol.breadcrumb > li.edit-on-github a {
432
+  color: #FF8100;
433
+}
434
+ol.breadcrumb > li.edit-on-github span {
435
+  margin-right: 0.25em;
436
+}
428 437
 #content h1 {
429 438
   margin-top: 0px;
430 439
 }