Lungo.layout.article.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Layout
  5. * @class Article
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. /* DIMENSIONS */
  10. /* COLORS */
  11. article {
  12. position: absolute;
  13. width: inherit;
  14. height: auto;
  15. top: 0;
  16. bottom: 0;
  17. display: none;
  18. visibility: hidden;
  19. z-index: 0;
  20. }
  21. article.current,
  22. article:first-child {
  23. visibility: visible;
  24. display: block;
  25. z-index: 1;
  26. }
  27. article .text {
  28. margin: 4px 0 8px;
  29. display: block;
  30. font-size: 0.9em;
  31. font-weight: normal;
  32. line-height: 1.4em;
  33. }
  34. header:not(.extended) ~ article {
  35. top: 44px;
  36. }
  37. header.extended ~ article {
  38. top: 74px;
  39. }
  40. footer ~ article {
  41. bottom: 44px;
  42. }
  43. @media handheld, only screen and (min-width: 768px) {
  44. article.aside {
  45. -webkit-transform: translate3d(0px, 0, 0);
  46. -moz-transform: translate3d(0px, 0, 0);
  47. -ms-transform: translate3d(0px, 0, 0);
  48. -o-transform: translate3d(0px, 0, 0);
  49. transform: translate3d(0px, 0, 0);
  50. -webkit-transform: translate3d(0px, 0, 0);
  51. -moz-transform: translate3d(0px, 0, 0);
  52. -ms-transform: translate3d(0px, 0, 0);
  53. -o-transform: translate3d(0px, 0, 0);
  54. transform: translate3d(0px, 0, 0);
  55. }
  56. }