Skip to content

Instantly share code, notes, and snippets.

@wadmiraal
Last active February 29, 2016 17:46
Show Gist options
  • Save wadmiraal/7909760 to your computer and use it in GitHub Desktop.
Save wadmiraal/7909760 to your computer and use it in GitHub Desktop.
Drupal default tabs styles. Enhance the default Drupal tabs styles with this little snippet. They look much better.
ul.tabs {
border-bottom: 0;
margin: 20px;
padding: 0;
overflow: hidden;
li {
float: left;
margin-right: .5em;
a {
display: block;
padding: 5px 10px;
border: 0;
background: #eee;
}
a.active {
border: 2px solid #eee;
padding: 3px 8px;
background-color: #fff;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment