/** * Stylesheet * * @namespace Lungo.Layout * @class Article * * @author Javier Jimenez Villar || @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 .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); } }