single.css 3.7 KB

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