Lungo.layout.article.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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: fixed;
  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: 42px;
  36. }
  37. header.extended ~ article {
  38. top: 72px;
  39. }
  40. footer:not(.with-labels) ~ article {
  41. bottom: 41px;
  42. }
  43. footer.with-labels ~ article {
  44. bottom: 52px;
  45. }
  46. @media handheld, only screen and (min-width: 768px) {
  47. article.aside {
  48. -webkit-transform: translate3d(0px, 0, 0);
  49. -moz-transform: translate3d(0px, 0, 0);
  50. -ms-transform: translate3d(0px, 0, 0);
  51. -o-transform: translate3d(0px, 0, 0);
  52. transform: translate3d(0px, 0, 0);
  53. -webkit-transform: translate3d(0px, 0, 0);
  54. -moz-transform: translate3d(0px, 0, 0);
  55. -ms-transform: translate3d(0px, 0, 0);
  56. -o-transform: translate3d(0px, 0, 0);
  57. transform: translate3d(0px, 0, 0);
  58. }
  59. }