Skip to content

Commit 533aaf3

Browse files
committed
Default to horizontal stacking for display of sysfs attributes
Also deleted useless file
1 parent ff69b74 commit 533aaf3

File tree

4 files changed

+15
-19
lines changed

4 files changed

+15
-19
lines changed

_includes/head.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
<script src="{{ site.github.url }}/javascripts/search.js"></script>
2828
<!-- Converts static descriptors of tab target content into live text and links -->
2929
<script src="{{ site.github.url }}/javascripts/tabs.js"></script>
30+
<!-- Adds classes and other styles to pages where hard-coded css can't be used -->
31+
<script src="{{ site.github.url }}/javascripts/style-helpers.js"></script>
3032

3133
<!--[if lt IE 9]>
3234
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>

javascripts/menu.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

javascripts/style-helpers.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$(document).ready(function () {
2+
// Make <dl>s more visually separated
3+
$('dl').addClass('dl-horizontal');
4+
})

stylesheets/bootstrap-extensions.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@
7474
.featurette-heading {
7575
font-size: 50px;
7676
}
77+
78+
.dl-horizontal dd {
79+
margin-left: 220px;
80+
}
81+
82+
.dl-horizontal dt {
83+
width: 200px;
84+
}
7785
}
7886

7987
@media all and (max-width:991px) {
@@ -143,4 +151,4 @@ sup[id]:before {
143151

144152
.table-indexed > tbody > tr:nth-of-type(2n+1) {
145153
background-color: transparent;
146-
}
154+
}

0 commit comments

Comments
 (0)