main.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928
  1. ---
  2. layout: null
  3. ---
  4. @import url("pygment_highlights.css");
  5. /* --- General --- */
  6. html {
  7. font-size: 100%
  8. }
  9. body {
  10. font-family: 'Lora', 'Times New Roman', serif;
  11. font-size: 1.125rem;
  12. color: #404040;
  13. position: relative;
  14. background-color: {{ site.page-col | default: "#FFFFFF" }};
  15. {% if site.page-img %}
  16. background-image: url({{ site.page-img | relative_url }});
  17. background-attachment: fixed;
  18. {% endif %}
  19. }
  20. p {
  21. line-height: 1.5;
  22. margin: 1.875rem 0;
  23. }
  24. h1,h2,h3,h4,h5,h6 {
  25. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  26. font-weight: 800;
  27. line-height: 1.1;
  28. }
  29. h1 {
  30. font-size: 2.25rem;
  31. }
  32. h2 {
  33. font-size: 1.875rem;
  34. }
  35. h3 {
  36. font-size: 1.5rem;
  37. }
  38. h4 {
  39. font-size: 1.125rem;
  40. }
  41. a {
  42. color: {{ site.link-col | default: "#008AFF" }};
  43. }
  44. a:hover,
  45. a:focus {
  46. color: {{ site.hover-col | default: "#0085A1" }};
  47. }
  48. blockquote {
  49. color: #808080;
  50. font-style: italic;
  51. }
  52. blockquote p:first-child {
  53. margin-top: 0;
  54. }
  55. hr.small {
  56. max-width: 6.25rem;
  57. margin: 1rem auto;
  58. border-width: 0.25rem;
  59. border-color: inherit;
  60. border-radius: 0.1875rem;
  61. }
  62. /* fix in-page anchors to not be behind fixed header */
  63. :target:before {
  64. content: "";
  65. display: block;
  66. height: 3.125rem; /* navbar height */
  67. margin: -3.125rem 0 0;
  68. }
  69. .main-content {
  70. padding-top: 5rem;
  71. }
  72. @media (min-width: 768px) {
  73. .main-content {
  74. padding-top: 8.125rem;
  75. }
  76. }
  77. .hideme {
  78. display: none;
  79. }
  80. ::-moz-selection {
  81. color: white;
  82. text-shadow: none;
  83. background-color: {{ site.hover-col | default: "#0085A1" }};
  84. }
  85. ::selection {
  86. color: white;
  87. text-shadow: none;
  88. background-color: {{ site.hover-col | default: "#0085A1" }};
  89. }
  90. img::selection {
  91. color: white;
  92. background: transparent;
  93. }
  94. img::-moz-selection {
  95. color: white;
  96. background: transparent;
  97. }
  98. img {
  99. max-width: 100%;
  100. }
  101. .disqus-comments {
  102. margin-top: 1.875rem;
  103. }
  104. @media (min-width: 768px) {
  105. .disqus-comments {
  106. margin-top: 2.5rem;
  107. }
  108. }
  109. .linked-section {
  110. padding-top: 3.75rem;
  111. margin-top: -1.5625rem;
  112. }
  113. /* --- Navbar --- */
  114. .navbar-custom {
  115. background-color: {{ site.navbar-col | default: "#F5F5F5" }};
  116. border-bottom: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }};
  117. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  118. {% if site.navbar-img %}
  119. background-image: url({{ site.navbar-img | relative_url }});
  120. background-attachment: fixed;
  121. {% endif %}
  122. -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
  123. -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
  124. transition: background .5s ease-in-out,padding .5s ease-in-out;
  125. }
  126. .navbar-custom,
  127. .navbar-custom.top-nav-short,
  128. .navbar-custom.top-nav-short-permanent {
  129. padding-top: 0;
  130. padding-bottom: 0;
  131. }
  132. .navbar-custom .navbar-brand {
  133. line-height: 1.5;
  134. padding-top: 0.625rem;
  135. padding-bottom: 0.625rem;
  136. font-size: 1.125rem;
  137. }
  138. .navbar-custom .navbar-brand-logo {
  139. -webkit-transition: padding .5s ease-in-out;
  140. -moz-transition: padding .5s ease-in-out;
  141. transition: padding .5s ease-in-out;
  142. }
  143. .navbar-custom .navbar-brand-logo,
  144. .navbar-custom.top-nav-short .navbar-brand-logo,
  145. .navbar-custom.top-nav-short-permanent .navbar-brand-logo {
  146. padding-top: 0.3125rem;
  147. padding-bottom: 0.3125rem;
  148. }
  149. .navbar-custom .navbar-brand-logo img {
  150. -webkit-transition: height .5s ease-in-out;
  151. -moz-transition: height .5s ease-in-out;
  152. transition: height .5s ease-in-out;
  153. }
  154. .navbar-custom .navbar-brand-logo img,
  155. .navbar-custom.top-nav-short .navbar-brand-logo img,
  156. .navbar-custom.top-nav-short-permanent .navbar-brand-logo img {
  157. height: 2.5rem;
  158. }
  159. .navbar-custom .navbar-brand:hover,
  160. .navbar-custom .navbar-brand:focus ,
  161. .navbar-custom .navbar-nav .nav-link:hover,
  162. .navbar-custom .navbar-nav .nav-link:focus,
  163. .navbar-custom .navbar-nav .dropdown-item:hover,
  164. .navbar-custom .navbar-nav .dropdown-item:focus {
  165. color: {{ site.hover-col | default: "#0085A1" }};
  166. }
  167. .navbar-custom .navbar-nav .nav-item {
  168. text-transform: uppercase;
  169. font-size: 0.75rem;
  170. letter-spacing: 0.0625rem;
  171. }
  172. .navbar-custom .navbar-nav .nav-link {
  173. padding-top: 0;
  174. padding-bottom: 0;
  175. line-height: 1.5;
  176. padding-top: 1rem;
  177. padding-bottom: 1rem;
  178. }
  179. .navbar-custom .navbar-brand,
  180. .navbar-custom .navbar-nav .nav-link {
  181. font-weight: 800;
  182. color: {{ site.navbar-text-col | default: "#404040" }};
  183. }
  184. .navbar-toggler {
  185. font-size: 1rem;
  186. margin: 0.5rem 0;
  187. }
  188. .navbar-custom .navbar-toggler:focus,
  189. .navbar-custom .navbar-toggler:hover {
  190. background-color: initial;
  191. }
  192. .navbar-custom .navbar-toggler[aria-expanded="true"] {
  193. background-color: rgba(0, 0, 0, 0.2);
  194. }
  195. .dropdown-toggle::after {
  196. border-width: 0.4em;
  197. }
  198. @media (min-width: 768px) {
  199. .navbar-custom {
  200. padding-top: 1.25rem;
  201. padding-bottom: 1.25rem;
  202. }
  203. .navbar-custom .navbar-brand-logo {
  204. padding-top: 0;
  205. padding-bottom: 0;
  206. }
  207. .navbar-custom .navbar-brand-logo img {
  208. height: 3.125rem;
  209. }
  210. .navbar-expand-md .navbar-nav .nav-link {
  211. padding-left: 0.9375rem;
  212. padding-right: 0.9375rem;
  213. }
  214. .navbar-expand-md .navbar-nav .nav-item:not(.dropdown):last-child .nav-link {
  215. padding-right: 0;
  216. }
  217. }
  218. @media (min-width: 768px) {
  219. .navbar-custom .nav-item.dropdown:hover {
  220. background: rgba(0, 0, 0, 0.1);
  221. }
  222. }
  223. .navbar-custom .nav-item.dropdown.show {
  224. background: rgba(0, 0, 0, 0.2);
  225. }
  226. .navbar-custom .nav-item.dropdown .dropdown-menu {
  227. min-width: 0;
  228. margin-top: 0;
  229. font-size: 1em;
  230. border: 0;
  231. padding: 0;
  232. width: 100%;
  233. word-break: break-word;
  234. }
  235. .navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
  236. white-space: normal;
  237. padding: 0.625rem;
  238. background-color: {{ site.navbar-col | default: "#F5F5F5" }};
  239. text-decoration: none !important;
  240. border-width: 0 1px 1px 1px;
  241. font-weight: normal;
  242. }
  243. @media (min-width: 768px) {
  244. .navbar-custom .nav-item.dropdown .dropdown-menu {
  245. text-align: center;
  246. }
  247. .navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
  248. padding-left: 0.625rem;
  249. border: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }};
  250. border-width: 0 1px 1px;
  251. }
  252. }
  253. @media (max-width: 767px) {
  254. .navbar-custom .navbar-collapse {
  255. border-top: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }};
  256. margin: 0 -1rem;
  257. }
  258. .navbar-custom .navbar-nav {
  259. padding: 0.5rem 0;
  260. }
  261. .navbar-custom .navbar-nav .nav-link {
  262. padding: 0.675rem 0 0.675rem 1rem;
  263. }
  264. .navbar-custom .nav-item.dropdown.show {
  265. background: rgba(0, 0, 0, 0.2);
  266. }
  267. .navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
  268. padding-left: 2rem;
  269. }
  270. }
  271. .navbar-custom .avatar-container {
  272. position: absolute;
  273. left: 50%;
  274. width: 3.125rem;
  275. margin-top: 1.75rem;
  276. transition: opacity 0.5s ease-in-out;
  277. -webkit-transition: opacity 0.5s ease-in-out;
  278. -moz-transition: opacity 0.5s ease-in-out;
  279. }
  280. .navbar-custom.top-nav-short .avatar-container {
  281. opacity: 0;
  282. visibility: hidden;
  283. transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
  284. -webkit-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
  285. -moz-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
  286. }
  287. .navbar-custom .avatar-container .avatar-img-border {
  288. width: 100%;
  289. display: inline-block;
  290. margin-left: -50%;
  291. {% unless site.round-avatar == false %}
  292. border-radius: 50%;
  293. box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
  294. -webkit-box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .8);
  295. -moz-box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
  296. {% endunless %}
  297. }
  298. .navbar-custom .avatar-container .avatar-img {
  299. width: 100%;
  300. {% unless site.round-avatar == false %}
  301. border-radius: 50%;
  302. {% endunless %}
  303. display: block;
  304. }
  305. .navbar-custom.top-nav-expanded .avatar-container {
  306. display: none;
  307. }
  308. @media (min-width: 768px) {
  309. .navbar-custom .avatar-container {
  310. width: 6.25rem;
  311. }
  312. .navbar-custom .avatar-container .avatar-img-border {
  313. width: 100%;
  314. {% unless site.round-avatar == false %}
  315. box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
  316. -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
  317. -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
  318. {% endunless %}
  319. }
  320. .navbar-custom .avatar-container .avatar-img {
  321. width: 100%;
  322. }
  323. }
  324. /* --- Footer --- */
  325. footer {
  326. padding: 1.875rem 0;
  327. border-top: 1px #EAEAEA solid;
  328. margin-top: 3.125rem;
  329. font-size: 0.875rem;
  330. background-color: {{ site.footer-col | default: "#F5F5F5" }};
  331. {% if site.footer-img %}
  332. background-image: url({{ site.footer-img | relative_url }});
  333. background-attachment: fixed;
  334. {% endif %}
  335. }
  336. footer p.text-muted {
  337. color: {{ site.footer-text-col | default: "#777777" }} !important;
  338. }
  339. footer a {
  340. color: {{ site.footer-link-col | default: "#404040" }};
  341. }
  342. footer .list-inline {
  343. margin: 0;
  344. padding: 0;
  345. margin-bottom: 1.875rem;
  346. }
  347. footer .copyright {
  348. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  349. text-align: center;
  350. margin-bottom: 0;
  351. margin-top: 0;
  352. }
  353. footer .theme-by {
  354. text-align: center;
  355. margin: 0.625rem 0 0;
  356. }
  357. footer .footer-custom-content {
  358. text-align: center;
  359. margin-bottom: 0.9375rem;
  360. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  361. }
  362. @media (min-width: 768px) {
  363. footer {
  364. padding: 3.125rem 0;
  365. }
  366. footer .footer-links {
  367. font-size: 1.125rem;
  368. }
  369. footer .copyright {
  370. font-size: 1rem;
  371. }
  372. footer .footer-custom-content {
  373. font-size: 1rem;
  374. }
  375. }
  376. /* --- Post preview --- */
  377. .post-preview {
  378. padding: 1.25rem 0;
  379. border-bottom: 1px solid #eee;
  380. }
  381. @media (min-width: 768px) {
  382. .post-preview {
  383. padding: 2.1875rem 0;
  384. }
  385. }
  386. .post-preview:last-child {
  387. border-bottom: 0;
  388. }
  389. .post-preview a {
  390. text-decoration: none;
  391. color: #404040;
  392. }
  393. .post-preview a:focus,
  394. .post-preview a:hover {
  395. text-decoration: none;
  396. color: {{ site.hover-col | default: "#0085A1" }};
  397. }
  398. .post-preview .post-title {
  399. font-size: 1.875rem;
  400. margin-top: 0;
  401. }
  402. .post-preview .post-subtitle {
  403. margin: 0;
  404. font-weight: 300;
  405. margin-bottom: 0.625rem;
  406. }
  407. .post-preview .post-meta,
  408. .post-heading .post-meta {
  409. color: #808080;
  410. font-size: 1.125rem;
  411. font-style: italic;
  412. margin: 0 0 0.625rem;
  413. }
  414. .post-preview .post-entry {
  415. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  416. }
  417. .post-entry-container {
  418. display: inline-block;
  419. width: 100%;
  420. }
  421. .post-entry {
  422. width: 100%;
  423. }
  424. .post-image {
  425. float: right;
  426. margin-left: 0.625rem;
  427. height: 12rem;
  428. width: 12rem;
  429. margin-top: -2.1875rem;
  430. filter: grayscale(90%);
  431. }
  432. .post-image:hover {
  433. filter: grayscale(0%);
  434. }
  435. .post-image img {
  436. border-radius: 6.25rem;
  437. height: 12rem;
  438. width: 12rem;
  439. }
  440. .post-preview .post-read-more {
  441. font-weight: 800;
  442. }
  443. @media (min-width: 768px) {
  444. .post-preview .post-title {
  445. font-size: 2.25rem;
  446. }
  447. }
  448. /* --- Tags --- */
  449. .blog-tags {
  450. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  451. color: #999;
  452. font-size: 0.9375rem;
  453. margin-bottom: 1.875rem;
  454. }
  455. .blog-tags a {
  456. color: {{ site.link-col | default: "#008AFF" }};
  457. text-decoration: none;
  458. padding: 0 0.3125rem;
  459. }
  460. .blog-tags a:hover {
  461. border-radius: 2px;
  462. color: {{ site.hover-col | default: "#0085A1" }};
  463. background-color: #EEE;
  464. }
  465. .post-preview .blog-tags {
  466. margin-top: 0.3125rem;
  467. margin-bottom: 0;
  468. }
  469. @media (min-width: 768px) {
  470. .post-preview .blog-tags {
  471. margin-top: 0.625rem;
  472. }
  473. }
  474. @media (max-width: 767px) {
  475. .post-image, .post-image img {
  476. margin-top: 0;
  477. height: 9rem;
  478. width: 9rem;
  479. }
  480. }
  481. @media (max-width: 500px) {
  482. .post-image, .post-image img {
  483. height: 6.25rem;
  484. width: 6.25rem;
  485. }
  486. .post-image {
  487. width: 100%;
  488. text-align: center;
  489. margin-top: 0;
  490. margin-left: 0;
  491. float: none;
  492. }
  493. }
  494. /* --- Post and page headers --- */
  495. .intro-header {
  496. margin: 5rem 0 1.25rem;
  497. position: relative;
  498. }
  499. .intro-header.big-img {
  500. background: no-repeat center center;
  501. -webkit-background-size: cover;
  502. -moz-background-size: cover;
  503. background-size: cover;
  504. -o-background-size: cover;
  505. margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
  506. margin-bottom: 2.1875rem;
  507. }
  508. .intro-header.big-img .big-img-transition {
  509. position: absolute;
  510. width: 100%;
  511. height: 100%;
  512. opacity: 0;
  513. background: no-repeat center center;
  514. -webkit-background-size: cover;
  515. -moz-background-size: cover;
  516. background-size: cover;
  517. -o-background-size: cover;
  518. -webkit-transition: opacity 1s linear;
  519. -moz-transition: opacity 1s linear;
  520. transition: opacity 1s linear;
  521. }
  522. .intro-header .page-heading {
  523. text-align: center;
  524. }
  525. .intro-header.big-img .page-heading,
  526. .intro-header.big-img .post-heading {
  527. padding: 6.25rem 0;
  528. color: #FFF;
  529. text-shadow: 1px 1px 3px #000;
  530. }
  531. .intro-header .page-heading h1 {
  532. margin-top: 0;
  533. font-size: 3.125rem;
  534. }
  535. .intro-header .post-heading h1 {
  536. margin-top: 0;
  537. font-size: 2.1875rem;
  538. }
  539. .intro-header .page-heading .page-subheading,
  540. .intro-header .post-heading .post-subheading {
  541. font-size: 1.6875rem;
  542. line-height: 1.1;
  543. display: block;
  544. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  545. font-weight: 300;
  546. margin: 0.625rem 0 0;
  547. }
  548. .intro-header .post-heading .post-subheading {
  549. margin-bottom: 1.25rem;
  550. }
  551. .intro-header.big-img .page-heading .page-subheading,
  552. .intro-header.big-img .post-heading .post-subheading {
  553. font-weight: 400;
  554. }
  555. .intro-header.big-img .page-heading hr {
  556. box-shadow: 1px 1px 3px #000;
  557. -webkit-box-shadow: 1px 1px 3px #000;
  558. -moz-box-shadow: 1px 1px 3px #000;
  559. }
  560. .intro-header.big-img .post-heading .post-meta {
  561. color: #EEE;
  562. }
  563. .intro-header.big-img .img-desc {
  564. background: rgba(30, 30, 30, 0.6);
  565. position: absolute;
  566. padding: 0.3125rem 0.625rem;
  567. font-size: 0.6875rem;
  568. color: #EEE;
  569. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  570. right: 0;
  571. bottom: 0;
  572. display: none;
  573. }
  574. @media (min-width: 768px) {
  575. .intro-header {
  576. margin-top: 8.125rem;
  577. }
  578. .intro-header.big-img {
  579. margin-top: 5.6875rem; /* Full navbar is small navbar + 20px padding on each side when expanded */
  580. }
  581. .intro-header.big-img .page-heading,
  582. .intro-header.big-img .post-heading {
  583. padding: 9.375rem 0;
  584. }
  585. .intro-header .page-heading h1 {
  586. font-size: 5rem;
  587. }
  588. .intro-header .post-heading h1 {
  589. font-size: 3.125rem;
  590. }
  591. .intro-header.big-img .img-desc {
  592. font-size: 0.875rem;
  593. }
  594. }
  595. .header-section.has-img .no-img {
  596. margin-top: 0;
  597. background-color: #FCFCFC;
  598. margin: 0 0 2.5rem;
  599. padding: 1.25rem 0;
  600. box-shadow: 0 0 0.3125rem #AAA;
  601. }
  602. /* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
  603. .header-section.has-img .intro-header.no-img {
  604. display: none;
  605. }
  606. @media (max-width: 365px) {
  607. .header-section.has-img .intro-header.no-img {
  608. display: block;
  609. }
  610. .intro-header.big-img {
  611. width: 100%;
  612. height: 13.75rem;
  613. }
  614. .intro-header.big-img .page-heading,
  615. .intro-header.big-img .post-heading {
  616. display: none;
  617. }
  618. .header-section.has-img .big-img {
  619. margin-bottom: 0;
  620. }
  621. }
  622. @media (max-width: 325px) {
  623. .intro-header.big-img {
  624. height: 12.5rem;
  625. }
  626. }
  627. .caption {
  628. text-align: center;
  629. font-size: 0.875rem;
  630. padding: 0.625rem;
  631. font-style: italic;
  632. margin: 0;
  633. display: block;
  634. border-bottom-right-radius: 0.3125rem;
  635. border-bottom-left-radius: 0.3125rem;
  636. }
  637. #header-gh-btns {
  638. margin-bottom: 0.9375rem;
  639. }
  640. @media (max-width: 500px) {
  641. #header-gh-btns > iframe {
  642. display: block;
  643. margin-bottom: 0.3125rem;
  644. }
  645. }
  646. .reader-time {
  647. display: inline-block;
  648. }
  649. @media (max-width: 767px) {
  650. .reader-time {
  651. display: block;
  652. }
  653. }
  654. .reader-time .middot {
  655. margin: 0 0.625rem;
  656. }
  657. /* --- Pagination --- */
  658. .pagination {
  659. margin: 0.625rem 0 0;
  660. justify-content: space-between;
  661. }
  662. .pagination.blog-pager {
  663. margin-top: 0;
  664. }
  665. .pagination .page-item.next {
  666. margin-left: auto;
  667. }
  668. @media (min-width: 768px) {
  669. .pagination.blog-pager {
  670. margin-top: 0.625rem;
  671. }
  672. }
  673. .pagination .page-item .page-link {
  674. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  675. text-transform: uppercase;
  676. font-size: 0.875rem;
  677. font-weight: 800;
  678. letter-spacing: 1px;
  679. padding: 0.625rem 0.3125rem;
  680. background-color: #FFF;
  681. border-radius: 0;
  682. color: #404040;
  683. }
  684. @media (min-width: 768px) {
  685. .pagination .page-item .page-link {
  686. padding: 0.9375rem 1.5625rem;
  687. }
  688. }
  689. .pagination .page-item .page-link:hover,
  690. .pagination .page-item .page-link:focus {
  691. color: #FFF;
  692. border: 1px solid {{ site.hover-col | default: "#0085A1" }};
  693. background-color: {{ site.hover-col | default: "#0085A1" }};
  694. }
  695. /* --- Tables --- */
  696. table {
  697. padding: 0;
  698. }
  699. table tr {
  700. border-top: 1px solid #cccccc;
  701. background-color: #ffffff;
  702. margin: 0;
  703. padding: 0;
  704. }
  705. table tr:nth-child(2n) {
  706. background-color: #f8f8f8;
  707. }
  708. table tr th {
  709. font-weight: bold;
  710. border: 1px solid #cccccc;
  711. text-align: left;
  712. margin: 0;
  713. padding: 0.375rem 0.8125rem;
  714. }
  715. table tr td {
  716. border: 1px solid #cccccc;
  717. text-align: left;
  718. margin: 0;
  719. padding: 0.375rem 0.8125rem;
  720. }
  721. table tr th :first-child,
  722. table tr td :first-child {
  723. margin-top: 0;
  724. }
  725. table tr th :last-child,
  726. table tr td :last-child {
  727. margin-bottom: 0;
  728. }
  729. /* --- Code blocks --- */
  730. pre {
  731. font-size: 1rem;
  732. line-height: 1.5;
  733. border-radius: 0.25rem;
  734. padding: 0.59375rem;
  735. }
  736. .highlight pre {
  737. border: none;
  738. background: none;
  739. margin: 0;
  740. }
  741. .highlight > pre {
  742. background-image: linear-gradient(
  743. rgba(0,0,0,0.06), rgba(0,0,0,0.06) 1.5em, rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.03) 3em);
  744. background-size: auto 3em;
  745. background-position-y: 0.625rem;
  746. border: 1px solid rgba(0,0,0,0.1);
  747. border-left: 0.4375rem solid #444;
  748. }
  749. .highlight > pre:not([class~="highlight"]) { /* code block with line number */
  750. padding: 0;
  751. }
  752. .highlight table, .highlight tr, .highlight td { /* to be removed after fixing table styles */
  753. border: none;
  754. background: none;
  755. padding: 0;
  756. margin: 0;
  757. }
  758. .highlight pre.lineno {
  759. color: rgba(0,0,0,0.3);
  760. border-radius: 0;
  761. border-right: 2px solid #444;
  762. }
  763. /* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
  764. .lineno {
  765. -webkit-user-select: none;
  766. -moz-user-select: none;
  767. -ms-user-select: none;
  768. user-select: none;
  769. }
  770. .lineno::selection, .lineno::-moz-selection {
  771. background: none;
  772. }
  773. /* --- Social media sharing section --- */
  774. #social-share-section {
  775. margin-bottom: 1.875rem;
  776. }
  777. /* --- Notification boxes --- */
  778. .box-note, .box-warning, .box-error, .box-success {
  779. padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
  780. margin: 1.25rem 1.25rem 1.25rem 0.3125rem;
  781. border: 1px solid #eee;
  782. border-left-width: 0.3125rem;
  783. border-radius: 0.3125rem 0.1875rem 0.1875rem 0.3125rem;
  784. }
  785. .box-note {
  786. background-color: #eee;
  787. border-left-color: #2980b9;
  788. }
  789. .box-warning {
  790. background-color: #fdf5d4;
  791. border-left-color: #f1c40f;
  792. }
  793. .box-error {
  794. background-color: #f4dddb;
  795. border-left-color: #c0392b;
  796. }
  797. .box-success {
  798. background-color: #98FB98;
  799. border-left-color: #3CB371;
  800. }
  801. /* Fix table border github gist snippets */
  802. .gist, .gist-file table tr {
  803. border: unset;
  804. }
  805. .gist, .gist-file table tr td {
  806. border: unset;
  807. }
  808. /* Tags page */
  809. .tag-btn {
  810. margin: 0.3125rem;
  811. }
  812. #full-tags-list {
  813. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  814. }
  815. #full-tags-list .tag-entry {
  816. margin: 0 0 0.9375rem 1.5625rem;
  817. }
  818. #full-tags-list .tag-entry a {
  819. font-size: 1.25rem;
  820. }
  821. #full-tags-list .tag-entry .entry-date {
  822. color: #808080;
  823. font-style: italic;
  824. font-size: 1rem;
  825. }