Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Fix oversized padding
Browse files Browse the repository at this point in the history
  • Loading branch information
interactivellama committed Apr 24, 2015
1 parent 18f8e67 commit 3ccda7c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions assets/css/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ dt[id]{
margin-top: -40px;
}

.fu-callout h1,
.fu-callout h2,
.fu-callout h3,
.fu-callout h4,
.fu-callout h5,
.fu-callout h6,
.fu-callout dt{
padding-top: 35px;
}

.header-anchor {
position: absolute;
opacity: 0;
Expand Down Expand Up @@ -523,7 +533,7 @@ dt:hover .header-anchor{

/* Space things out */
.fu-docs-section {
margin-bottom: 60px;
margin-bottom: 35px;
}
.fu-docs-section:last-child {
margin-bottom: 0;
Expand Down Expand Up @@ -611,7 +621,7 @@ dt:hover .header-anchor{
/* Common styles for all types */
.fu-callout {
margin: 20px 0;
padding: 0 20px 60px 40px;/* no padding on top because of scrollspy/navbar hack, extra padding on left and bottom to try and even things out */
padding: 0 20px 35px 40px;/* no padding on top because of scrollspy/navbar hack, extra padding on left and bottom to try and even things out */
border-left: 3px solid #eee;
}
.fu-callout h4 {
Expand Down

0 comments on commit 3ccda7c

Please sign in to comment.