single.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. body {
  2. background-color: #e5e9f2;
  3. position: relative;
  4. }
  5. .read-area {
  6. background-color: #f9fafc;
  7. }
  8. .wrapper {
  9. display: flex;
  10. padding: 0;
  11. margin: 0;
  12. width: 100%;
  13. justify-content: space-between;
  14. position: relative;
  15. }
  16. .content-section {
  17. flex: 60%;
  18. max-width: 60%;
  19. order: 2;
  20. /* background-color: lightseagreen; */
  21. padding: 0;
  22. position: relative;
  23. padding-left: 1rem;
  24. padding-right: 1rem;
  25. }
  26. .content {
  27. background: #e5e9f2;
  28. }
  29. .toc-section {
  30. flex: 20%;
  31. order: 3;
  32. max-width: 20%;
  33. /* background-color: lightpink; */
  34. transition: all ease-out 0.5s;
  35. }
  36. .toc-holder {
  37. position: sticky;
  38. top: 4.5rem;
  39. overflow-x: hidden;
  40. overflow-y: auto;
  41. background-color: #f9fafc;
  42. margin-right: 0.5rem;
  43. /* box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16); */
  44. transition: all ease-out 0.3s;
  45. }
  46. .toc {
  47. position: relative;
  48. padding-top: 0px;
  49. transition: all ease-out 0.3s;
  50. }
  51. .toc nav {
  52. padding-top: 0px;
  53. margin-top: 0px;
  54. display: flex;
  55. flex-direction: column;
  56. align-items: flex-start;
  57. transition: all ease-out 0.3s;
  58. }
  59. .toc ul {
  60. list-style: none;
  61. padding-left: 0.5rem;
  62. margin-bottom: 0rem;
  63. width: 100%;
  64. }
  65. .toc .nav-link {
  66. padding: 0;
  67. padding-left: 0.5rem;
  68. transition: all ease-out 0.3s;
  69. color: #1c2d41;
  70. }
  71. .toc .nav-link:hover,
  72. .toc .nav-link:focus,
  73. .toc .nav-link.active {
  74. padding-left: 1rem;
  75. padding-right: 0.5rem;
  76. background-color: #248aaa;
  77. color: #f9f9f9;
  78. transition: all ease-out 0.3s;
  79. }
  80. .hero-area {
  81. margin-top: 3rem;
  82. width: 100%;
  83. height: 400px;
  84. background-position: center;
  85. background-repeat: no-repeat;
  86. background-size: cover;
  87. }
  88. .page-content {
  89. width: 100%;
  90. position: relative;
  91. top: -4.5rem;
  92. padding: 15px;
  93. }
  94. .author-profile {
  95. position: relative;
  96. align-content: center;
  97. text-align: center;
  98. }
  99. .author-name {
  100. margin-top: 0px;
  101. }
  102. .author-profile img {
  103. height: 120px;
  104. width: 120px;
  105. -o-object-fit: cover;
  106. object-fit: cover;
  107. background-color: #f9fafc;
  108. padding: 5px;
  109. }
  110. .author-profile p {
  111. color: #8392a5;
  112. }
  113. .title {
  114. text-align: center;
  115. }
  116. .post-content {
  117. padding: 15px;
  118. }
  119. .post-content h1,
  120. h2 {
  121. margin-top: 1.4rem;
  122. }
  123. .post-content h3,
  124. h4,
  125. h5,
  126. h6 {
  127. margin-top: 1.3rem;
  128. }
  129. .post-content blockquote {
  130. border-left: 4px solid #248aaa;
  131. background-color: #248baa15;
  132. padding: 0.3rem;
  133. padding-left: 1rem;
  134. }
  135. .post-content blockquote > p {
  136. color: #3c4858;
  137. margin-top: 0.5rem;
  138. margin-bottom: 0.5rem;
  139. }
  140. .next-prev-navigator {
  141. padding-left: 10px;
  142. padding-right: 10px;
  143. }
  144. .next-prev-navigator a {
  145. color: #2098d1;
  146. transition: all 0.3s ease-out;
  147. }
  148. .next-prev-navigator a:hover {
  149. color: #3c4858;
  150. transition: all 0.3 ease-out;
  151. }
  152. .next-prev-navigator .next-article {
  153. text-align: right;
  154. }
  155. .next-prev-navigator .next-article a {
  156. transition: all 0.3s ease-out;
  157. }
  158. .next-prev-navigator .previous-article a {
  159. transition: all 0.3s ease-out;
  160. }
  161. .next-prev-navigator .btn-outline-info {
  162. color: #f9fafc !important;
  163. border-color: #e5e9f2 !important;
  164. background-color: #248aaa !important;
  165. transition: all 0.3s ease-out;
  166. }
  167. .next-prev-navigator .next-prev-text {
  168. white-space: break-spaces;
  169. }
  170. .next-prev-navigator .btn-outline-info:hover {
  171. color: #3c4858 !important;
  172. background-color: #e5e9f2 !important;
  173. transition: all 0.3s ease-out;
  174. }
  175. .disquss {
  176. padding: 10px;
  177. }
  178. .share-buttons .btn {
  179. color: #e5e9f2 !important;
  180. transition: all 0.3s ease-out !important;
  181. }
  182. .share-buttons .btn:hover,
  183. .share-buttons .btn:focus {
  184. background-color: #248aaa !important;
  185. border-color: #248aaa !important;
  186. transition: all 0.3s ease-out !important;
  187. }
  188. .share-buttons .facebook-btn {
  189. background-color: #4267b2 !important;
  190. border-color: #4267b2 !important;
  191. }
  192. .share-buttons .twitter-btn {
  193. background-color: #1da1f2 !important;
  194. border-color: #1da1f2 !important;
  195. }
  196. .share-buttons .reddit-btn {
  197. background-color: #ff4500 !important;
  198. border-color: #ff4500 !important;
  199. }
  200. .share-buttons .tumblr-btn {
  201. background-color: #34465d !important;
  202. border-color: #34465d !important;
  203. }
  204. .share-buttons .pocket-btn {
  205. background-color: #ef4056 !important;
  206. border-color: #ef4056 !important;
  207. }
  208. .share-buttons .linkedin-btn {
  209. background-color: #2867b2 !important;
  210. border-color: #2867b2 !important;
  211. }
  212. .share-buttons .diaspora-btn {
  213. background-color: #3c4858 !important;
  214. border-color: #3c4858 !important;
  215. }
  216. .share-buttons .mastodon-btn {
  217. background-color: #2791da !important;
  218. border-color: #2791da !important;
  219. }
  220. .share-buttons .whatsapp-btn {
  221. background-color: #4ac959 !important;
  222. border-color: #4ac959 !important;
  223. }
  224. .share-buttons .email-btn {
  225. background-color: #3c4858 !important;
  226. border-color: #3c4858 !important;
  227. transition: all 0.3s ease-out !important;
  228. }
  229. .btn-improve-page {
  230. text-align: right;
  231. }
  232. .languageSelector {
  233. display: none;
  234. }
  235. #scroll-to-top {
  236. position: fixed;
  237. bottom: 0rem;
  238. right: 1rem;
  239. color: #248aaa;
  240. font-size: 24pt;
  241. z-index: 900000;
  242. visibility: hidden;
  243. }
  244. #scroll-to-top i {
  245. box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
  246. background-color: #f9f9f9;
  247. border-radius: 50%;
  248. }
  249. #scroll-to-top:hover {
  250. color: #2098d1;
  251. }
  252. #scroll-to-top.show {
  253. visibility: visible;
  254. }
  255. .taxonomy-terms {
  256. text-align: center;
  257. }
  258. .taxonomy-terms li {
  259. font-size: 0.8em;
  260. list-style-type: none;
  261. display: inline-block;
  262. background: #248aaa;
  263. margin-left: 0.2em;
  264. margin-right: 0.2em;
  265. }
  266. .taxonomy-terms a {
  267. color: #f9fafc;
  268. }
  269. /* ============= Device specific fixes ======= */
  270. /* Large screens such as TV */
  271. @media only screen and (min-width: 1824px) {
  272. .content-section {
  273. flex: 65%;
  274. max-width: 65%;
  275. }
  276. .content-section .container {
  277. max-width: 100%;
  278. }
  279. }
  280. /* Extra large devices (large desktops, 1200px and up) */
  281. @media (max-width: 1400px) {
  282. }
  283. @media (max-width: 1200px) {
  284. }
  285. /* IPad Pro */
  286. @media (max-width: 1024px) {
  287. .wrapper {
  288. padding-left: 0px;
  289. padding-right: 0px;
  290. }
  291. .content-section {
  292. padding: 0;
  293. flex: 60%;
  294. max-width: 100%;
  295. order: 2;
  296. overflow: hidden;
  297. }
  298. .content {
  299. overflow: hidden;
  300. }
  301. .container {
  302. max-width: 100%;
  303. }
  304. .toc-section {
  305. order: 3;
  306. flex: 0%;
  307. max-width: 0%;
  308. transition: all ease-out 0.3s;
  309. }
  310. .toc-section.hide {
  311. flex: 40%;
  312. max-width: 40%;
  313. margin-left: 0.5rem;
  314. transition: all ease-out 0.3s;
  315. }
  316. .toc-holder {
  317. top: 3rem;
  318. max-height: calc(100vh - 3rem);
  319. }
  320. .navbar-toggler {
  321. display: block;
  322. }
  323. .navbar-collapse.lang-selector {
  324. display: none;
  325. }
  326. .languageSelector {
  327. display: block;
  328. }
  329. .hero-area {
  330. height: 300px;
  331. margin-top: 1rem;
  332. }
  333. .page-content {
  334. padding: 0px;
  335. }
  336. .btn-improve-page {
  337. margin-right: 1rem;
  338. }
  339. #disqus_thread,
  340. .dsq-brlink {
  341. padding: 5px;
  342. }
  343. }
  344. /* Large devices (desktops, 992px and up) */
  345. @media (max-width: 992px) {
  346. }
  347. /* Medium devices (tablets, 768px and up) */
  348. @media only screen and (max-width: 768px) {
  349. #scroll-to-top {
  350. right: 8rem;
  351. }
  352. }
  353. /* Small devices (landscape phones, 576px and up) */
  354. @media only screen and (max-width: 576px) {
  355. .wrapper {
  356. padding: 0px;
  357. display: flex;
  358. flex-direction: column;
  359. }
  360. .content-section {
  361. padding: 0;
  362. flex: 100%;
  363. max-width: 100%;
  364. order: 3;
  365. }
  366. .toc-section {
  367. order: 2;
  368. width: 100%;
  369. height: -moz-fit-content;
  370. height: fit-content;
  371. max-height: 0;
  372. max-width: 100%;
  373. transition: all ease-out 0.5s;
  374. }
  375. .toc-section.hide {
  376. margin-top: 2.5rem;
  377. position: relative;
  378. /* height: fit-content; */
  379. flex: 100%;
  380. height: -moz-fit-content;
  381. height: fit-content;
  382. max-height: 200vh;
  383. max-width: 100%;
  384. margin-left: 0;
  385. padding-right: 0;
  386. box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
  387. transition: all ease-out 0.5s;
  388. }
  389. .toc-holder {
  390. max-height: 0;
  391. margin-right: 0;
  392. overflow: hidden;
  393. transition: all ease-out 0.5s;
  394. }
  395. .toc-section.hide .toc-holder {
  396. max-height: 200vh;
  397. transition: all ease-out 0.5s;
  398. }
  399. .navbar-toggler {
  400. display: block;
  401. }
  402. .hero-area {
  403. height: 200px;
  404. margin-top: 1rem;
  405. }
  406. .page-content {
  407. padding: 0px;
  408. }
  409. .next-prev-navigator .previous-article {
  410. text-align: center;
  411. margin: 5px;
  412. }
  413. .next-prev-navigator .next-article {
  414. text-align: center;
  415. margin: 5px;
  416. }
  417. .previous-article a,
  418. .next-article a {
  419. width: 100%;
  420. }
  421. #disqus_thread,
  422. .dsq-brlink {
  423. padding: 5px;
  424. }
  425. }
  426. /* iPhoneX, iPhone 6,7,8 */
  427. @media only screen and (max-width: 375px) {
  428. }
  429. /* Galaxy S5, Moto G4 */
  430. @media only screen and (max-width: 360px) {
  431. }
  432. /* iPhone 5 or before */
  433. @media only screen and (max-width: 320px) {
  434. }