Merge pull request #161 from amiaopensource/css

one `.btn`
This commit is contained in:
Ashley 2017-03-05 12:41:37 -05:00 committed by GitHub
commit 0ed5cfff65

View File

@ -1,4 +1,4 @@
h1,h2,h3,h4,h5,h6 { h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif; font-family: 'Montserrat', sans-serif;
} }
@ -11,7 +11,7 @@ dd {
} }
dt { dt {
font-family: Menlo,Monaco,Consolas,"Courier New",monospace; font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
} }
img { img {
@ -38,9 +38,6 @@ div {
.btn { .btn {
margin: 8px; margin: 8px;
}
.btn {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
-webkit-transform: translateZ(0); -webkit-transform: translateZ(0);
@ -54,6 +51,7 @@ div {
-webkit-transition-duration: 0.3s; -webkit-transition-duration: 0.3s;
transition-duration: 0.3s; transition-duration: 0.3s;
} }
.btn:before { .btn:before {
content: "💫"; content: "💫";
position: absolute; position: absolute;
@ -68,6 +66,7 @@ div {
-webkit-transition-timing-function: ease-out; -webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out; transition-timing-function: ease-out;
} }
.btn:hover:before, .btn:focus:before, .btn:active:before { .btn:hover:before, .btn:focus:before, .btn:active:before {
-webkit-transform: scale(1.3) translateZ(0); -webkit-transform: scale(1.3) translateZ(0);
transform: scale(1.3) translateZ(0); transform: scale(1.3) translateZ(0);
@ -79,7 +78,7 @@ div {
font-size: 90%; font-size: 90%;
color: #c7254e; color: #c7254e;
background-color: #f9f2f4; background-color: #f9f2f4;
border-radius: 4px border-radius: 4px;
} }
.beware { .beware {