style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. .pr-6 {
  2. padding-right:1.5rem
  3. }
  4. /* Utilities missing from the prebuilt tailwind.css, used by the post header byline */
  5. .inline-flex {
  6. display:inline-flex
  7. }
  8. .gap-2 {
  9. gap:0.5rem
  10. }
  11. .anchor svg {
  12. display:inline;
  13. }
  14. .dark .toc-wrapper {
  15. background-color: var(--tw-prose-pre-bg)!important;
  16. border-color: rgb(55 65 81/var(--tw-divide-opacity))!important;
  17. }
  18. .light .toc-wrapper {
  19. border-color: rgb(229 231 235/var(--tw-divide-opacity))!important;
  20. }
  21. .toc-wrapper a,
  22. .related-posts a,
  23. .recent-posts a {
  24. text-decoration: none;
  25. }
  26. .toc-link a {
  27. display:none;
  28. }
  29. .toc-link:hover a{
  30. display:inline-block;
  31. }
  32. .tags a {
  33. margin-right: .75rem;
  34. }
  35. .category a {
  36. margin-right: .1rem;
  37. }
  38. .category {
  39. line-height:3.2rem;
  40. }
  41. .read-more {
  42. text-decoration:inherit;
  43. }
  44. .nav-top li {
  45. display:inline-block;
  46. margin-left: 1.5rem;
  47. font-weight: 500;
  48. }
  49. .nav-mobile li{
  50. outline-width: 0;
  51. outline-style: solid;
  52. letter-spacing: .1em;
  53. font-weight: 700;
  54. font-size: 1.5rem;
  55. line-height: 2rem;
  56. padding-right: 1rem;
  57. padding-top: .5rem;
  58. padding-bottom: .5rem;
  59. margin-bottom: 1rem;
  60. }
  61. .menu-mobile {
  62. display:none;
  63. }
  64. @media (max-width: 640px) {
  65. .nav-top {
  66. display:none;
  67. }
  68. .is-menu-open .menu-mobile {
  69. display:block!important;
  70. }
  71. }
  72. .search-form {
  73. display:none;
  74. }
  75. .is-search-open .search-form {
  76. display: flex;
  77. }
  78. .tags a:hover {
  79. color:rgb(190 24 93);
  80. }
  81. .dark .tags a:hover {
  82. color:rgb(244 114 182);
  83. }
  84. .thumbnail {
  85. position:relative;
  86. display:block;
  87. }
  88. .nav li > ul {
  89. display:none;
  90. }
  91. .footnotes {
  92. margin-top:0;
  93. border:none;
  94. }
  95. .footnotes ol {
  96. margin-bottom:0;
  97. padding-top: 1.5em;
  98. }
  99. .footnotes > hr {
  100. margin:0;
  101. }
  102. .thumb-icon {
  103. background: rgba(0,0,0,0.7);
  104. color: #fff;
  105. text-align: center;
  106. display: block;
  107. width: 32px;
  108. height: 32px;
  109. position: absolute;
  110. bottom: 50%;
  111. left: 50%;
  112. margin-left: -16px;
  113. margin-bottom: -16px;
  114. -webkit-border-radius: 4px;
  115. border-radius: 4px;
  116. -moz-transition: all 0.7s ease;
  117. -webkit-transition: all 0.7s ease;
  118. transition: all 0.7s ease;
  119. }
  120. .thumb-icon svg {
  121. margin: 1px 0 0 2px;
  122. }
  123. .thumbnail:hover .thumb-icon {
  124. background: #fff;
  125. color: #333;
  126. }
  127. .recent-posts > ul {
  128. padding-left: 15px;
  129. }