_posts.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. .sticky {
  2. display: block;
  3. }
  4. .hentry {
  5. @include clearfix;
  6. border-bottom: 1px solid $color__border-button;
  7. margin: 0 0 3.2em;
  8. padding: 0 0 3.2em;
  9. width: 100%;
  10. }
  11. .single .hentry {
  12. border-bottom: 0;
  13. margin-bottom: 0;
  14. }
  15. .entry-summary {
  16. color: $color__link;
  17. @include font-size(1.125);
  18. font-style: italic;
  19. margin-bottom: .8em;
  20. width: 100%;
  21. clear: both;
  22. p:last-of-type {
  23. margin-bottom: 0;
  24. }
  25. }
  26. .search-results .entry-summary {
  27. color: inherit;
  28. @include font-size(1);
  29. font-style: normal;
  30. margin-bottom: auto;
  31. width: auto;
  32. clear: none;
  33. }
  34. .byline,
  35. .updated:not(.published){
  36. display: none;
  37. }
  38. .single .byline,
  39. .group-blog .byline {
  40. display: block;
  41. }
  42. .byline {
  43. .author {
  44. text-overflow: ellipsis;
  45. white-space: nowrap;
  46. overflow: hidden;
  47. width: 100%;
  48. }
  49. }
  50. .page-content,
  51. .entry-content,
  52. .entry-summary {
  53. margin: 0 0 1.6em;
  54. a {
  55. word-wrap: break-word;
  56. overflow-wrap: break-word;
  57. }
  58. }
  59. .entry-header {
  60. margin-bottom: 1.6em;
  61. }
  62. .entry-title {
  63. margin: 0;
  64. color: $color__text-screen;
  65. a,
  66. a:visited {
  67. color: $color__text-screen;
  68. opacity: 1;
  69. text-decoration: none;
  70. transition: 0.3s;
  71. &:hover {
  72. opacity: 0.75;
  73. }
  74. }
  75. }
  76. .site-header .entry-title {
  77. color: white;
  78. display: none;
  79. font-weight: normal;
  80. position: absolute;
  81. top: 50%;
  82. left: 50%;
  83. text-align: center;
  84. transform: translate(-50%,-50%);
  85. }
  86. .entry-meta {
  87. color: $color__link-hover;
  88. font-family: $font__headings;
  89. font-weight: bold;
  90. text-transform: uppercase;
  91. letter-spacing: 1px;
  92. margin-bottom: 1.6em;
  93. clear: left;
  94. @include font-size(.825);
  95. span {
  96. clear: both;
  97. display: block;
  98. margin-bottom: .4em;
  99. }
  100. a {
  101. text-decoration: none;
  102. }
  103. }
  104. .entry-footer {
  105. clear: both;
  106. color: $color__link-hover;
  107. @include font-size(.825);
  108. a {
  109. text-decoration: none;
  110. }
  111. span {
  112. display: block;
  113. margin-bottom: .4em;
  114. }
  115. }
  116. .featured-image {
  117. display: inline-block;
  118. margin-bottom: 1.6em;
  119. position: relative;
  120. img {
  121. display: block;
  122. opacity: 0.9;
  123. transition: 0.25s opacity;
  124. }
  125. a:before {
  126. border: .8em solid transparent;
  127. box-shadow: inset 0 0 0 1px $color__border-button;
  128. content: "";
  129. display: inline-block;
  130. position: absolute;
  131. top: 0;
  132. left: 0;
  133. width: 100%;
  134. height: 100%;
  135. z-index: 1;
  136. }
  137. a:hover img {
  138. opacity: 1;
  139. }
  140. }
  141. .page-links {
  142. border-top: 1px solid $color__border-button;
  143. border-bottom: 1px solid $color__border-button;
  144. color: $color__text-screen;
  145. padding: .8em 0;
  146. margin: .8em 0;
  147. font-weight: bold;
  148. word-spacing: 5px;
  149. width: 100%;
  150. a {
  151. text-decoration: none;
  152. }
  153. }