Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

148 lines
3.0KB

  1. dark-mode-toggle {
  2. --dark-mode-toggle-dark-icon: url("/wp-content/sun.png");
  3. --dark-mode-toggle-light-icon: url("/wp-content/moon.png");
  4. }
  5. @media screen and (min-width: 1615px) {
  6. #commento{
  7. position: absolute;
  8. top:50px;
  9. right: 10px;
  10. width: calc(100rem - 75rem);
  11. }
  12. }
  13. @font-face {
  14. font-family: 'Inter';
  15. font-display: auto;
  16. font-style: normal;
  17. font-weight: 400;
  18. src: url("https://rsms.me/inter/font-files/Inter-Regular.woff2") format("woff2"),
  19. url("https://rsms.me/inter/font-files/Inter-Regular.woff") format("woff");
  20. }
  21. @font-face {
  22. font-family: 'Inter';
  23. font-display: auto;
  24. font-style: normal;
  25. font-weight: 700;
  26. src: url("https://rsms.me/inter/font-files/Inter-Bold.woff2") format("woff2"),
  27. url("https://rsms.me/inter/font-files/Inter-Bold.woff") format("woff");
  28. }
  29. body.light {
  30. background: #ededed;
  31. }
  32. body.dark {
  33. background: #222;
  34. }
  35. .hack code {
  36. font-family: 'Roboto Mono', monospace;
  37. }
  38. .hack, .hack blockquote, .hack em, .hack h1, .hack h2, .hack h3, .hack h4, .hack h5, .hack h6, .hack strong {
  39. font-family: 'Inter', monospace;
  40. font-weight: 700;
  41. }
  42. .hack {
  43. font-family: "Inter", serif;
  44. font-weight: 400;
  45. }
  46. a[rel*="external"]::after {
  47. content: " " url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20class='i-external'%20viewBox='0%200%2032%2032'%20width='14'%20height='14'%20fill='none'%20stroke='%23ff9800'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='9.38%'%3E%3Cpath%20d='M14%209%20L3%209%203%2029%2023%2029%2023%2018%20M18%204%20L28%204%2028%2014%20M28%204%20L14%2018'/%3E%3C/svg%3E");
  48. }
  49. nav a {
  50. padding: 2px;
  51. margin-right: 0.4rem;
  52. }
  53. .side-nav a {
  54. margin-right: 0.4rem;
  55. }
  56. .light nav a.active {
  57. background-color: inherit;
  58. color: #000;
  59. }
  60. .light a {
  61. color: #422eff;
  62. border-bottom: 1px solid #00ff9c;
  63. }
  64. .light pre {
  65. border: none;
  66. background: #222;
  67. padding: 1rem;
  68. }
  69. .light pre code {
  70. color: #00bcd4;
  71. }
  72. .dark a {
  73. color: rgb(82, 174, 255);
  74. border-bottom: 1px solid rgb(15, 143, 94);
  75. }
  76. .light a:hover {
  77. color: #000;
  78. background-color: #00ff9c;
  79. }
  80. .dark a:hover {
  81. color: #333;
  82. background-color: rgb(15, 143, 94);
  83. }
  84. .dark pre {
  85. background-color: #222;
  86. padding: 1rem;
  87. }
  88. .dark table tbody td:first-child {
  89. color: #ccc;
  90. }
  91. .muted, .help-block {
  92. opacity: 0.70;
  93. }
  94. .light
  95. .hack .muted,
  96. .hack .help-block {
  97. color: #0e0e0e;
  98. }
  99. .hack > header {
  100. display: grid;
  101. grid-template-columns: 1fr minmax(min-content, auto);
  102. column-gap: 20px;
  103. grid-template-areas: "nav nav";
  104. }
  105. .leader{
  106. display: flex;
  107. align-items: center;
  108. justify-content: center;
  109. }
  110. .myimage{
  111. margin-right: 10px;
  112. box-shadow: 0 4px 8px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.08);
  113. border-width: 1px;
  114. border-radius: 9999px;
  115. border-color: #22292f;
  116. border-style: solid;
  117. height: 4rem;
  118. width: 4rem;
  119. }
  120. small {
  121. font-weight: 400;
  122. }
  123. a.no-underline {
  124. border: none;
  125. }
  126. .archive h1 {
  127. display: grid;
  128. grid-template-columns: 1fr minmax(min-content, auto);
  129. column-gap: 20px;
  130. grid-template-areas: "div div";
  131. }
  132. .post-content p{
  133. max-width: 40rem;
  134. }