single.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. .read-area {
  2. background-color: #f9fafc;
  3. }
  4. .wrapper {
  5. padding: 0;
  6. }
  7. .hero-area {
  8. margin-top: 50px;
  9. width: 100%;
  10. height: 400px;
  11. background-position: center;
  12. background-repeat: no-repeat;
  13. background-size: cover;
  14. }
  15. .page-content {
  16. width: 100%;
  17. position: relative;
  18. top: -4.5rem;
  19. padding: 15px;
  20. }
  21. .author-profile {
  22. position: relative;
  23. align-content: center;
  24. text-align: center;
  25. }
  26. .author-profile img {
  27. height: 120px;
  28. width: 120px;
  29. }
  30. .author-profile p {
  31. color: #8392a5;
  32. }
  33. .title {
  34. text-align: center;
  35. }
  36. .post-content {
  37. padding: 15px;
  38. }
  39. .post-content h1,
  40. h2 {
  41. margin-top: 1.4rem;
  42. }
  43. .post-content h3,
  44. h4,
  45. h5,
  46. h6 {
  47. margin-top: 1.3rem;
  48. }
  49. .post-content blockquote {
  50. border-left: 4px solid #248aaa;
  51. background-color: #248baa15;
  52. padding: 0.3rem;
  53. padding-left: 1rem;
  54. }
  55. .post-content blockquote > p {
  56. color: #3c4858;
  57. margin-top: 0.5rem;
  58. margin-bottom: 0.5rem;
  59. }
  60. table {
  61. border-radius: 0.1rem;
  62. background: #e5e9f2;
  63. border: 1px solid #c0ccda;
  64. padding: 0.1rem;
  65. }
  66. table tr {
  67. height: 40px !important;
  68. }
  69. table th,
  70. td {
  71. padding: 0.5rem;
  72. border-left: 1px solid #8392a5;
  73. border-bottom: 1px solid #8392a5;
  74. }
  75. table thead tr {
  76. background: #248aaa;
  77. color: #e5e9f2;
  78. }
  79. tbody tr:nth-child(odd) {
  80. background-color: #e5e9f2;
  81. }
  82. tbody tr:hover {
  83. background: #c0ccda;
  84. }
  85. figure {
  86. border: 1px solid #c0ccda;
  87. height: fit-content;
  88. width: fit-content;
  89. align-self: center;
  90. margin: auto;
  91. }
  92. img {
  93. max-width: 100%;
  94. }
  95. caption,
  96. figcaption {
  97. caption-side: bottom;
  98. text-align: center;
  99. color: #8392a5;
  100. }
  101. pre {
  102. margin: 5px;
  103. }
  104. code {
  105. padding: 10px !important;
  106. }
  107. .navbar-toggler {
  108. display: none;
  109. }
  110. ul > ol,
  111. ol > ul,
  112. ul > ul,
  113. ol > ol,
  114. li > ol,
  115. li > ul {
  116. padding-inline-start: 25px;
  117. }
  118. kbd {
  119. background-color: #248aaa !important;
  120. color: #f9fafc;
  121. }
  122. mark {
  123. background-color: #ffc21280;
  124. }
  125. .next-prev-navigator {
  126. padding-left: 10px;
  127. padding-right: 10px;
  128. }
  129. .next-prev-navigator a {
  130. color: #2098d1;
  131. transition: all 0.3s ease-out;
  132. }
  133. .next-prev-navigator a:hover {
  134. color: #3c4858;
  135. transition: all 0.3 ease-out;
  136. }
  137. .next-prev-navigator .next-article {
  138. text-align: right;
  139. }
  140. .next-prev-navigator .next-article a {
  141. transition: all 0.3s ease-out;
  142. }
  143. .next-prev-navigator .previous-article a {
  144. transition: all 0.3s ease-out;
  145. }
  146. .next-prev-navigator .btn-outline-info {
  147. color: #f9fafc !important;
  148. border-color: #e5e9f2 !important;
  149. background-color: #248aaa !important;
  150. transition: all 0.3s ease-out;
  151. }
  152. .next-prev-navigator .btn-outline-info:hover {
  153. color: #3c4858 !important;
  154. background-color: #e5e9f2 !important;
  155. transition: all 0.3s ease-out;
  156. }
  157. .disquss {
  158. padding: 10px;
  159. }
  160. @media only screen and (max-width: 768px) {
  161. .wrapper {
  162. padding-left: 0px;
  163. padding-right: 0px;
  164. overflow: hidden;
  165. }
  166. .container {
  167. max-width: 100%;
  168. }
  169. .container {
  170. padding: 10px;
  171. }
  172. }
  173. @media only screen and (max-width: 576px) {
  174. .wrapper {
  175. padding: 0px;
  176. }
  177. .hero-area {
  178. height: 200px;
  179. }
  180. .page-content {
  181. padding: 0px;
  182. }
  183. pre {
  184. margin: 0px;
  185. }
  186. code {
  187. padding: 0px;
  188. }
  189. .next-prev-navigator .previous-article {
  190. text-align: center;
  191. margin: 5px;
  192. }
  193. .next-prev-navigator .next-article {
  194. text-align: center;
  195. margin: 5px;
  196. }
  197. .previous-article a,
  198. .next-article a {
  199. width: 100%;
  200. }
  201. }