_posts.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .sticky {
  2. display: block;
  3. }
  4. .hentry {
  5. margin: 0 0 3.2em;
  6. }
  7. .byline,
  8. .updated:not(.published){
  9. display: none;
  10. }
  11. .single .byline,
  12. .group-blog .byline {
  13. display: inline;
  14. }
  15. .page-content,
  16. .entry-content,
  17. .entry-summary {
  18. margin: 0 0 1.6em;
  19. }
  20. .post-thumbnail {
  21. margin: 0 0 .8em;
  22. }
  23. .entry-title {
  24. letter-spacing: 0;
  25. line-height: 1;
  26. margin: 0 0 .2em;
  27. text-transform: none;
  28. word-wrap: break-word;
  29. @include font-size(2);
  30. a {
  31. color: $color__text-main;
  32. text-decoration: none;
  33. &:hover,
  34. &:focus {
  35. color: $color__link-hover;
  36. }
  37. }
  38. }
  39. .entry-meta,
  40. .entry-footer {
  41. @include clearfix;
  42. color: $color__text-input;
  43. text-transform: lowercase;
  44. margin: 0 0 1.6em;
  45. width: 100%;
  46. @include font-size(.875);
  47. a {
  48. color: $color__text-input;
  49. font-weight: normal;
  50. &:hover,
  51. &:focus {
  52. text-decoration: underline;
  53. }
  54. }
  55. }
  56. .entry-footer span {
  57. margin-right: 1.6em;
  58. }
  59. .entry-content,
  60. .entry-summary {
  61. @include font-size(1);
  62. }
  63. .edit-link {
  64. float: right;
  65. display: inline-block;
  66. clear: right;
  67. }
  68. .more-link {
  69. font-weight: bold;
  70. text-decoration: none;
  71. }
  72. .jetpack-recipe {
  73. padding: .8em 1.6em !important;
  74. }
  75. /* Author Bio */
  76. .entry-author {
  77. background-color: $color__background-pre;
  78. padding: 1.6em;
  79. position: relative;
  80. .author-avatar {
  81. position: absolute;
  82. left: 1.6em;
  83. top: 1.6em;
  84. }
  85. .author-title,
  86. .author-name {
  87. line-height: 1.2;
  88. margin: 0;
  89. }
  90. .author-avatar + .author-heading {
  91. margin-left: 84px;
  92. }
  93. .author-bio {
  94. margin-top: 1.6em;
  95. margin-bottom: 0;
  96. }
  97. .author-title {
  98. color: $color__text-input;
  99. @include font-size(1);
  100. }
  101. }