Skip to content

Commit e628589

Browse files
committed
add inline badge img
1 parent 939a40a commit e628589

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

_css/custom.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
object-fit: scale-down;
2828
}
2929

30+
/* Custom CSS required to display the docs|stable badge on the landing page */
31+
img[alt=badge] {
32+
height: 1em;
33+
width: auto;
34+
display: inline;
35+
margin: 0;
36+
padding: 0 0.5ex;
37+
}
38+
3039
/* ==================================================================
3140
Admonitions
3241
================================================================== */
@@ -115,9 +124,3 @@ TODO: remove when not required in Xranklin.
115124
*/
116125
.language-ruby::before {content: "Julia";}
117126

118-
/* Custom CSS required to display the docs|stable badge on the landing page */
119-
img[alt=badge] {
120-
height: 1em;
121-
width: auto;
122-
display: inline;
123-
}

0 commit comments

Comments
 (0)