single.scss 9.5 KB

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