Skip to content

Commit 0361b8d

Browse files
committed
Adjust methods heading style
1 parent fa45354 commit 0361b8d

File tree

1 file changed

+9
-5
lines changed
  • lib/rdoc/generator/template/rorvswild/css

1 file changed

+9
-5
lines changed

lib/rdoc/generator/template/rorvswild/css/rdoc.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,14 +688,17 @@ em {
688688
.method-heading {
689689
position: relative;
690690
font-family: var(--font-mono);
691-
font-size: 1rem;
691+
font-size: 1.138rem;
692692
font-weight: bold;
693693
color: var(--color-text);
694694
}
695695

696696
.method-heading span { background-color: var(--color-code-background); }
697697

698-
.method-heading :any-link { color: inherit; }
698+
.method-heading :any-link {
699+
text-decoration: none;
700+
color: inherit;
701+
}
699702

700703
.toggle-source {
701704
margin-top: 1rem;
@@ -720,13 +723,14 @@ pre + .toggle-source { margin-top: 0.5rem; }
720723
.method-description,
721724
.aliases {
722725
color: var(--color-text-light);
723-
margin-top: 0.5em;
726+
margin-top: 1em;
724727
}
725728

726729
.aliases {
727-
padding-top: 4px;
728-
font-style: italic;
729730
cursor: default;
731+
font-size: 0.823em;
732+
font-style: italic;
733+
padding-top: 4px;
730734
}
731735

732736
.method-description p { margin: 0; }

0 commit comments

Comments
 (0)