Skip to content

Commit 3212628

Browse files
committed
css: fix styling of sidebar
In most places in CSS, the sidebar is being referenced by using the `aside.sidebar` selector. The sidebar is being declared with its identifier set to "sidebar", not its class, which causes the selectors to not match the sidebar at all. Adjust the sidebar to instead have a class and adapt the single occasion of "#sidebar" to use ".sidebar".
1 parent 4ec9300 commit 3212628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

css/libgit2.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ header a.button h3 {
15791579
}
15801580

15811581

1582-
#sidebar {
1582+
.sidebar {
15831583
float: right;
15841584
width: 300px;
15851585
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h5>Trusted and used in production by</h5>
5151
</div>
5252
</section>
5353
</div>
54-
<aside id='sidebar'>
54+
<aside class='sidebar'>
5555
<h5>Language Bindings</h5>
5656
<ul id='primary-languages'>
5757
<li id='rugged'>

0 commit comments

Comments
 (0)