Browse Source

Adjusting the <pre> content.

pull/249/head
connors 11 years ago
parent
commit
512573f35e
  1. 9
      _includes/header.html
  2. 4
      _layouts/default.html
  3. 17
      docs-assets/css/docs.css
  4. 18
      lib/sass/docs.scss

9
_includes/header.html

@ -17,8 +17,9 @@
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="{{ page.base_url }}dist/ratchet.js"></script> <script src="{{ page.base_url }}dist/ratchet.js"></script>
<!--<script src="{{ page.base_url }}docs-assets/js/docs.js"></script> <!--<script src="{{ page.base_url }}docs-assets/js/docs.js"></script>-->
<script src="{{ page.base_url }}docs-assets/js/fingerblast.js"></script>--> <script src="{{ page.base_url }}docs-assets/js/fingerblast.js"></script>
<script> <script>
var _gaq = _gaq || []; var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36050008-1']); _gaq.push(['_setAccount', 'UA-36050008-1']);
@ -29,4 +30,8 @@
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})(); })();
// Remove once I add back in the docs.js
$(function() {
$(window).on('load', function () { new FingerBlast('.body'); });
});
</script> </script>

4
_layouts/default.html

@ -4,8 +4,8 @@
{% include header.html %} {% include header.html %}
</head> </head>
<body ontouchstart=""> <body ontouchstart="">
<!-- Masthead & navigation --> <!-- Masthead & navigation
{% include nav.html %} {% include nav.html %}-->
<!-- Page content --> <!-- Page content -->
{{ content }} {{ content }}

17
docs-assets/css/docs.css

@ -83,10 +83,27 @@ h1, h2, h3, h4, h5, h6 {
position: relative; position: relative;
} }
.component-example .bar-header-secondary {
top: 0;
}
.bar-nav ~ .content { .bar-nav ~ .content {
padding: 0; padding: 0;
} }
.highlight pre {
margin-top: 10px;
padding: 10px;
font-size: 13px;
overflow-x: auto;
color: #777;
background-color: #fafafa;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
white-space: pre;
word-wrap: normal;
}
.container { .container {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;

18
lib/sass/docs.scss

@ -89,10 +89,24 @@ h1, h2, h3, h4, h5, h6 {
.component-example .content { .component-example .content {
position: relative; position: relative;
} }
.component-example .bar-header-secondary {
top: 0;
}
.bar-nav ~ .content { .bar-nav ~ .content {
padding: 0; padding: 0;
} }
.highlight pre {
margin-top: 10px;
padding: 10px;
font-size: 13px;
overflow-x: auto;
color: #777;
background-color: #fafafa;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
white-space: pre;
word-wrap: normal;
}
// The Chassis grid // The Chassis grid
@ -101,8 +115,6 @@ h1, h2, h3, h4, h5, h6 {
.container { .container {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
// padding-left: 2%;
// padding-right: 2%;
} }
.column-group { .column-group {
width: auto; width: auto;

Loading…
Cancel
Save