single.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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. pre>code {
  113. padding: 10px !important;
  114. }
  115. a.header-anchor{
  116. text-decoration: none;
  117. color: #1c2d41;
  118. }
  119. a.header-anchor i{
  120. font-size: 10pt;
  121. color: #3c4858;
  122. display: none;
  123. margin-left: 0.5rem;
  124. }
  125. a.header-anchor:hover i{
  126. display: inline-block;
  127. }
  128. a.header-anchor code{
  129. color: #e83e8c;
  130. }
  131. .navbar-toggler {
  132. display: none;
  133. }
  134. ul > ol,
  135. ol > ul,
  136. ul > ul,
  137. ol > ol,
  138. li > ol,
  139. li > ul {
  140. padding-inline-start: 25px;
  141. }
  142. kbd {
  143. background-color: #248aaa !important;
  144. color: #f9fafc;
  145. }
  146. mark {
  147. background-color: #ffc21280;
  148. }
  149. .next-prev-navigator {
  150. padding-left: 10px;
  151. padding-right: 10px;
  152. }
  153. .next-prev-navigator a {
  154. color: #2098d1;
  155. transition: all 0.3s ease-out;
  156. -webkit-transition: all 0.3s ease-out;
  157. }
  158. .next-prev-navigator a:hover {
  159. color: #3c4858;
  160. transition: all 0.3 ease-out;
  161. -webkit-transition: all 0.3 ease-out;
  162. }
  163. .next-prev-navigator .next-article {
  164. text-align: right;
  165. }
  166. .next-prev-navigator .next-article a {
  167. transition: all 0.3s ease-out;
  168. -webkit-transition: all 0.3s ease-out;
  169. }
  170. .next-prev-navigator .previous-article a {
  171. transition: all 0.3s ease-out;
  172. -webkit-transition: all 0.3s ease-out;
  173. }
  174. .next-prev-navigator .btn-outline-info {
  175. color: #f9fafc !important;
  176. border-color: #e5e9f2 !important;
  177. background-color: #248aaa !important;
  178. transition: all 0.3s ease-out;
  179. -webkit-transition: all 0.3s ease-out;
  180. }
  181. .next-prev-navigator .btn-outline-info:hover {
  182. color: #3c4858 !important;
  183. background-color: #e5e9f2 !important;
  184. transition: all 0.3s ease-out;
  185. -webkit-transition: all 0.3s ease-out;
  186. }
  187. .disquss {
  188. padding: 10px;
  189. }
  190. .btn-improve-page{
  191. text-align: right;
  192. }
  193. @media only screen and (max-width: 768px) {
  194. .wrapper {
  195. padding-left: 0px;
  196. padding-right: 0px;
  197. overflow: hidden;
  198. }
  199. .container {
  200. max-width: 100%;
  201. }
  202. }
  203. @media only screen and (max-width: 576px) {
  204. .wrapper {
  205. padding: 0px;
  206. }
  207. .hero-area {
  208. height: 200px;
  209. }
  210. .page-content {
  211. padding: 0px;
  212. }
  213. pre {
  214. margin: 0px;
  215. }
  216. code {
  217. padding: 0px;
  218. }
  219. .next-prev-navigator .previous-article {
  220. text-align: center;
  221. margin: 5px;
  222. }
  223. .next-prev-navigator .next-article {
  224. text-align: center;
  225. margin: 5px;
  226. }
  227. .previous-article a,
  228. .next-article a {
  229. width: 100%;
  230. }
  231. #disqus_thread,
  232. .dsq-brlink {
  233. padding: 5px;
  234. }
  235. }