Skip to content

Instantly share code, notes, and snippets.

@deadlysyn
Created January 22, 2018 04:30
Show Gist options
  • Save deadlysyn/250091a1362bf0179c7ace8519cfa8cb to your computer and use it in GitHub Desktop.
Save deadlysyn/250091a1362bf0179c7ace8519cfa8cb to your computer and use it in GitHub Desktop.
/*
* common elements
*/
.button {
align-items: center;
box-sizing: border-box;
color: #d32323;
display: flex;
font-size: 4vh;
font-weight: 700;
justify-content: center;
letter-spacing: 2px;
text-align: center;
}
.button:hover {
box-shadow: inset 0px 0.1em 0.1em rgba(0, 0, 0, 0.4),
inset 0px -0.1em 0.1em rgba(0, 0, 0, 0.4),
inset 0.1em 0px 0.1em rgba(0, 0, 0, 0.4),
inset -0.1em 0px 0.1em rgba(0, 0, 0, 0.4);
color: #000;
transition: all 0.25s;
}
.footer {
grid-area: footer;
opacity: 0.7;
}
.text-shadow {
text-shadow: 0px 2px 4px rgba(211, 35, 35, 0.7),
0px -2px 4px rgba(211, 35, 35, 0.7),
2px 0px 4px rgba(211, 35, 35, 0.7),
-2px 0px 4px rgba(211, 35, 35, 0.7);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment