Last active
December 15, 2015 05:59
-
-
Save JonMcL/5213486 to your computer and use it in GitHub Desktop.
Useful CSS for Drupal theme. Designed to make many action tabs flow to a second line.
Gleamed from: http://redfinsolutions.com/blog/sanitizing-drupals-default-tabs
This file contains hidden or 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
| ul.primary { | |
| border-bottom: 0; | |
| white-space: normal; | |
| line-height: 1.6em; | |
| padding: 0; | |
| margin: 0 | |
| } | |
| ul.primary li { | |
| display: list-item; | |
| float: left; | |
| margin-bottom: 10px; | |
| } | |
| ul.primary li a { | |
| border-style: solid; | |
| white-space: nowrap; | |
| margin-right: .1em; | |
| } | |
| ul.primary li.active a { | |
| border-bottom: 1px solid #bbb; | |
| } | |
| ul.primary li a:hover { | |
| border-bottom-color: #ccc; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment