| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- /**
- * Stylesheet
- *
- * @namespace Lungo.Layout
- * @class Article
- *
- * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
- */
- /* DIMENSIONS */
- /* COLORS */
- article {
- position: absolute;
- width: inherit;
- height: auto;
- top: 0;
- bottom: 0;
- display: none;
- visibility: hidden;
- z-index: 0;
- }
- article.current,
- article:first-child {
- visibility: visible;
- display: block;
- z-index: 1;
- }
- article.pull {
- -webkit-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1);
- -moz-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1);
- -ms-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1);
- -o-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1);
- transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1);
- }
- article .text {
- margin: 4px 0 8px;
- display: block;
- font-size: 0.9em;
- font-weight: normal;
- line-height: 1.4em;
- }
- header:not(.extended) ~ article {
- top: 44px;
- }
- header.extended ~ article {
- top: 74px;
- }
- footer ~ article {
- bottom: 44px;
- }
- @media handheld, only screen and (min-width: 768px) {
- article.aside {
- -webkit-transform: translate3d(0px, 0, 0);
- -moz-transform: translate3d(0px, 0, 0);
- -ms-transform: translate3d(0px, 0, 0);
- -o-transform: translate3d(0px, 0, 0);
- transform: translate3d(0px, 0, 0);
- }
- }
|