1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-09 00:36:41 +02:00

improve example tab bar styles

This commit is contained in:
Ian Storm Taylor
2016-07-06 14:54:13 -07:00
parent 14e02b1c67
commit 7dc00a77d3

View File

@@ -1,11 +1,14 @@
html { html {
padding: 20px;
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
line-height: 1.4; line-height: 1.4;
background: #eee; background: #eee;
} }
body {
margin: 0;
}
p { p {
margin: 0; margin: 0;
} }
@@ -54,23 +57,24 @@ td {
*/ */
.tabs { .tabs {
padding: 20px;
background-color: #222;
text-align: center; text-align: center;
margin-bottom: 30px; margin-bottom: 30px;
} }
.tab { .tab {
color: #aaa; color: #777;
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
} }
.tab + .tab { .tab + .tab {
margin-left: 20px; margin-left: 30px;
} }
.tab.active { .tab.active {
color: black; color: white;
font-weight: bold;
} }
/** /**