main.css 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. @import url("https://fontsapi.zeoseven.com/442/main/result.css");
  2. *,
  3. *::before,
  4. *::after {
  5. margin: 0;
  6. padding: 0;
  7. box-sizing: border-box; }
  8. button {
  9. border: none;
  10. background: none; }
  11. a {
  12. text-decoration: none;
  13. color: inherit;
  14. outline: none;
  15. cursor: pointer; }
  16. a:hover,
  17. a:active {
  18. text-decoration: none; }
  19. body {
  20. padding: 0 !important;
  21. position: relative;
  22. font-family: "Maple Mono NF CN";
  23. font-weight: normal;
  24. overflow-x: hidden !important;
  25. overflow-y: auto !important;
  26. color: var(--bs-body-color); }
  27. .blog-body .navbar {
  28. --bs-navbar-padding-x: 0;
  29. --bs-navbar-padding-y: 0;
  30. transition: .3s ease-out;
  31. box-shadow: 0 0.5rem 1rem rgba(18, 38, 63, 0.05);
  32. border: 1px solid rgba(17, 24, 39, 0.1); }
  33. .blog-body .navbar .container-fluid {
  34. height: 3rem; }
  35. .blog-body .navbar .container-fluid .nav-toggle,
  36. .blog-body .navbar .container-fluid .nav-search-button {
  37. width: 2.5rem;
  38. height: 100%; }
  39. .blog-body .sidebar-banner {
  40. position: relative;
  41. background-image: url("../assets/imgs/wallhaven-qr9jml.jpg");
  42. background-position-x: center;
  43. background-position-y: center;
  44. background-size: cover;
  45. min-height: 120px;
  46. width: 100%;
  47. overflow: hidden;
  48. border-top-right-radius: 6px;
  49. border-top-left-radius: 6px; }
  50. .blog-body .sidebar-banner::after {
  51. content: "";
  52. width: 100%;
  53. height: 40%;
  54. position: absolute;
  55. bottom: 0;
  56. left: 0;
  57. background: linear-gradient(to top, var(--bs-white), transparent); }
  58. .blog-body .sidebar-avatar {
  59. position: absolute;
  60. left: 50%;
  61. transform: translateX(-50%) translateY(-50%);
  62. border: rgba(255, 255, 255, 0.4) 4px solid;
  63. width: 68px;
  64. height: 68px;
  65. border-radius: 50%; }
  66. .blog-body .sidebar-sign {
  67. padding-left: .75rem;
  68. padding-right: .75rem;
  69. margin-bottom: 1rem;
  70. font-size: .875rem;
  71. line-height: 1.5rem;
  72. letter-spacing: .05em;
  73. text-align: center; }
  74. .blog-body .offcanvas {
  75. height: 100vh;
  76. max-width: 78%; }
  77. .blog-body .offcanvas .offcanvas-body {
  78. padding: 0; }
  79. .blog-body .offcanvas .offcanvas-body .sidebar-banner {
  80. border-top-right-radius: 0px;
  81. border-top-left-radius: 0px; }
  82. .blog-body .hero-box {
  83. position: relative;
  84. height: 730px;
  85. background-image: url("../assets/imgs/acg.jpg");
  86. background-position-x: center;
  87. background-position-y: center;
  88. background-size: cover; }
  89. .blog-body .hero-box::before {
  90. content: "";
  91. position: absolute;
  92. top: 0;
  93. left: 0;
  94. width: 100%;
  95. height: 100%;
  96. background: rgba(0, 0, 0, 0.2); }
  97. .blog-body .main .article-list .article-item {
  98. display: flex;
  99. overflow: hidden;
  100. position: relative;
  101. background-color: #fff;
  102. height: 10rem;
  103. border-radius: var(--bs-border-radius);
  104. border-width: 1px;
  105. margin-bottom: 1rem; }
  106. .blog-body .main .article-list .article-item .blur-img {
  107. z-index: 0; }
  108. .blog-body .main .article-list .article-item .blur-img img {
  109. object-fit: cover;
  110. position: absolute;
  111. top: 0;
  112. right: 0;
  113. bottom: 0;
  114. left: 0;
  115. width: 100%;
  116. height: 14.5rem;
  117. transform: scale(1.55); }
  118. .blog-body .main .article-list .article-item.flex-row-reverse .article-img {
  119. clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
  120. .blog-body .main .article-list .article-item .article-img {
  121. z-index: 10;
  122. margin: 0;
  123. width: 33.333333%;
  124. border-width: 0;
  125. clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
  126. .blog-body .main .article-list .article-item .article-img .article-left-img {
  127. object-fit: cover;
  128. background-position: center;
  129. background-size: cover;
  130. width: 100%;
  131. height: 100%; }
  132. .blog-body .main .article-list .article-item .article-ctx {
  133. display: flex;
  134. z-index: 10;
  135. padding: 1.25rem 1rem;
  136. color: #fff;
  137. flex-direction: column;
  138. justify-content: space-between;
  139. width: 100%;
  140. background-color: rgba(0, 0, 0, 0.35); }
  141. .blog-body .main .article-list .article-item .article-ctx .article-info {
  142. display: flex;
  143. font-size: .75rem;
  144. line-height: 1rem;
  145. justify-content: space-between;
  146. letter-spacing: .06rem;
  147. text-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.3); }
  148. .blog-body .main .article-list .article-item .article-ctx .article-title {
  149. font-weight: 700;
  150. display: -webkit-box;
  151. -webkit-box-orient: vertical;
  152. -webkit-line-clamp: 1;
  153. font-size: 20px;
  154. line-height: 1.75rem;
  155. letter-spacing: .05em;
  156. color: #fff;
  157. overflow: hidden; }
  158. .blog-body .main .article-list .article-item .article-ctx .article-description {
  159. display: -webkit-box;
  160. -webkit-box-orient: vertical;
  161. -webkit-line-clamp: 2;
  162. font-size: 12px;
  163. text-indent: 2em;
  164. line-height: 1.5rem;
  165. word-break: break-all;
  166. overflow: hidden;
  167. color: #fff; }
  168. .blog-body .main #NextButton {
  169. width: auto;
  170. padding-left: 3rem;
  171. padding-right: 3rem; }
  172. .blog-body .main .article-detail .tag .tag-item {
  173. color: #0d6efd !important;
  174. background-color: rgba(13, 110, 253, 0.1) !important; }
  175. .blog-body .main .article-detail .copyright {
  176. padding: 1rem;
  177. margin-top: 1.5rem;
  178. line-height: 1.5rem;
  179. border-radius: .25rem;
  180. background-color: var(--bs-light); }
  181. .blog-body .main .article-detail .copyright .copyright-text {
  182. word-break: break-all; }
  183. .blog-body .main .article-detail .like-button {
  184. border-radius: var(--bs-border-radius-lg);
  185. border: 2px solid #e7e7e7;
  186. cursor: pointer;
  187. padding: .45rem .75rem;
  188. color: #878787;
  189. display: flex;
  190. align-items: center;
  191. justify-content: center;
  192. font-size: 1rem;
  193. transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  194. filter: grayscale(100%);
  195. user-select: none; }
  196. .blog-body .main .article-detail .like-button .like-icon {
  197. width: 18px;
  198. height: 16px;
  199. display: inline-block;
  200. position: relative;
  201. margin-right: .25em;
  202. font-size: 1.5rem;
  203. background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjYyMzc3NzkwMjA1IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIxMjk2IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik05MTMuOTIgMjA4LjM4NGMtOTguODE2LTk4LjgxNi0yNTguNTYtOTguODE2LTM1Ny4zNzYgMGwtNDEuOTg0IDQxLjk4NC00MS45ODQtNDEuOTg0Yy05OC44MTYtOTguODE2LTI1OC41Ni05OC44MTYtMzU3LjM3NiAwLTk4LjMwNCA5OC44MTYtOTguMzA0IDI1OC41NiAwLjUxMiAzNTcuMzc2bDUyLjIyNCA1Mi4yMjQgMzM3LjQwOCAzMzcuNDA4YzUuNjMyIDUuNjMyIDE0LjMzNiA1LjYzMiAxOS45NjggMGwzMzcuNDA4LTMzNy40MDggNTIuMjI0LTUyLjIyNGM5Ny43OTItOTguODE2IDk3Ljc5Mi0yNTguNTYtMS4wMjQtMzU3LjM3NnoiIGZpbGw9IiNmZjZlNmYiIHAtaWQ9IjIxMjk3Ij48L3BhdGg+PC9zdmc+) no-repeat center;
  204. background-size: 100%;
  205. animation: heartUnlike 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }
  206. .blog-body .tools {
  207. display: flex;
  208. position: fixed;
  209. right: 1.25rem;
  210. bottom: 1.25rem;
  211. z-index: 1045;
  212. margin-top: .25rem;
  213. flex-direction: column; }
  214. .blog-body .tools .backup-btn,
  215. .blog-body .tools .theme-toggle {
  216. background-color: var(--bs-secondary-bg);
  217. border-radius: .25rem;
  218. border: 1px solid rgba(17, 24, 39, 0.1);
  219. cursor: pointer;
  220. color: var(--bs-dark); }
  221. .blog-body .footer {
  222. border-top-width: 1px;
  223. border-top-style: solid;
  224. border-color: rgba(17, 24, 39, 0.1);
  225. line-height: 1.8rem;
  226. letter-spacing: .3px; }
  227. @media screen and (max-width: 576px) {
  228. .blog-body .hero-box {
  229. height: 20rem; } }
  230. @media screen and (min-width: 768px) {
  231. .blog-body .main .article-list .article-item {
  232. background-color: #000;
  233. border-width: 0;
  234. height: 14.5rem; }
  235. .blog-body .main .article-list .article-item .blur-img img {
  236. filter: blur(1.875rem) brightness(0.75); }
  237. .blog-body .main .article-list .article-item .article-ctx {
  238. background-color: unset;
  239. padding: 3rem 2rem;
  240. width: 66.666667%; } }
  241. [class^="fa-"], [class*=" fa-"] {
  242. vertical-align: middle; }
  243. img {
  244. max-width: 100%;
  245. height: auto;
  246. vertical-align: middle; }
  247. .has-img {
  248. backdrop-filter: blur(8px); }
  249. .bg-blur {
  250. background: var(--bg-blur-background);
  251. -webkit-backdrop-filter: saturate(200%) blur(20px);
  252. backdrop-filter: saturate(200%) blur(20px); }
  253. .text-xs {
  254. font-size: .75rem; }
  255. .icon {
  256. font-size: 1rem;
  257. width: 1rem;
  258. height: 1rem;
  259. fill: currentColor;
  260. overflow: hidden;
  261. flex-shrink: 0; }
  262. :root {
  263. scroll-behavior: auto; }
  264. html::-webkit-scrollbar, body::-webkit-scrollbar {
  265. width: 6px;
  266. height: 0; }
  267. html::-webkit-scrollbar-corner, body::-webkit-scrollbar-corner {
  268. background: unset; }
  269. html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
  270. background: rgba(135, 135, 135, 0.4);
  271. border-radius: 6px; }
  272. html::-webkit-scrollbar-track, body::-webkit-scrollbar-track {
  273. background: rgba(135, 135, 135, 0.1); }
  274. html::-webkit-scrollbar-track, body::-webkit-scrollbar-track {
  275. background-color: #fff; }
  276. .dark html::-webkit-scrollbar-thumb, .dark body::-webkit-scrollbar-thumb {
  277. background: rgba(135, 135, 135, 0.6); }
  278. /*# sourceMappingURL=main.css.map */