Skip to content

Commit c2999e0

Browse files
Remove bulma subheading styling (#347)
* Remove bulma subheading styling * Add minimal subtitle styling
1 parent 86a054b commit c2999e0

2 files changed

Lines changed: 5 additions & 39 deletions

File tree

assets/theme-css/bulma.css

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
.level:not(:last-child),
7070
.message:not(:last-child),
7171
.progress:not(:last-child),
72-
.subtitle:not(:last-child),
7372
.table:not(:last-child),
7473
.tabs:not(:last-child),
7574
.title:not(:last-child) {
@@ -592,28 +591,6 @@ a.box:active {
592591
a.tag:hover {
593592
text-decoration: underline;
594593
}
595-
.subtitle,
596-
.title {
597-
word-break: break-word;
598-
}
599-
.subtitle em,
600-
.subtitle span,
601-
.title em,
602-
.title span {
603-
font-weight: inherit;
604-
}
605-
.subtitle sub,
606-
.title sub {
607-
font-size: 0.75em;
608-
}
609-
.subtitle sup,
610-
.title sup {
611-
font-size: 0.75em;
612-
}
613-
.subtitle .tag,
614-
.title .tag {
615-
vertical-align: middle;
616-
}
617594
.title {
618595
font-size: 2rem;
619596
font-weight: 600;
@@ -629,22 +606,6 @@ a.tag:hover {
629606
.title.is-5 {
630607
font-size: 1.25rem;
631608
}
632-
.subtitle {
633-
color: #4a4a4a;
634-
font-size: 1.25rem;
635-
font-weight: 400;
636-
line-height: 1.25;
637-
}
638-
.subtitle strong {
639-
color: #363636;
640-
font-weight: 600;
641-
}
642-
.subtitle:not(.is-spaced) + .title {
643-
margin-top: -1.25rem;
644-
}
645-
.subtitle.is-5 {
646-
font-size: 1.25rem;
647-
}
648609
.heading {
649610
display: block;
650611
font-size: 11px;

assets/theme-css/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,8 @@ a.headerlink {
402402
padding: 0;
403403
padding-bottom: 1.5rem;
404404
}
405+
406+
.subtitle {
407+
font-style: italic;
408+
margin-top: -0.5rem;
409+
}

0 commit comments

Comments
 (0)