🚧 Update templates and styles

This commit is contained in:
Carlos Cuesta 2016-10-31 09:44:24 +01:00
parent 259198fa97
commit 7d54677515
No known key found for this signature in database
GPG Key ID: 61C42E9291BDFAFD
2 changed files with 44 additions and 2 deletions

View File

@ -9,6 +9,15 @@ html, body {
background-color: $lightGray;
}
@keyframes zomg {
0%, 100% { color: #7ccdea; }
16% { color: #0074D9; }
32% { color: #2ECC40; }
48% { color: #FFDC00; }
64% { color: #B10DC9; }
80% { color: #FF4136; }
}
code {
padding: 1px 3px;
font-size: .85em;
@ -17,6 +26,11 @@ code {
border-radius: 2px;
font-family: Consolas, Inconsolata, monospace, sans-serif;
background: #F7FAFB;
transition: color .2s ease-out;
&:hover {
animation: zomg .5s infinite;
}
}
.header {
@ -32,9 +46,16 @@ code {
.wrap {
max-width: 1200px;
margin: 0 auto;
}
main.wrap {
padding: 3.5em 2em;
}
.footer {
padding-left: 2em;
}
.emoji {
display: flex;
@ -42,10 +63,25 @@ code {
background-color: $white;
margin: 1em 0;
flex: 1;
box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
transition: all .25s ease-out;
border-radius: 2px;
&:hover {
box-shadow: 0 10px 20px 0 rgba(168, 182, 191, .6)
}
}
&-icon {
img {
width: 100%;
height: 100px;
padding: 1em;
}
}
&-info {
padding: 20px 40px;
padding: 2em 4em;
p {
text-align: center;

View File

@ -30,9 +30,15 @@ html
article.col-xs-12.col-sm-6.col-md-4.emoji
.emoji-card
.emoji-icon
img(src='images/'+gitmoji.image+'.svg')
.emoji-info
header.emoji-data
span.icon=gitmoji.emoji
code=gitmoji.code
p=gitmoji.description
footer.footer.wrap
.row
.made-with-love
h3 Made with <3 by #[a(href="https://carloscuesta.me") Carlos Cuesta]
ul
li About
li GitHub