Skip to content

Instantly share code, notes, and snippets.

@villeilkkala
Created January 20, 2018 19:40
Show Gist options
  • Save villeilkkala/8d97b411c59512b0f072a8c76baf4881 to your computer and use it in GitHub Desktop.
Save villeilkkala/8d97b411c59512b0f072a8c76baf4881 to your computer and use it in GitHub Desktop.
.app {
height: 100%;
display: flex;
overflow: hidden;
background: white;
font-family: "Trebuchet MS", Helvetica, sans-serif;
flex-direction: column;
color: #333331;
line-height: 1.6em;
}
.app .content {
height: 100%;
padding: 1em;
flex-grow: 1;
overflow-y: scroll;
}
.app .content img {
width: 100%;
height: auto;
}
.app ul {
display: flex;
flex-direction: row;
list-style: none;
margin: 0;
padding: 0;
}
.app ul li {
flex: 1;
height: 4em;
cursor: pointer;
display: block;
text-align: center;
background: linear-gradient(to bottom, #6b6b6b 0%,#464545 100%);
line-height: 4em;
text-transform: uppercase;
font-weight: bold;
color: #dadada;
}
.app ul li.current, .app ul li:hover {
background: linear-gradient(to bottom, #464545 0%,#6b6b6b 100%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment