Skip to content

Commit 6aac90c

Browse files
authored
Remove unused rule from stylesheet
The rules matching a `footer` tag were originally there for styling of a sponsor logo (as shown by `git blame`) on crates.fyi. None of the templates output a `footer` tag anymore, so this rule is unused. What's more, this unused rule will interfere with the look of any docs outputs themselves when these contain one or more `footer` tags nested inside of `blockquote` like http://html5doctor.com/cite-and-blockquote-reloaded/ suggests that one might one to do when quoting some other work. Specifically, you can see this happen in the docs for one of mine crates; * https://docs.rs/persistence/0.0.2/persistence/#what-this-library-is-and-what-it-is-not * https://github.com/ctsrc/persistence/blob/2375f30ae37ac5b8fa42af96cd35afd66a79bd76/src/lib.rs#L81-L96 Originally, I was planning on suggesting that the rule be limited to be more specific, but since I see that it goes unused, I suggest removing it all-together.
1 parent 32074e7 commit 6aac90c

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

templates/style.scss

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -730,28 +730,6 @@ div.search-page-search-form {
730730
}
731731

732732

733-
footer {
734-
margin-top: 60px;
735-
margin-bottom: 10px;
736-
text-align: center;
737-
ul {
738-
list-style-type: none;
739-
li {
740-
list-style-type: none;
741-
margin-bottom: 10px;
742-
743-
a {
744-
font-weight: 500;
745-
color: $color-url;
746-
}
747-
}
748-
li.hosting {
749-
font-size: .8em;
750-
}
751-
}
752-
}
753-
754-
755733
.about {
756734
font-family: $font-family-serif;
757735
padding: .4em 1em;

0 commit comments

Comments
 (0)