Skip to content

Instantly share code, notes, and snippets.

@mythmon
Created October 25, 2012 22:03
Show Gist options
  • Save mythmon/3955740 to your computer and use it in GitHub Desktop.
Save mythmon/3955740 to your computer and use it in GitHub Desktop.
@import "defaults.css";
body {
background: #111;
padding: 5px;
max-width: 480px;
}
.screen {
height: 100px;
width: 290px;
background: #93ed7b;
margin-bottom: 8px;
padding: 10px;
size: 2em;
box-shadow: inset -1px -1px 7px rgba(0, 0, 0, 0.5);
position: relative;
overflow: hidden;
}
.screen .stack {
position: absolute;
bottom: 12px;
right: 12px;
}
.screen .stack .row {
display: block;
text-align: right;
font-size: 1.5em;
}
.screen .messages {
align: center;
position: absolute;
bottom: 0;
}
.buttons {
width: 100%;
display: -moz-box;
-moz-box-orient: vertical;
}
.buttons .row {
display: -moz-box;
width: 100%;
}
.buttons button {
display: -moz-flex;
-moz-box-flex: 1;
min-height: 50px;
margin: 5px;
font-size: 1em;
font-weight: bold;
border-radius: 10px;
color: #fff;
background: #333;
border-width: 1px 2px 2px 1px;
border-style: solid;
border-color: #555 #222 #222 #555;
}
.buttons button.wide {
display: -moz-flex;
-moz-box-flex: 2;
}
.buttons button:last-child {
margin-right: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment