Skip to content

Commit

Permalink
changed global styling for headers and p
Browse files Browse the repository at this point in the history
  • Loading branch information
matcornic committed Apr 11, 2016
1 parent 6d3abe2 commit e6216fd
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions public/css/hugo-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
display: none;
}

body {
font-size: 16px !important;
color: #323232 !important;
}

#body a.highlight, #body a.highlight:hover, #body a.highlight:focus {
text-decoration: none;
outline: none;
Expand Down Expand Up @@ -151,3 +156,49 @@
h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor {
visibility:visible;
}

/* Redfines headers style */

h2, h3, h4, h5, h6 {
font-weight: 400;
line-height: 1.1;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
font-weight: inherit;
}

h2 {
font-size: 2.5rem;
line-height: 110% !important;
margin: 2.5rem 0 1.5rem 0;
text-transform: capitalize;
}

h3 {
font-size: 2rem;
line-height: 110% !important;
margin: 2rem 0 1rem 0;
}

h4 {
font-size: 1.5rem;
line-height: 110% !important;
margin: 1.5rem 0 0.75rem 0;
}

h5 {
font-size: 1;
line-height: 110% !important;
margin: 1rem 0 0.2rem 0;
}

h6 {
font-size: 0.5rem;
line-height: 110% !important;
margin: 0.5rem 0 0.2rem 0;
}

p {
margin: 1rem 0;
}

0 comments on commit e6216fd

Please sign in to comment.