style.css 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297
  1. /*
  2. style.css is generated from style.scss
  3. do not edit style.css
  4. edit style.scss
  5. */
  6. /* adopted from https://piccalil.li/blog/a-more-modern-css-reset/ */
  7. @layer reset {
  8. /* Box sizing rules */
  9. *,
  10. *::before,
  11. *::after {
  12. box-sizing: border-box;
  13. }
  14. /* Prevent font size inflation */
  15. html {
  16. -moz-text-size-adjust: none;
  17. -webkit-text-size-adjust: none;
  18. text-size-adjust: none;
  19. }
  20. /* Remove default margin in favour of better control in authored CSS */
  21. body,
  22. h1,
  23. h2,
  24. h3,
  25. h4,
  26. p,
  27. figure,
  28. blockquote,
  29. dl,
  30. dd {
  31. margin-block-end: 0;
  32. }
  33. /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
  34. ul[role=list],
  35. ol[role=list] {
  36. list-style: none;
  37. }
  38. /* Fix list style to not indent */
  39. ul,
  40. ol,
  41. menu {
  42. padding-inline-start: 1.5em;
  43. }
  44. li {
  45. padding-inline-start: 0.25em;
  46. }
  47. /* Set core body defaults */
  48. body {
  49. min-height: 100vh;
  50. line-height: 1.5;
  51. }
  52. /* Set shorter line heights on headings and interactive elements */
  53. h1,
  54. h2,
  55. h3,
  56. h4,
  57. button,
  58. input,
  59. label {
  60. line-height: 1.1;
  61. }
  62. /* Balance text wrapping on headings */
  63. h1,
  64. h2,
  65. h3,
  66. h4 {
  67. text-wrap: balance;
  68. }
  69. /* A elements that don't have a class get default styles */
  70. a:not([class]) {
  71. text-decoration-skip-ink: auto;
  72. color: currentColor;
  73. }
  74. /* Make images easier to work with */
  75. img,
  76. picture {
  77. display: block;
  78. }
  79. /* Inherit fonts for inputs and buttons */
  80. input,
  81. button,
  82. textarea,
  83. select {
  84. font-family: inherit;
  85. font-size: inherit;
  86. }
  87. /* Make sure textareas without a rows attribute are not tiny */
  88. textarea:not([rows]) {
  89. min-height: 10em;
  90. }
  91. /* Anything that has been anchored to should have extra scroll margin */
  92. :target {
  93. scroll-margin-block: 5ex;
  94. }
  95. }
  96. html {
  97. font-size: 62.5%;
  98. }
  99. body {
  100. top: 0;
  101. margin: 0;
  102. background-color: #131516;
  103. color: #fff;
  104. font-size: 1.8rem;
  105. font-family: "Roboto", "Open Sans", "Noto Sans", sans-serif, "Noto Sans CJK JP";
  106. margin-bottom: 10px;
  107. }
  108. @media (min-width: 440px) {
  109. main {
  110. margin-inline: 5px;
  111. }
  112. }
  113. h1,
  114. h2,
  115. h3,
  116. h4,
  117. h5,
  118. h6 {
  119. margin-block-end: 0.5em;
  120. }
  121. h1 {
  122. font-size: 1.5em;
  123. }
  124. h2 {
  125. font-size: 1.17em;
  126. }
  127. h3 {
  128. font-size: 1em;
  129. }
  130. h4 {
  131. font-size: 0.83em;
  132. }
  133. h5 {
  134. font-size: 0.67em;
  135. }
  136. h6 {
  137. font-size: 0.5em;
  138. }
  139. a {
  140. color: #118bee;
  141. text-decoration: none;
  142. }
  143. /* Scrollbars */
  144. * {
  145. scrollbar-width: thin;
  146. }
  147. *::-webkit-scrollbar {
  148. width: 5px;
  149. height: 5px;
  150. }
  151. *::-webkit-scrollbar-track {
  152. background: transparent;
  153. }
  154. *::-webkit-scrollbar-thumb {
  155. background-color: #118bee;
  156. border-radius: 10px;
  157. }
  158. .special-symbol {
  159. display: inline-flex;
  160. align-items: center;
  161. justify-content: center;
  162. width: 1.8rem;
  163. height: 1.8rem;
  164. font-size: 1.8rem;
  165. }
  166. [hidden] {
  167. display: none;
  168. }
  169. input,
  170. label,
  171. select,
  172. textarea {
  173. display: block;
  174. font-size: inherit;
  175. max-width: 600px;
  176. }
  177. input[type=checkbox],
  178. input[type=radio] {
  179. display: inline-block;
  180. }
  181. input[type=checkbox] + label,
  182. input[type=radio] + label {
  183. display: inline-flex;
  184. flex-direction: column;
  185. font-weight: normal;
  186. position: relative;
  187. top: 1px;
  188. }
  189. input[type=range] {
  190. padding: 0.4rem 0;
  191. }
  192. input,
  193. select,
  194. textarea {
  195. border: 1px solid #222;
  196. border-radius: 5px;
  197. margin-bottom: 1rem;
  198. padding: 0.4rem 0.8rem;
  199. }
  200. input[type=text],
  201. textarea {
  202. width: calc(100% - 1.6rem);
  203. background-color: #222;
  204. color: #aaa;
  205. }
  206. input[readonly],
  207. textarea[readonly] {
  208. background-color: #222;
  209. }
  210. .form-field {
  211. border: 1px solid #222;
  212. border-radius: 5px;
  213. box-shadow: 2px 2px 10px rgba(187, 187, 187, 0.1254901961);
  214. display: block;
  215. max-width: 800px;
  216. min-width: 460px;
  217. padding: 1.5rem;
  218. margin: 0.5rem 0;
  219. }
  220. .form-field header {
  221. margin: 1.5rem 0;
  222. padding: 1.5rem 0;
  223. }
  224. .form-field label {
  225. font-weight: bold;
  226. margin-bottom: 0.2rem;
  227. }
  228. a b,
  229. a em,
  230. a i,
  231. a strong,
  232. button,
  233. input[type=submit],
  234. .switch-button,
  235. .pagination-button {
  236. border-radius: 5px;
  237. display: inline-block;
  238. font-size: medium;
  239. font-weight: bold;
  240. line-height: 1.5;
  241. margin: 0.5rem 0;
  242. padding: 0.5rem 1rem;
  243. }
  244. button,
  245. input[type=submit],
  246. .switch-button,
  247. .pagination-button {
  248. font-family: "Roboto", "Open Sans", "Noto Sans", sans-serif, "Noto Sans CJK JP";
  249. }
  250. button:active,
  251. input[type=submit]:active,
  252. .switch-button:active,
  253. .pagination-button:active {
  254. filter: brightness(0.85);
  255. }
  256. button:hover,
  257. input[type=submit]:hover,
  258. .switch-button:hover,
  259. .pagination-button:hover {
  260. cursor: pointer;
  261. filter: brightness(1.2);
  262. }
  263. a b,
  264. a strong,
  265. button,
  266. input[type=submit],
  267. .switch-button,
  268. .pagination-button {
  269. background-color: #118bee;
  270. color: #fff;
  271. }
  272. input[type=submit][hidden] {
  273. display: none;
  274. }
  275. .switch-button[selected="1"] {
  276. background: #fc365b;
  277. }
  278. .switch-seperator {
  279. display: inline-block;
  280. margin-left: 10px;
  281. }
  282. .pagination {
  283. text-align: center;
  284. }
  285. .pagination form {
  286. display: inline-block;
  287. }
  288. .pagination .pagination-buttons {
  289. text-align: center;
  290. }
  291. .pagination .pagination-buttons input {
  292. width: 5em;
  293. }
  294. .pagination .pagination-button {
  295. margin-right: 5px;
  296. }
  297. .pagination #highlight {
  298. filter: brightness(1.2);
  299. }
  300. .pagination .disabled {
  301. pointer-events: none;
  302. background-color: #222;
  303. filter: brightness(1);
  304. }
  305. .tabs {
  306. margin-top: 1rem;
  307. margin-bottom: 1rem;
  308. border: 1px solid white;
  309. border-radius: 3px;
  310. overflow: hidden;
  311. display: flex;
  312. flex-wrap: wrap;
  313. }
  314. .tabs input[type=radio]:checked + label + .tabs-content {
  315. display: block;
  316. }
  317. .tabs .tabs-content {
  318. order: 999;
  319. width: 100%;
  320. border-top: 1px solid white;
  321. padding: 0.5rem 1rem 1rem;
  322. display: none;
  323. }
  324. #site-config {
  325. display: none;
  326. }
  327. #loading-indicator {
  328. z-index: 2;
  329. isolation: isolate;
  330. position: sticky;
  331. top: 0;
  332. height: 4px;
  333. margin-bottom: -4px;
  334. animation: rolling-something 1s linear infinite;
  335. background-image: repeating-linear-gradient(-0.25turn, #118bee 0vw, transparent 40vw);
  336. background-size: 80vw auto;
  337. will-change: opacity;
  338. transition: opacity 0.3s;
  339. opacity: 0;
  340. }
  341. #loading-indicator.htmx-request {
  342. opacity: 1;
  343. transition-duration: 1s;
  344. transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  345. }
  346. @keyframes rolling-something {
  347. 0% {
  348. background-position-x: 0vw;
  349. }
  350. 100% {
  351. background-position-x: 40vw;
  352. }
  353. }
  354. nav {
  355. margin-bottom: 15px;
  356. padding-left: 20px;
  357. padding-right: 20px;
  358. }
  359. nav .navigation-wrapper {
  360. padding-block: 15px;
  361. display: flex;
  362. justify-content: space-between;
  363. align-items: center;
  364. width: auto;
  365. }
  366. nav .sidebar-container {
  367. height: 30px;
  368. }
  369. nav .navbar-brand {
  370. display: inline-flex;
  371. align-items: center;
  372. gap: 10px;
  373. }
  374. nav .navbar-brand span {
  375. font-weight: bold;
  376. font-size: 1.3em;
  377. color: #fff;
  378. }
  379. nav .navbar-entry {
  380. display: flex;
  381. }
  382. nav .navbar-entry img {
  383. width: 30px;
  384. height: 30px;
  385. }
  386. nav .search-form {
  387. display: flex;
  388. gap: 4px;
  389. margin-left: 8px;
  390. align-items: center;
  391. }
  392. nav .search-form input {
  393. margin: 0;
  394. }
  395. nav .sidebar-toggler {
  396. display: none;
  397. }
  398. nav .sidebar-toggler:checked ~ .sidebar {
  399. transform: translateX(0);
  400. }
  401. nav .sidebar-label {
  402. display: flex;
  403. margin-right: 20px;
  404. cursor: pointer;
  405. }
  406. nav .sidebar {
  407. z-index: 1;
  408. isolation: isolate;
  409. background-color: #131516;
  410. position: absolute;
  411. padding-top: 6px;
  412. left: 0;
  413. width: 220px;
  414. transform: translateX(-220px);
  415. transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1);
  416. }
  417. nav .sidebar br {
  418. align-self: stretch;
  419. margin-top: 10px;
  420. }
  421. nav .sidebar-list {
  422. list-style-type: none;
  423. margin: 0;
  424. padding: 0;
  425. }
  426. nav .sidebar-item {
  427. display: flex;
  428. align-items: center;
  429. list-style: none;
  430. color: #fff;
  431. font-size: 0.9em;
  432. text-decoration: none;
  433. padding: 10px;
  434. }
  435. nav .sidebar-item:hover {
  436. background-color: #222;
  437. }
  438. nav .sidebar-item img {
  439. width: 30px;
  440. height: 30px;
  441. margin-left: 1.2rem;
  442. margin-right: 10px;
  443. }
  444. @media screen and (max-height: 767px) {
  445. nav {
  446. position: sticky;
  447. top: 0;
  448. isolation: isolate;
  449. z-index: 1;
  450. background-color: #131516;
  451. }
  452. nav .navigation-wrapper {
  453. background-color: #131516;
  454. padding-block: 8px;
  455. }
  456. nav .sidebar {
  457. z-index: -1;
  458. width: 100vw;
  459. transform: translateY(-110%);
  460. padding-block: 8px 16px;
  461. }
  462. nav .sidebar br {
  463. display: none;
  464. }
  465. nav .sidebar-list {
  466. background-color: #131516;
  467. display: grid;
  468. grid-template-columns: minmax(0px, 400px) repeat(auto-fit, minmax(0px, 400px));
  469. }
  470. nav .sidebar-item {
  471. padding-inline: unset;
  472. }
  473. }
  474. .component-header {
  475. display: flex;
  476. justify-content: space-between;
  477. align-items: center;
  478. }
  479. .component-header h2 {
  480. margin: 0;
  481. display: inline-block;
  482. }
  483. .container {
  484. max-width: 1200px;
  485. margin-inline: auto;
  486. padding-inline: 4px;
  487. scroll-margin-top: 71px;
  488. }
  489. @media (min-width: 440px) {
  490. .container {
  491. padding-inline: 10px;
  492. }
  493. }
  494. .error.container {
  495. text-align: center;
  496. }
  497. .artwork-container-header {
  498. display: flex;
  499. flex-wrap: wrap;
  500. align-items: center;
  501. justify-content: space-between;
  502. }
  503. .artwork-container {
  504. display: grid;
  505. grid-template-columns: repeat(auto-fit, minmax(199px, 1fr));
  506. align-items: center;
  507. justify-items: center;
  508. }
  509. .artwork-container-scroll {
  510. display: flex;
  511. overflow: hidden;
  512. overflow-x: scroll;
  513. }
  514. .artwork-container a,
  515. .artwork-container-scroll a {
  516. text-decoration: none;
  517. color: #fff;
  518. }
  519. .artwork-container .artwork-large img,
  520. .artwork-container-scroll .artwork-large img {
  521. width: 288px;
  522. height: 288px;
  523. }
  524. .artwork-container .artwork-large .artwork-title,
  525. .artwork-container-scroll .artwork-large .artwork-title {
  526. max-width: 288px;
  527. }
  528. .artwork-container .artwork-large .artwork-author,
  529. .artwork-container-scroll .artwork-large .artwork-author {
  530. max-width: 288px;
  531. }
  532. .artwork-container .artwork-large .artwork-author a,
  533. .artwork-container-scroll .artwork-large .artwork-author a {
  534. max-width: 184px;
  535. }
  536. .artwork-container .artwork-small img,
  537. .artwork-container-scroll .artwork-small img {
  538. width: 184px;
  539. height: 184px;
  540. background: rgb(19, 21, 22);
  541. background: linear-gradient(0deg, rgba(10, 10, 10, 0.5) 0%, rgba(19, 21, 22, 0) 80%, rgba(34, 33, 33, 0) 100%);
  542. }
  543. .artwork-container .artwork-small .artwork-image,
  544. .artwork-container-scroll .artwork-small .artwork-image {
  545. position: relative;
  546. }
  547. .artwork-container .artwork-small .artwork-image .overlay-cover,
  548. .artwork-container-scroll .artwork-small .artwork-image .overlay-cover {
  549. position: absolute;
  550. top: 0;
  551. left: 0;
  552. width: 100%;
  553. height: 100%;
  554. cursor: pointer;
  555. }
  556. .artwork-container .artwork-small .artwork-image .overlay-button,
  557. .artwork-container-scroll .artwork-small .artwork-image .overlay-button {
  558. position: absolute;
  559. bottom: 0;
  560. right: 0;
  561. padding: 0 5px;
  562. background-color: rgba(0, 0, 0, 0.3);
  563. cursor: pointer;
  564. }
  565. .artwork-container .artwork-small .artwork-title,
  566. .artwork-container-scroll .artwork-small .artwork-title {
  567. max-width: 184px;
  568. }
  569. .artwork-container .artwork-small .artwork-author,
  570. .artwork-container-scroll .artwork-small .artwork-author {
  571. max-width: 184px;
  572. }
  573. .artwork-container .artwork-small .artwork-author a,
  574. .artwork-container-scroll .artwork-small .artwork-author a {
  575. max-width: 184px;
  576. }
  577. .artwork-container .artwork,
  578. .artwork-container-scroll .artwork {
  579. padding: 5px;
  580. width: fit-content;
  581. position: relative;
  582. }
  583. .artwork-container .artwork .artwork-additional,
  584. .artwork-container-scroll .artwork .artwork-additional {
  585. position: absolute;
  586. top: 0;
  587. left: 0;
  588. right: 0;
  589. box-sizing: border-box;
  590. display: flex;
  591. align-items: flex-start;
  592. justify-content: space-between;
  593. padding: 4px 4px 0px;
  594. pointer-events: none;
  595. }
  596. .artwork-container .artwork .artwork-additional .artwork-position,
  597. .artwork-container-scroll .artwork .artwork-additional .artwork-position {
  598. display: flex;
  599. align-items: center;
  600. justify-content: center;
  601. border-radius: 50%;
  602. font-weight: bold;
  603. width: 40px;
  604. height: 40px;
  605. font-size: 16px;
  606. background-color: rgba(0, 0, 0, 0.32);
  607. }
  608. .artwork-container .artwork .artwork-additional .artwork-profanity-label,
  609. .artwork-container-scroll .artwork .artwork-additional .artwork-profanity-label {
  610. display: flex;
  611. align-items: center;
  612. justify-content: center;
  613. font-size: 10px;
  614. border-radius: 20px;
  615. padding: 0.4rem;
  616. background-color: #fc365b;
  617. color: #fff;
  618. }
  619. .artwork-container .artwork .artwork-additional .artwork-page-count,
  620. .artwork-container-scroll .artwork .artwork-additional .artwork-page-count {
  621. display: flex;
  622. justify-content: center;
  623. align-items: center;
  624. flex: 0 0 auto;
  625. box-sizing: border-box;
  626. height: 20px;
  627. min-width: 20px;
  628. color: #fff;
  629. font-weight: bold;
  630. padding: 0px 6px;
  631. background: rgba(0, 0, 0, 0.32);
  632. border-radius: 10px;
  633. font-size: 10px;
  634. line-height: 10px;
  635. }
  636. .artwork-container .artwork .artwork-additional .artwork-page-count .boxbox,
  637. .artwork-container-scroll .artwork .artwork-additional .artwork-page-count .boxbox {
  638. font-size: 9px;
  639. }
  640. .artwork-container .artwork img,
  641. .artwork-container-scroll .artwork img {
  642. object-fit: cover;
  643. object-position: center center;
  644. border-radius: 5px;
  645. }
  646. .artwork-container .artwork .artwork-title,
  647. .artwork-container-scroll .artwork .artwork-title {
  648. display: flex;
  649. align-items: center;
  650. }
  651. .artwork-container .artwork .artwork-title a,
  652. .artwork-container-scroll .artwork .artwork-title a {
  653. font-size: 14px;
  654. display: inline;
  655. overflow: hidden;
  656. text-overflow: ellipsis;
  657. white-space: nowrap;
  658. line-height: 22px;
  659. font-weight: bold;
  660. }
  661. .artwork-container .artwork .artwork-author,
  662. .artwork-container-scroll .artwork .artwork-author {
  663. display: flex;
  664. align-items: center;
  665. }
  666. .artwork-container .artwork .artwork-author a,
  667. .artwork-container-scroll .artwork .artwork-author a {
  668. display: flex;
  669. align-items: center;
  670. }
  671. .artwork-container .artwork .artwork-author a img,
  672. .artwork-container-scroll .artwork .artwork-author a img {
  673. aspect-ratio: 1/1;
  674. width: 24px;
  675. height: 24px;
  676. object-fit: cover;
  677. object-position: center top;
  678. border-radius: 50%;
  679. margin-right: 5px;
  680. }
  681. .artwork-container .artwork .artwork-author a span,
  682. .artwork-container-scroll .artwork .artwork-author a span {
  683. font-size: 14px;
  684. overflow: hidden;
  685. text-overflow: ellipsis;
  686. white-space: nowrap;
  687. line-height: 22px;
  688. }
  689. /* Brought out here because both artworks and novels needed this */
  690. .illust-tags {
  691. font-size: 0.9em;
  692. }
  693. .illust-tags .illust-tag-attr {
  694. display: inline-flex;
  695. align-items: center;
  696. margin-right: 15px;
  697. }
  698. .illust-tags .illust-tag-attr img {
  699. aspect-ratio: 1/1;
  700. width: 18px;
  701. height: 18px;
  702. margin-right: 5px;
  703. }
  704. .illust-tags .illust-tag {
  705. margin-right: 10px;
  706. }
  707. .illust-tags .illust-tag #highlight {
  708. color: #fc365b;
  709. }
  710. .illust-tags .illust-tag .illust-tag-name {
  711. color: #118bee;
  712. font-weight: bold;
  713. margin-right: 5px;
  714. }
  715. .illust-attr {
  716. display: flex;
  717. align-items: center;
  718. justify-content: space-between;
  719. margin-top: 10px;
  720. margin-bottom: 10px;
  721. }
  722. .illust-attr .illust-author-attr {
  723. display: flex;
  724. align-items: center;
  725. }
  726. .illust-attr .illust-avatar {
  727. width: 62px;
  728. height: 62px;
  729. border-radius: 50px;
  730. object-fit: cover;
  731. object-position: center top;
  732. aspect-ratio: 1/1;
  733. }
  734. .illust-attr .attr-wrap {
  735. margin-left: 5px;
  736. }
  737. .illust-attr .attr-wrap .illust-title {
  738. font-weight: bold;
  739. }
  740. .illust-attr .attr-wrap .illust-author {
  741. font-size: 0.8em;
  742. }
  743. .illust-attr .attr-wrap a {
  744. color: #aaa;
  745. }
  746. .illust-attr .artwork-actions img {
  747. aspect-ratio: 1/1;
  748. width: 30px;
  749. height: 30px;
  750. display: inline;
  751. }
  752. .illust {
  753. background-color: #222;
  754. border-radius: 5px;
  755. padding: 5px 15px;
  756. }
  757. .illust .illust-images {
  758. display: flex;
  759. align-items: center;
  760. flex-direction: column;
  761. width: 100%;
  762. }
  763. .illust .illust-images img,
  764. .illust .illust-images video {
  765. margin-top: 15px;
  766. max-height: 1000px;
  767. width: auto;
  768. max-width: 100%;
  769. }
  770. .illust .illust-description {
  771. font-size: 0.85em;
  772. }
  773. .illust .comment {
  774. display: flex;
  775. margin-bottom: 10px;
  776. }
  777. .illust .comment p {
  778. margin: 0;
  779. font-size: 0.8em;
  780. }
  781. .illust .comment .comment-avatar {
  782. width: 40px;
  783. height: 40px;
  784. border-radius: 50%;
  785. margin-right: 10px;
  786. }
  787. .illust .comment .comment-author {
  788. color: #fff;
  789. font-size: medium;
  790. font-weight: bold;
  791. }
  792. .illust .comment .stamp {
  793. width: 96px;
  794. height: 96px;
  795. border-radius: 4px;
  796. }
  797. .illust .comment .emoji {
  798. width: 24px;
  799. height: 24px;
  800. margin-left: 3px;
  801. margin-right: 3px;
  802. }
  803. .illust .illust-other-works a.illust-other-works-author {
  804. display: inline-flex;
  805. align-items: center;
  806. text-decoration: none;
  807. color: #fff;
  808. }
  809. .illust .illust-other-works a.illust-other-works-author > img {
  810. aspect-ratio: 1/1;
  811. width: 50px;
  812. height: 50px;
  813. border-radius: 50%;
  814. margin-right: 5px;
  815. object-fit: cover;
  816. object-position: center top;
  817. }
  818. .novel-container {
  819. display: grid;
  820. grid-template-columns: repeat(auto-fit, minmax(407px, 1fr));
  821. justify-content: center;
  822. }
  823. .novel-card {
  824. font-size: 1.5rem;
  825. padding: 5px 15px;
  826. padding-top: 1em;
  827. }
  828. .novel-card .novel-detail {
  829. display: flex;
  830. }
  831. .novel-card .novel-detail .novel-author {
  832. display: flex;
  833. align-items: center;
  834. font-size: 0.8em;
  835. }
  836. .novel-card .novel-detail .novel-author img {
  837. width: 16px;
  838. height: 16px;
  839. border-radius: 50%;
  840. }
  841. .novel-card .novel-detail .novel-author span {
  842. color: #fff;
  843. display: inline-block;
  844. margin-left: 5px;
  845. }
  846. .novel-card .novel-detail .novel-metadata {
  847. margin-left: 1.5rem;
  848. }
  849. .novel-card .novel-detail .novel-metadata .novel-title {
  850. color: #fff;
  851. font-size: 1.17em;
  852. font-weight: bold;
  853. overflow: hidden;
  854. overflow-wrap: break-word;
  855. word-break: break-word;
  856. text-overflow: ellipsis;
  857. width: 100%;
  858. display: -webkit-box;
  859. -webkit-line-clamp: 2;
  860. -webkit-box-orient: vertical;
  861. }
  862. .novel-card .novel-detail .novel-metadata .novel-description {
  863. font-size: 0.85em;
  864. overflow: hidden;
  865. overflow-wrap: break-word;
  866. word-break: break-word;
  867. text-overflow: ellipsis;
  868. width: 100%;
  869. display: -webkit-box;
  870. -webkit-line-clamp: 4;
  871. -webkit-box-orient: vertical;
  872. }
  873. .novel-card .novel-cover img {
  874. /* warning: hard-coded values */
  875. width: 136px;
  876. height: 191px;
  877. object-fit: cover;
  878. object-position: center center;
  879. }
  880. .novel-card .novel-content {
  881. margin: 1.2rem 0;
  882. line-height: 1.8;
  883. color: black;
  884. background-color: white;
  885. }
  886. .novel {
  887. background-color: #222;
  888. border-radius: 5px;
  889. padding: 5px 15px;
  890. padding-top: 1em;
  891. }
  892. .novel .novel-detail {
  893. display: flex;
  894. }
  895. .novel .novel-detail .novel-metadata {
  896. margin-left: 1.5rem;
  897. }
  898. .novel .novel-detail .novel-metadata .novel-title {
  899. font-size: 1.17em;
  900. font-weight: bold;
  901. }
  902. .novel .novel-detail .novel-metadata .novel-description {
  903. font-size: 0.85em;
  904. }
  905. .novel .novel-cover img {
  906. /* warning: hard-coded values */
  907. width: 136px;
  908. height: 191px;
  909. object-fit: cover;
  910. object-position: center center;
  911. }
  912. .novel .novel-content {
  913. margin: 1.2rem 0;
  914. line-height: 2;
  915. color: black;
  916. background-color: white;
  917. max-width: 100%;
  918. width: 100%;
  919. overflow-x: scroll;
  920. }
  921. .novel .novel-content .novel-content-text {
  922. padding: 6.4rem 10rem;
  923. text-align: justify;
  924. }
  925. .novel .novel-content .novel-content-text img {
  926. max-width: 100%;
  927. max-height: 100%;
  928. margin: 0 0.5rem;
  929. }
  930. .novel .novel-attr {
  931. display: flex;
  932. align-items: center;
  933. margin-top: 10px;
  934. margin-bottom: 10px;
  935. }
  936. .novel .novel-attr .novel-avatar {
  937. width: 62px;
  938. height: 62px;
  939. border-radius: 50px;
  940. object-fit: cover;
  941. object-position: center top;
  942. }
  943. .novel .novel-attr .attr-wrap {
  944. margin-left: 5px;
  945. }
  946. .novel .novel-attr .attr-wrap .novel-author {
  947. font-size: 0.8em;
  948. }
  949. .novel .novel-attr .attr-wrap a {
  950. color: #aaa;
  951. }
  952. .novel .novel-settings {
  953. background-color: #131516;
  954. padding: 0.5rem;
  955. position: sticky;
  956. top: 0;
  957. /* The container <div> - needed to position the dropdown content */
  958. /* Dropdown Content (Hidden by Default) */
  959. }
  960. .novel .novel-settings img {
  961. width: 30px;
  962. height: 30px;
  963. }
  964. .novel .novel-settings .novel-settings-wrapper {
  965. display: flex;
  966. }
  967. .novel .novel-settings .dropdown {
  968. position: relative;
  969. display: inline-block;
  970. }
  971. .novel .novel-settings .dropdown-content {
  972. display: none;
  973. position: absolute;
  974. background-color: #131516;
  975. min-width: 160px;
  976. box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
  977. z-index: 1;
  978. padding: 1rem;
  979. }
  980. .novel .novel-settings .dropdown-content .value-holder {
  981. display: none;
  982. }
  983. .novel .novel-settings .dropdown-toggler {
  984. display: none;
  985. }
  986. .novel .novel-settings .dropdown-toggler:checked ~ .dropdown-content {
  987. display: block;
  988. }
  989. [data-font=mincho][data-font=jp] {
  990. font-family: "Source Han Serif JP", "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Source Han Serif", "BIZ UDMincho Medium", "Source Serif Pro", "Source Serif", "Noto Serif", "Times New Roman", "Georgia Pro", Georgia, Simsun, PMingLiu, AppleMyungjo, "Source Han Serif K", "Source Han Serif KR", "Noto Serif KR", Batang, serif;
  991. }
  992. [data-font=mincho][data-font=zh-cn],
  993. [data-font=mincho][data-font=zh-hans] {
  994. font-family: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "Source Han Serif CN", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Source Han Serif", "BIZ UDMincho Medium", "Source Serif Pro", "Source Serif", "Noto Serif", "Times New Roman", "Georgia Pro", Georgia, Simsun, PMingLiu, AppleMyungjo, "Source Han Serif K", "Source Han Serif KR", "Noto Serif KR", Batang, serif;
  995. }
  996. [data-font=mincho][data-font=zh-tw],
  997. [data-font=mincho][data-font=zh-hk],
  998. [data-font=mincho][data-font=zh-hant] {
  999. font-family: "Songti TC", "Source Han Serif TC", "Noto Serif TC", "Source Han Serif TW", "Source Han Serif HK", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Source Han Serif", "BIZ UDMincho Medium", "Source Serif Pro", "Source Serif", "Noto Serif", "Times New Roman", "Georgia Pro", Georgia, Simsun, PMingLiu, AppleMyungjo, "Source Han Serif K", "Source Han Serif KR", "Noto Serif KR", Batang, serif;
  1000. }
  1001. [data-font=mincho] {
  1002. font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Source Han Serif", "BIZ UDMincho Medium", "Source Serif Pro", "Source Serif", "Noto Serif", "Times New Roman", "Georgia Pro", Georgia, Simsun, PMingLiu, AppleMyungjo, "Source Han Serif K", "Source Han Serif KR", "Noto Serif KR", Batang, serif;
  1003. }
  1004. [data-font=gothic] {
  1005. font-family: YuGothic, "Hiragino Kaku Gothic Pro", Meiryo, "Source Han Sans", "Source Han Sans JP", "Noto Sans CJK JP", "Avenir Next", Avenir, "Source Sans", "Noto Sans", Roboto, Verdana, "Pingfang TC", "Pingfang HK", "Hiragino Sans CNS", "Lantinghei TC", "Source Han Sans TW", "Source Han Sans HK", "Noto Sans CJK TC", "Microsoft JhengHei", "Pingfang SC", "Hiragino Sans GB", "Lantinghei SC", "Source Han Sans CN", "Noto Sans CJK SC", "Microsoft Yahei", DengXian, "Apple SD Gothic Neo", "Source Han Sans K", "Source Han Sans KR", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
  1006. }
  1007. [data-view="2"] {
  1008. writing-mode: vertical-rl;
  1009. text-orientation: upright;
  1010. }
  1011. .background-cover {
  1012. background: repeating-linear-gradient(52.5deg, rgba(32, 32, 32, 0.8), rgba(32, 32, 32, 0.8) 14px, rgba(240, 248, 255, 0) 14px, rgba(240, 248, 255, 0) 28px);
  1013. height: 10vw;
  1014. min-height: 100px;
  1015. overflow: hidden;
  1016. padding-top: 10px;
  1017. padding-bottom: 10px;
  1018. }
  1019. .background-cover img {
  1020. width: 100%;
  1021. height: 100%;
  1022. object-fit: cover;
  1023. }
  1024. #hasbg {
  1025. height: 40vw;
  1026. min-height: 100px;
  1027. max-height: 60vh;
  1028. }
  1029. .user {
  1030. transform: translateY(-8rem);
  1031. }
  1032. .user img {
  1033. display: inline;
  1034. }
  1035. .user .user-avatar {
  1036. text-align: center;
  1037. }
  1038. .user .user-avatar img {
  1039. aspect-ratio: 1/1;
  1040. width: 150px;
  1041. height: 150px;
  1042. border-radius: 50%;
  1043. object-fit: cover;
  1044. object-position: center top;
  1045. }
  1046. .user .user-social {
  1047. text-align: center;
  1048. }
  1049. .user .user-social img {
  1050. aspect-ratio: 1/1;
  1051. width: 36px;
  1052. height: 36px;
  1053. }
  1054. .user .user-details {
  1055. text-align: center;
  1056. }
  1057. .user .user-details h2 {
  1058. margin: 0;
  1059. }
  1060. .tag-list {
  1061. display: flex;
  1062. flex-wrap: wrap;
  1063. row-gap: 8px;
  1064. column-gap: 1em;
  1065. margin-block: 4px 20px;
  1066. }
  1067. .tag-list > a {
  1068. line-height: 1;
  1069. }
  1070. .tag-list > a:hover {
  1071. text-decoration: underline;
  1072. }
  1073. .vision-container {
  1074. display: grid;
  1075. width: 100%;
  1076. gap: 15px;
  1077. grid-template-columns: 1fr 1fr;
  1078. }
  1079. .vision-container .vision-preview {
  1080. background: #222;
  1081. padding: 10px;
  1082. display: flex;
  1083. flex-flow: column wrap;
  1084. }
  1085. .vision-container .vision-thumbnail img {
  1086. width: 100%;
  1087. }
  1088. .vision-container .vision-metadata {
  1089. display: flex;
  1090. flex-direction: column;
  1091. justify-content: space-between;
  1092. flex-grow: 1;
  1093. }
  1094. .vision-container .vision-metadata .vision-title {
  1095. color: #fff;
  1096. margin: 0.5rem 0;
  1097. }
  1098. .vision-container .vision-metadata .vision-metadata-other {
  1099. display: flex;
  1100. justify-content: space-between;
  1101. }
  1102. .vision-container .tag-list {
  1103. align-items: center;
  1104. margin: 0;
  1105. }
  1106. .vision-article {
  1107. background-color: #222;
  1108. border-radius: 5px;
  1109. padding: 5px 15px;
  1110. }
  1111. #calendar {
  1112. width: 100%;
  1113. height: auto;
  1114. }
  1115. .calendar-weeks,
  1116. .calendar-board {
  1117. max-width: 1000px;
  1118. margin: 0 auto;
  1119. display: flex;
  1120. flex-wrap: wrap;
  1121. gap: 5px;
  1122. }
  1123. .calendar-weeks div {
  1124. width: 128px;
  1125. text-align: center;
  1126. }
  1127. .calendar-node {
  1128. width: 128px;
  1129. height: 128px;
  1130. border-radius: 8px;
  1131. background-color: #222;
  1132. position: relative;
  1133. }
  1134. .calendar-node img {
  1135. border-radius: 8px;
  1136. object-fit: cover;
  1137. object-position: center center;
  1138. }
  1139. .calendar-node span {
  1140. font-size: small;
  1141. color: #fff;
  1142. background-color: #222;
  1143. position: absolute;
  1144. top: 0.3rem;
  1145. left: 0.3rem;
  1146. padding: 0.05rem 0.3rem;
  1147. display: flex;
  1148. align-items: center;
  1149. justify-content: center;
  1150. }
  1151. .calendar-node-empty {
  1152. visibility: hidden;
  1153. }
  1154. @media screen and (max-width: 950px) {
  1155. .calendar-board {
  1156. justify-content: center;
  1157. }
  1158. .calendar-weeks,
  1159. .calendar-node-empty {
  1160. display: none;
  1161. }
  1162. }
  1163. .tag-header {
  1164. display: flex;
  1165. }
  1166. .tag-header .tag-thumbnail {
  1167. width: 120px;
  1168. height: 120px;
  1169. border-radius: 5px;
  1170. margin-right: 20px;
  1171. object-fit: cover;
  1172. object-position: center center;
  1173. }
  1174. .tag-header .tag-details .main-tag {
  1175. font-size: 1.6rem;
  1176. }
  1177. .tag-container {
  1178. background-color: #222;
  1179. display: inline-flex;
  1180. align-items: center;
  1181. justify-content: center;
  1182. padding-left: 20px;
  1183. padding-right: 20px;
  1184. margin-right: 10px;
  1185. width: max-content;
  1186. height: 40px;
  1187. margin-bottom: 4px;
  1188. text-align: center;
  1189. font-weight: bold;
  1190. font-size: 1rem;
  1191. border-radius: 4px;
  1192. }
  1193. .tag-container .main {
  1194. font-size: 1.6em;
  1195. }
  1196. .tag-container .sub {
  1197. font-size: 1.2em;
  1198. font-weight: normal;
  1199. }
  1200. summary > :is(h1, h2, h3, h4, h5, h6) {
  1201. display: inline-block;
  1202. }
  1203. .settings-set-cookie h3 {
  1204. font-size: smaller;
  1205. margin-block: 4px 0;
  1206. }
  1207. .settings-set-cookie form {
  1208. display: flex;
  1209. gap: 4px;
  1210. }
  1211. .settings-set-cookie form > * {
  1212. margin: unset !important;
  1213. }
  1214. .settings-set-cookie form > input[type=text] {
  1215. width: 20em;
  1216. }
  1217. input.critical {
  1218. background-color: #fc365b;
  1219. }
  1220. /*# sourceMappingURL=style.css.map */