Skip to content

Commit

Permalink
Remove specific font-family rule for headings
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Sep 4, 2024
1 parent f72e61e commit f2bd991
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion _includes/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script defer src="{{ site.baseurl }}/js/lib/fontawesome/fontawesome.min.js"></script>

<!-- Ubuntu fonts from google -->
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
<script type="text/javascript" src="{{ site.baseurl }}/js/lib/TypeHelpers.min.js"></script>
<!-- Algolia search begin -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/algoliasearch-lite.umd.js" integrity="sha256-DABVk+hYj0mdUzo+7ViJC6cwLahQIejFvC+my2M/wfM=" crossorigin="anonymous"></script>
Expand Down
4 changes: 0 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
margin: 40px 0 20px;
}

h2 {
font-size: 24px;
}

#full-list-of-the-meaningful-changes + ul {
display: none;
}
Expand Down
8 changes: 0 additions & 8 deletions css/commercial.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
line-height: 26px;
color: #23263B;
}
.full-container h1,
.full-container h2,
.full-container h3,
.full-container h4,
.full-container h5,
.full-container h6 {
font-family: Ubuntu, Tahoma, Arial, sans-serif;
}
.full-container h1 {
font-size: 48px;
font-weight: 700;
Expand Down
9 changes: 0 additions & 9 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,11 @@ h1, h2, h3 {
margin-bottom:10px;
line-height:1.1;
}
h1, .h1 { font-size: 36px; }
h2, .h2 { font-size: 32px; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; }
.r-docs-content ol {
padding-left: 40px;
}
.page-link { text-decoration: none; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: Tahoma, Arial, sans-serif;
}

/* Use only web safe fonts when font-smoothing is not enabled */
/* stylelint-disable selector-class-pattern */
html.hasFontSmoothing-false :is(body, .tooltip, .popover) {
Expand Down Expand Up @@ -364,5 +356,4 @@ div#toc {
font-size: 1em;
}

.site-map h2 { font-size: 24px; }
.site-map > div > ul { padding-left: 1.5rem; }

0 comments on commit f2bd991

Please sign in to comment.