_single-page.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*--------------------------------------------------------------*/
  2. /* !## Single Page */
  3. /*--------------------------------------------------------------*/
  4. .page-links {
  5. clear: both;
  6. margin: 0 0 $baseline;
  7. }
  8. .page .hentry.page {
  9. padding: $baseline 0;
  10. @include non-border(1px solid $color__border-transparent, top);
  11. &:before {
  12. margin-left: -50%;
  13. width: 200%;
  14. }
  15. .entry-header {
  16. display: table;
  17. margin: 0 0 ($baseline);
  18. position: relative;
  19. width: 100%;
  20. }
  21. .entry-title {
  22. @include article-title();
  23. margin-bottom: 0;
  24. }
  25. .entry-meta {
  26. @include gutter-width(100%);
  27. }
  28. .entry-header .entry-title,
  29. .entry-content {
  30. @include gutter-width(100%);
  31. }
  32. }
  33. @include breakpoint( tablet ) {
  34. .page .hentry.page {
  35. padding: ($baseline * 2) 5%;
  36. .entry-header {
  37. margin-bottom: ($baseline * 2);
  38. }
  39. .entry-title {
  40. float: left;
  41. }
  42. .entry-header .entry-title,
  43. .entry-content {
  44. @include gutter-width( #{((100% / 8) * 6)} );
  45. }
  46. .entry-meta {
  47. @include gutter-width( #{((100% / 8) * 2)} );
  48. float: right;
  49. }
  50. }
  51. }