/** * Stylesheet * * @namespace LUNGO.Layout * @class Article * * @author Javier Jimenez Villar || @soyjavi */ /* DIMENSIONS */ /* COLORS */ article { position: fixed; 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: 42px; } header.extended ~ article { top: 72px; } footer:not(.with-labels) ~ article { bottom: 41px; } footer.with-labels ~ article { bottom: 52px; } @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); -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); } }