Hugo theme.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

213 rader
2.8 KiB

  1. body {
  2. background-color: #fff;
  3. color: #000;
  4. width: 600px;
  5. margin: 120px auto;
  6. font-family: Georgia, Times, "Times New Roman", serif;
  7. line-height: 1.2rem;
  8. font-size: 1.7em;
  9. -webkit-font-smoothing: antialiased;
  10. }
  11. div.highlight {
  12. margin: 0 0 2rem 0;
  13. line-height: 1.5rem;
  14. }
  15. a {
  16. color: #6b0000;
  17. text-decoration: none;
  18. }
  19. a:visited {
  20. color: #333;
  21. }
  22. #articles div {
  23. display: block;
  24. border: 0px #777 solid;
  25. padding: 0;
  26. margin: 60px 0;
  27. border-radius: 10px;
  28. line-height: 1.9rem;
  29. }
  30. #articles p {
  31. font-size: 1.2rem;
  32. margin: 1rem 0 0rem 0;
  33. }
  34. #articles .list-date {
  35. font-size: 1.0rem;
  36. text-transform: capitalize;
  37. }
  38. #articles h2 {
  39. font-weight: normal;
  40. font-size: 1.7rem;
  41. line-height: 2.5rem;
  42. margin: 0 0 5px 0;
  43. }
  44. .postmeta, .listmeta {
  45. font-weight: 300;
  46. text-transform: uppercase;
  47. font-size: 0.9rem;
  48. margin: 20px 0;
  49. }
  50. .postmeta {
  51. margin: 1rem 0 3rem 0;
  52. }
  53. .postmeta a, .postmeta a:visited {
  54. color: #333;
  55. }
  56. img {
  57. width: 100%;
  58. margin: 1rem 0 1rem 0;
  59. }
  60. figure {
  61. margin: 20px 0;
  62. padding: 0;
  63. }
  64. figcaption, figcaption h4 {
  65. text-align: right;
  66. font-size: 1.0rem;
  67. font-weight: normal;
  68. }
  69. article {
  70. font-size: 1.1rem;
  71. line-height: 1.9rem;
  72. color: #222;
  73. }
  74. article a {
  75. text-decoration: underline;
  76. color: #4b0000;
  77. }
  78. article figcaption {
  79. text-transform: none;
  80. letter-spacing: 0.0rem;
  81. text-align: right;
  82. font-size: 0.8rem;
  83. }
  84. h1 {
  85. color: #eee;
  86. font-size: 1.0rem;
  87. }
  88. article h1 {
  89. font-size: 2.4rem;
  90. line-height: 3.0rem;
  91. margin: 0 0 50px 0;
  92. color: #6b0000;
  93. font-weight: 500;
  94. }
  95. article #description {
  96. margin: 1rem 0 1rem 0;
  97. font-style: italic;
  98. }
  99. article p {
  100. margin: 0 0 1.3rem 0;
  101. }
  102. article h2 {
  103. margin: 50px 0 15px 0;
  104. }
  105. hr {
  106. border: 1px dotted #aaa;
  107. }
  108. section.footnotes {
  109. margin-top: 3rem;
  110. font-size: 1.0rem;
  111. line-height: 1.5rem;
  112. }
  113. sup {
  114. font-size: 0.9rem;
  115. }
  116. #feedback {
  117. margin-top: 5rem;
  118. font-style: italic;
  119. font-size: 1.0rem;
  120. }
  121. #feedback a, #feedback a:visited {
  122. text-decoration: underline;
  123. }
  124. #site-title {
  125. margin: 0;
  126. font-size: 3.5rem;
  127. line-height: 4.0rem;
  128. font-weight: 500;
  129. color: #6b0000;
  130. font-variant-caps: petite-caps;
  131. }
  132. #site-title a, #site-title a:visited {
  133. text-decoration: none;
  134. text-transform: uppercase;
  135. font-weight: normal;
  136. }
  137. .post-title {
  138. text-transform: none;
  139. }
  140. ul.pagination {
  141. margin: 0;
  142. padding: 0;
  143. }
  144. ul.pagination li {
  145. display: inline;
  146. margin: 0 30px 0 0;
  147. }
  148. ul.pagination a {
  149. width: 20px;
  150. height: 20px;
  151. font-size: 1.7rem;
  152. text-decoration: none;
  153. }
  154. ul.pagination li.active a {
  155. background-color: white;
  156. padding: 5px 10px;
  157. }
  158. ul.pagination li.disabled {
  159. color: #333;
  160. }
  161. blockquote {
  162. margin: 0 0 0 2rem;
  163. padding: 0;
  164. font-style: italic;
  165. }
  166. @media screen and (max-width: 699px) {
  167. body {
  168. width: 90%;
  169. margin: 20px auto;
  170. }
  171. img {
  172. width: 100%;
  173. }
  174. }