-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #566 from pfebrer/style_docs_tabs
Make documentation tabs more visual
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/*STYLES TO MAKE TABS MORE VISUAL*/ | ||
|
||
/*The parent container of tabs*/ | ||
.tab-set { | ||
border: 1px solid #ccc | ||
} | ||
|
||
/*Individual box of each tab*/ | ||
.tab-set > label { | ||
margin-bottom: 0 | ||
} | ||
|
||
/*Container appearing below the tabs, with the contents of the active tab*/ | ||
.tab-content { | ||
background-color: aliceblue; | ||
padding: 20px | ||
} | ||
|
||
/*Initial paragraph of the content. By default there's a top margin | ||
but we already specify a padding of 20 px for the content no matter what the | ||
first child is.*/ | ||
.tab-content > p:first-child { | ||
margin-top: 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters