single.css 3.6 KB

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