1
0

_content.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. .content {
  2. flex: 1;
  3. display: flex;
  4. margin-top: 1.6rem;
  5. margin-bottom: 3.2rem;
  6. article {
  7. details {
  8. summary {
  9. cursor: pointer;
  10. }
  11. }
  12. header {
  13. margin-top: 6.4rem;
  14. margin-bottom: 3.2rem;
  15. h1 {
  16. font-size: 4.2rem;
  17. line-height: 4.6rem;
  18. margin: 0;
  19. @media only screen and (max-width : 768px) {
  20. font-size: 4.0rem;
  21. line-height: 4.4rem;
  22. }
  23. }
  24. }
  25. footer {
  26. margin-top: 4.0rem;
  27. .see-also {
  28. margin: 3.2rem 0;
  29. h3 {
  30. margin: 3.2rem 0;
  31. }
  32. }
  33. }
  34. p {
  35. text-align: justify;
  36. text-justify: auto;
  37. hyphens: auto;
  38. }
  39. }
  40. .post {
  41. .post-title {
  42. margin-bottom: .75em;
  43. }
  44. .post-meta {
  45. i {
  46. text-align: center;
  47. width: 1.6rem;
  48. margin-left: 0;
  49. margin-right: 0.5rem;
  50. }
  51. .date {
  52. .posted-on {
  53. margin-left: 0;
  54. margin-right: 1.5rem;
  55. }
  56. }
  57. }
  58. }
  59. figure {
  60. margin: 0;
  61. padding: 0;
  62. }
  63. figcaption p {
  64. text-align: center;
  65. font-style: italic;
  66. font-size: 1.6rem;
  67. margin: 0;
  68. }
  69. }
  70. .avatar img{
  71. width: 20rem;
  72. height: auto;
  73. border-radius: 50%;
  74. @media only screen and (max-width : 768px) {
  75. width: 10rem;
  76. }
  77. }
  78. .list {
  79. ul {
  80. margin: 3.2rem 0 3.2rem 0;
  81. list-style: none;
  82. padding: 0;
  83. li {
  84. font-size: 1.8rem;
  85. @media only screen and (max-width : 768px) {
  86. margin: 1.6rem 0 1.6rem 0;
  87. }
  88. .date {
  89. display: inline-block;
  90. flex:1;
  91. width: 20.0rem;
  92. text-align: right;
  93. margin-right: 3.0rem;
  94. @media only screen and (max-width : 768px) {
  95. display: block;
  96. text-align: left;
  97. }
  98. }
  99. .title {
  100. font-size: 1.8rem;
  101. flex:2;
  102. color: $fg-color;
  103. font-family: $heading-font-family;
  104. font-weight: 700;
  105. &:hover,
  106. &:focus {
  107. color: $link-color
  108. }
  109. }
  110. }
  111. }
  112. ul:not(.pagination) {
  113. li {
  114. @media only screen and (min-width : 768.1px) {
  115. display: flex;
  116. }
  117. }
  118. }
  119. }
  120. .centered {
  121. display: flex;
  122. align-items: center;
  123. justify-content: center;
  124. .about {
  125. text-align: center;
  126. h1 {
  127. margin-top: 2.0rem;
  128. margin-bottom: 0.5rem;
  129. }
  130. h2 {
  131. margin-top: 1.0rem;
  132. margin-bottom: 0.5rem;
  133. font-size: 2.4rem;
  134. @media only screen and (max-width : 768px) {
  135. font-size: 2.0rem;
  136. }
  137. }
  138. ul {
  139. list-style: none;
  140. margin: 3.0rem 0 1.0rem 0;
  141. padding: 0;
  142. li {
  143. display: inline-block;
  144. position: relative;
  145. a {
  146. color: $fg-color;
  147. text-transform: uppercase;
  148. margin-left: 1.0rem;
  149. margin-right: 1.0rem;
  150. font-size: 1.6rem;
  151. &:hover,
  152. &:focus {
  153. color: $link-color;
  154. }
  155. @media only screen and (max-width : 768px) {
  156. font-size: 1.4rem;
  157. }
  158. i {
  159. font-size: 3.2rem;
  160. }
  161. }
  162. }
  163. }
  164. }
  165. .error {
  166. text-align: center;
  167. h1 {
  168. margin-top: 2.0rem;
  169. margin-bottom: 0.5rem;
  170. font-size: 4.6rem;
  171. @media only screen and (max-width : 768px) {
  172. font-size: 3.2rem;
  173. }
  174. }
  175. h2 {
  176. margin-top: 2.0rem;
  177. margin-bottom: 3.2rem;
  178. font-size: 3.2rem;
  179. @media only screen and (max-width : 768px) {
  180. font-size: 2.8rem;
  181. }
  182. }
  183. }
  184. }