single.css 3.3 KB

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