Skip to content

Commit 56f593b

Browse files
committedMay 29, 2015
add a11y notes
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 40d09bc commit 56f593b

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed
 

‎docs/creating-a-theme.txt

+34-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ The sidebar looks bad because of yet more CSS conflicts with rst.css. By adding
508508
transition: all .3s ease-in-out;
509509
}
510510

511-
Also, the accessibility link on top is visible when it should not. That's because we removed "theme.css" from the base theme, and with it, we lost a couple of classes. We can add them in lanyon.css:
511+
Also, the accessibility link on top is visible when it should not. That's because we removed "theme.css" from the base theme, and with it, we lost a couple of classes. We can add them in lanyon.css, along with others used by other
512+
pieces of the site:
512513

513514
.. code:: css
514515

@@ -533,6 +534,38 @@ Also, the accessibility link on top is visible when it should not. That's becaus
533534
clip: auto;
534535
}
535536

537+
.breadcrumb {
538+
padding: 8px 15px;
539+
margin-bottom: 20px;
540+
list-style: none;
541+
}
542+
543+
.breadcrumb > li {
544+
display: inline-block;
545+
margin-right: 0;
546+
margin-left: 0;
547+
}
548+
549+
.breadcrumb > li:after {
550+
content: ' / ';
551+
color: #888;
552+
}
553+
554+
.breadcrumb > li:last-of-type:after {
555+
content: '';
556+
margin-left: 0;
557+
}
558+
559+
.thumbnails > li {
560+
display: inline-block;
561+
margin-right: 10px;
562+
}
563+
564+
.thumbnails > li:last-of-type {
565+
margin-right: 0;
566+
}
567+
568+
536569
.. figure:: /images/lanyon-5.thumbnail.png
537570
:target: /images/lanyon-5.png
538571

0 commit comments

Comments
 (0)
Please sign in to comment.