beautifuljekyll.css 22 KB

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