Skip to content

Commit

Permalink
Increase size of h1 headings to 1.8em
Browse files Browse the repository at this point in the history
  • Loading branch information
shevron authored and smotornyuk committed Jun 16, 2019
1 parent 594580e commit 51aa086
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 1 deletion.
142 changes: 142 additions & 0 deletions ckan/public-bs2/base/less/ckan.less
@@ -0,0 +1,142 @@
@import "variables.less";
@import "custom.less";
@import "mixins.less";
@import "module.less";
@import "media.less";
@import "nav.less";
@import "forms.less";
@import "dataset.less";
@import "search.less";
@import "group.less";
@import "toolbar.less";
@import "prose.less";
@import "icons.less";
@import "layout.less";
@import "homepage.less";
@import "masthead.less";
@import "footer.less";
@import "tables.less";
@import "profile.less";
@import "activity.less";
@import "dropdown.less";
@import "dashboard.less";
@import "resource-view.less";
@import "datapusher.less";

body {
// Using the masthead/footer gradient prevents the color from changing
// at the bottom of the window on pages with little content.
background: @mastheadBackgroundColor url("@{bgPath}");
}

[hidden] {
display: none;
}

table {
table-layout: fixed;
}

thead th {
vertical-align: top;
}

td, th {
word-wrap: break-word;
}

table .metric {
width: 140px;
}

code {
color: @codeTextColor;
border: none;
background: none;
white-space: normal;
}

pre {
border: none;
background: none;
padding-left: 0;
padding-right: 0;
}

mark {
background: @highlightBackground;
}

blockquote p {
font-size: 1em;
}

iframe {
border: none;
}

.embedded-content h1 {
font-size: 1.8em;
}

.embedded-content h2 {
font-size: 1.4em;
}

.embedded-content h3 {
font-size: 1.2em;
}

.popular {
text-indent: -999em;
}

.empty {
color: @emptyTextColor;
font-style: italic;
}

.page-heading {
margin-top: 0;
margin-bottom: 16px;
}

.m-top {
margin-top: @gutterSmallX;
}
.m-left {
margin-left: @gutterSmallX;
}
.m-right {
margin-right: @gutterSmallX;
}
.m-bottom {
margin-bottom: @gutterSmallX;
}
.no-margin {
margin: 0;
}
.reduced-margin {
margin: 3px 5px;
}

.p-top {
padding-top: @gutterSmallX;
}
.p-left {
padding-left: @gutterSmallX;
}
.p-right {
padding-right: @gutterSmallX;
}
.p-bottom {
padding-bottom: @gutterSmallX;
}
.no-padding {
padding: 0;
}
.reduced-padding {
padding: 3px 5px;
}

@import "iehacks.less";
2 changes: 1 addition & 1 deletion ckan/public/base/less/ckan.less
Expand Up @@ -76,7 +76,7 @@ iframe {
}

.embedded-content h1 {
font-size: 1.4em;
font-size: 1.8em;
}

.embedded-content h2 {
Expand Down

0 comments on commit 51aa086

Please sign in to comment.