Files
blog_os/_sass/_layout.scss
Philipp Oppermann 427ad8dcf1 Tweak latest post highlight
Tweak JS to work on a 2nd click, too. Tweak CSS for shorter highlight and linear transition.
2015-10-06 00:17:22 +02:00

45 lines
995 B
SCSS

// Layout
//
// Styles for managing the structural hierarchy of the site.
.container {
max-width: 45rem;
padding-left: 1.5rem;
padding-right: 1.5rem;
margin-left: auto;
margin-right: auto;
}
footer {
margin-bottom: 2rem;
}
.updated {
border-radius: 5px;
-webkit-animation: fadeIt 1.5s linear;
-moz-animation: fadeIt 1.5s linear;
-o-animation: fadeIt 1.5s linear;
animation: fadeIt 1.5s linear;
}
@-webkit-keyframes fadeIt {
0% { background-color: #FFFFFF; }
15% { background-color: #ff9; }
100% { background-color: #FFFFFF; }
}
@-moz-keyframes fadeIt {
0% { background-color: #FFFFFF; }
15% { background-color: #ff9; }
100% { background-color: #FFFFFF; }
}
@-o-keyframes fadeIt {
0% { background-color: #FFFFFF; }
15% { background-color: #ff9; }
100% { background-color: #FFFFFF; }
}
@keyframes fadeIt {
0% { background-color: #FFFFFF; }
15% { background-color: #ff9; }
100% { background-color: #FFFFFF; }
}