Skip to content

Commit

Permalink
fix nim-lang#260: improve headings and code padding
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran committed Feb 2, 2021
1 parent 274c307 commit 70572dd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion jekyll/assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,21 @@ h1 {
}

h2 {
margin: 48px 0 16px 0;
margin-top: 36px;
font-size: 175%;
}

h3 {
margin-top: 36px;
font-size: 120%;
font-weight: bold;
}

h4 {
font-weight: bold;
}


a {
text-decoration: none;
color: $a-color;
Expand Down Expand Up @@ -86,6 +98,7 @@ pre {

code, pre.highlight {
background-color: #eee;
padding: 1px 4px;
}

ul {
Expand Down Expand Up @@ -248,6 +261,10 @@ a.pure-menu-link.pure-menu-heading {
margin: 0;
}

.pure-u-1-2 > h3 {
font-weight: normal;
}

// Differently colored sections on front page.
.main.jumbotron {
background-color: $main-jumbotron-background-color;
Expand All @@ -272,6 +289,7 @@ a.pure-menu-link.pure-menu-heading {
h3 {
font-size: 133%;
margin-top: 1.5em;
font-weight: normal;
}

li {
Expand Down

0 comments on commit 70572dd

Please sign in to comment.