style.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  1. html {
  2. font-size: 62.5%;
  3. }
  4. body {
  5. top: 0;
  6. margin: 0;
  7. background-color: #131516;
  8. color: #fff;
  9. font-size: 1.8rem;
  10. font-family: "Roboto", "Open Sans", "Noto Sans", sans-serif, "Noto Sans CJK JP";
  11. margin-bottom: 10px;
  12. }
  13. @media (min-width: 440px) {
  14. main {
  15. margin-inline: 5px;
  16. }
  17. }
  18. a {
  19. color: #118bee;
  20. text-decoration: none;
  21. }
  22. /* Scrollbars */
  23. * {
  24. scrollbar-width: thin;
  25. }
  26. *::-webkit-scrollbar {
  27. width: 5px;
  28. height: 5px;
  29. }
  30. *::-webkit-scrollbar-track {
  31. background: transparent;
  32. }
  33. *::-webkit-scrollbar-thumb {
  34. background-color: #118bee;
  35. border-radius: 10px;
  36. }
  37. .special-symbol {
  38. display: inline-flex;
  39. align-items: center;
  40. justify-content: center;
  41. width: 1.8rem;
  42. height: 1.8rem;
  43. font-size: 1.8rem;
  44. }
  45. [hidden] {
  46. display: none;
  47. }
  48. input,
  49. label,
  50. select,
  51. textarea {
  52. display: block;
  53. font-size: inherit;
  54. max-width: 600px;
  55. }
  56. input[type=checkbox],
  57. input[type=radio] {
  58. display: inline-block;
  59. }
  60. input[type=checkbox] + label,
  61. input[type=radio] + label {
  62. display: inline-block;
  63. font-weight: normal;
  64. position: relative;
  65. top: 1px;
  66. }
  67. input[type=range] {
  68. padding: 0.4rem 0;
  69. }
  70. input,
  71. select,
  72. textarea {
  73. border: 1px solid #222;
  74. border-radius: 5px;
  75. margin-bottom: 1rem;
  76. padding: 0.4rem 0.8rem;
  77. }
  78. input[type=text],
  79. textarea {
  80. width: calc(100% - 1.6rem);
  81. background-color: #222;
  82. color: #aaa;
  83. }
  84. input[readonly],
  85. textarea[readonly] {
  86. background-color: #222;
  87. }
  88. .form-field {
  89. border: 1px solid #222;
  90. border-radius: 5px;
  91. box-shadow: 2px 2px 10px rgba(187, 187, 187, 0.1254901961);
  92. display: block;
  93. max-width: 800px;
  94. min-width: 460px;
  95. padding: 1.5rem;
  96. }
  97. .form-field header {
  98. margin: 1.5rem 0;
  99. padding: 1.5rem 0;
  100. }
  101. .form-field label {
  102. font-weight: bold;
  103. margin-bottom: 0.2rem;
  104. }
  105. a b,
  106. a em,
  107. a i,
  108. a strong,
  109. button,
  110. input[type=submit],
  111. .switch-button,
  112. .pagination-button {
  113. border-radius: 5px;
  114. display: inline-block;
  115. font-size: medium;
  116. font-weight: bold;
  117. line-height: 1.5;
  118. margin: 0.5rem 0;
  119. padding: 0.5rem 1rem;
  120. }
  121. button,
  122. input[type=submit],
  123. .switch-button,
  124. .pagination-button {
  125. font-family: "Roboto", "Open Sans", "Noto Sans", sans-serif, "Noto Sans CJK JP";
  126. }
  127. button:active,
  128. input[type=submit]:active,
  129. .switch-button:active,
  130. .pagination-button:active {
  131. filter: brightness(0.85);
  132. }
  133. button:hover,
  134. input[type=submit]:hover,
  135. .switch-button:hover,
  136. .pagination-button:hover {
  137. cursor: pointer;
  138. filter: brightness(1.2);
  139. }
  140. a b,
  141. a strong,
  142. button,
  143. input[type=submit],
  144. .switch-button,
  145. .pagination-button {
  146. background-color: #118bee;
  147. border: 2px solid #118bee;
  148. color: #fff;
  149. }
  150. input[type=submit][hidden] {
  151. display: none;
  152. }
  153. .switch-seperator {
  154. display: inline-block;
  155. margin-left: 10px;
  156. }
  157. .pagination {
  158. text-align: center;
  159. }
  160. .pagination form {
  161. display: inline-block;
  162. }
  163. .pagination .pagination-buttons {
  164. text-align: center;
  165. }
  166. .pagination .pagination-buttons input {
  167. width: 5em;
  168. }
  169. .pagination .pagination-button {
  170. margin-right: 5px;
  171. }
  172. .pagination #highlight {
  173. filter: brightness(1.2);
  174. }
  175. .pagination .disabled {
  176. pointer-events: none;
  177. background-color: #222;
  178. filter: brightness(1);
  179. }
  180. #loading-indicator {
  181. z-index: 2;
  182. isolation: isolate;
  183. position: sticky;
  184. top: 0;
  185. height: 4px;
  186. margin-bottom: -4px;
  187. animation: rolling-something 1s linear infinite;
  188. background-image: repeating-linear-gradient(-0.25turn, #118bee 0vw, transparent 40vw);
  189. background-size: 80vw auto;
  190. will-change: opacity;
  191. transition: opacity 0.3s;
  192. opacity: 0;
  193. }
  194. #loading-indicator.htmx-request {
  195. opacity: 1;
  196. transition-duration: 1s;
  197. transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  198. }
  199. @keyframes rolling-something {
  200. 0% {
  201. background-position-x: 0vw;
  202. }
  203. 100% {
  204. background-position-x: 40vw;
  205. }
  206. }
  207. nav {
  208. margin-bottom: 15px;
  209. padding-left: 20px;
  210. padding-right: 20px;
  211. }
  212. nav .navigation-wrapper {
  213. padding-block: 15px;
  214. display: flex;
  215. justify-content: space-between;
  216. align-items: center;
  217. width: auto;
  218. }
  219. nav .sidebar-container {
  220. height: 30px;
  221. }
  222. nav .navbar-brand {
  223. display: inline-flex;
  224. gap: 10px;
  225. }
  226. nav .navbar-brand span {
  227. font-weight: bold;
  228. font-size: 1.3em;
  229. color: #fff;
  230. }
  231. nav .navbar-entry {
  232. display: flex;
  233. }
  234. nav .navbar-entry img {
  235. width: 30px;
  236. height: 30px;
  237. }
  238. nav .search-form {
  239. display: flex;
  240. gap: 4px;
  241. margin-left: 8px;
  242. align-items: center;
  243. }
  244. nav .search-form input {
  245. margin: 0;
  246. }
  247. nav .sidebar-toggler {
  248. display: none;
  249. }
  250. nav .sidebar-toggler:checked ~ .sidebar {
  251. transform: translateX(0);
  252. }
  253. nav .sidebar-label {
  254. display: flex;
  255. margin-right: 20px;
  256. cursor: pointer;
  257. }
  258. nav .sidebar {
  259. z-index: 1;
  260. isolation: isolate;
  261. background-color: #131516;
  262. position: absolute;
  263. padding-top: 6px;
  264. left: 0;
  265. width: 220px;
  266. transform: translateX(-220px);
  267. transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1);
  268. }
  269. nav .sidebar br {
  270. align-self: stretch;
  271. margin-top: 10px;
  272. }
  273. nav .sidebar-list {
  274. list-style-type: none;
  275. margin: 0;
  276. padding: 0;
  277. }
  278. nav .sidebar-item {
  279. display: flex;
  280. align-items: center;
  281. list-style: none;
  282. color: #fff;
  283. font-size: 0.9em;
  284. text-decoration: none;
  285. padding: 10px;
  286. }
  287. nav .sidebar-item:hover {
  288. background-color: #222;
  289. }
  290. nav .sidebar-item img {
  291. width: 30px;
  292. height: 30px;
  293. margin-left: 1.2rem;
  294. margin-right: 10px;
  295. }
  296. @media screen and (max-height: 767px) {
  297. nav {
  298. position: sticky;
  299. top: 0;
  300. isolation: isolate;
  301. z-index: 1;
  302. background-color: #131516;
  303. }
  304. nav .navigation-wrapper {
  305. background-color: #131516;
  306. padding-block: 8px;
  307. }
  308. nav .sidebar {
  309. z-index: -1;
  310. width: 100vw;
  311. transform: translateY(-110%);
  312. padding-block: 8px 16px;
  313. }
  314. nav .sidebar br {
  315. display: none;
  316. }
  317. nav .sidebar-list {
  318. background-color: #131516;
  319. display: grid;
  320. grid-template-columns: minmax(0px, 400px) repeat(auto-fit, minmax(0px, 400px));
  321. }
  322. nav .sidebar-item {
  323. padding-inline: unset;
  324. }
  325. }
  326. .component-header {
  327. display: flex;
  328. justify-content: space-between;
  329. align-items: center;
  330. }
  331. .component-header h2 {
  332. margin: 0;
  333. display: inline-block;
  334. }
  335. .container {
  336. max-width: 1200px;
  337. margin-inline: auto;
  338. padding-inline: 4px;
  339. scroll-margin-top: 71px;
  340. }
  341. @media (min-width: 440px) {
  342. .container {
  343. padding-inline: 10px;
  344. }
  345. }
  346. .error.container {
  347. text-align: center;
  348. }
  349. .artwork-container-header {
  350. display: flex;
  351. flex-wrap: wrap;
  352. align-items: center;
  353. justify-content: space-between;
  354. }
  355. .artwork-container {
  356. display: grid;
  357. grid-template-columns: repeat(auto-fit, minmax(199px, 1fr));
  358. align-items: center;
  359. justify-items: center;
  360. }
  361. .artwork-container-scroll {
  362. display: flex;
  363. overflow: hidden;
  364. overflow-x: scroll;
  365. }
  366. .artwork-container a,
  367. .artwork-container-scroll a {
  368. text-decoration: none;
  369. color: #fff;
  370. }
  371. .artwork-container .artwork-large img,
  372. .artwork-container-scroll .artwork-large img {
  373. width: 288px;
  374. height: 288px;
  375. }
  376. .artwork-container .artwork-large .artwork-title,
  377. .artwork-container-scroll .artwork-large .artwork-title {
  378. max-width: 288px;
  379. }
  380. .artwork-container .artwork-large .artwork-author,
  381. .artwork-container-scroll .artwork-large .artwork-author {
  382. max-width: 288px;
  383. }
  384. .artwork-container .artwork-large .artwork-author a,
  385. .artwork-container-scroll .artwork-large .artwork-author a {
  386. max-width: 184px;
  387. }
  388. .artwork-container .artwork-small img,
  389. .artwork-container-scroll .artwork-small img {
  390. width: 184px;
  391. height: 184px;
  392. }
  393. .artwork-container .artwork-small .artwork-title,
  394. .artwork-container-scroll .artwork-small .artwork-title {
  395. max-width: 184px;
  396. }
  397. .artwork-container .artwork-small .artwork-author,
  398. .artwork-container-scroll .artwork-small .artwork-author {
  399. max-width: 184px;
  400. }
  401. .artwork-container .artwork-small .artwork-author a,
  402. .artwork-container-scroll .artwork-small .artwork-author a {
  403. max-width: 184px;
  404. }
  405. .artwork-container .artwork,
  406. .artwork-container-scroll .artwork {
  407. padding: 5px;
  408. width: fit-content;
  409. position: relative;
  410. }
  411. .artwork-container .artwork .artwork-additional,
  412. .artwork-container-scroll .artwork .artwork-additional {
  413. position: absolute;
  414. top: 4px;
  415. left: 4px;
  416. right: 4px;
  417. box-sizing: border-box;
  418. display: flex;
  419. align-items: flex-start;
  420. justify-content: space-between;
  421. padding: 4px 4px 0px;
  422. pointer-events: none;
  423. }
  424. .artwork-container .artwork .artwork-additional .artwork-position,
  425. .artwork-container-scroll .artwork .artwork-additional .artwork-position {
  426. display: flex;
  427. align-items: center;
  428. justify-content: center;
  429. border-radius: 50%;
  430. font-weight: bold;
  431. width: 40px;
  432. height: 40px;
  433. font-size: 16px;
  434. background-color: rgba(0, 0, 0, 0.32);
  435. }
  436. .artwork-container .artwork .artwork-additional .artwork-profanity-label,
  437. .artwork-container-scroll .artwork .artwork-additional .artwork-profanity-label {
  438. display: flex;
  439. align-items: center;
  440. justify-content: center;
  441. font-size: 10px;
  442. border-radius: 20px;
  443. padding: 0.4rem;
  444. background-color: #fc365b;
  445. color: #fff;
  446. }
  447. .artwork-container .artwork .artwork-additional .artwork-page-count,
  448. .artwork-container-scroll .artwork .artwork-additional .artwork-page-count {
  449. display: flex;
  450. justify-content: center;
  451. align-items: center;
  452. flex: 0 0 auto;
  453. box-sizing: border-box;
  454. height: 20px;
  455. min-width: 20px;
  456. color: #fff;
  457. font-weight: bold;
  458. padding: 0px 6px;
  459. background: rgba(0, 0, 0, 0.32);
  460. border-radius: 10px;
  461. font-size: 10px;
  462. line-height: 10px;
  463. }
  464. .artwork-container .artwork .artwork-additional .artwork-page-count .boxbox,
  465. .artwork-container-scroll .artwork .artwork-additional .artwork-page-count .boxbox {
  466. font-size: 9px;
  467. }
  468. .artwork-container .artwork img,
  469. .artwork-container-scroll .artwork img {
  470. object-fit: cover;
  471. object-position: center center;
  472. border-radius: 5px;
  473. }
  474. .artwork-container .artwork .artwork-title,
  475. .artwork-container-scroll .artwork .artwork-title {
  476. display: flex;
  477. align-items: center;
  478. }
  479. .artwork-container .artwork .artwork-title a,
  480. .artwork-container-scroll .artwork .artwork-title a {
  481. font-size: 14px;
  482. display: inline;
  483. overflow: hidden;
  484. text-overflow: ellipsis;
  485. white-space: nowrap;
  486. line-height: 22px;
  487. font-weight: bold;
  488. }
  489. .artwork-container .artwork .artwork-author,
  490. .artwork-container-scroll .artwork .artwork-author {
  491. display: flex;
  492. align-items: center;
  493. }
  494. .artwork-container .artwork .artwork-author a,
  495. .artwork-container-scroll .artwork .artwork-author a {
  496. display: flex;
  497. align-items: center;
  498. }
  499. .artwork-container .artwork .artwork-author a img,
  500. .artwork-container-scroll .artwork .artwork-author a img {
  501. aspect-ratio: 1/1;
  502. width: 24px;
  503. height: 24px;
  504. object-fit: cover;
  505. object-position: center top;
  506. border-radius: 50%;
  507. margin-right: 5px;
  508. }
  509. .artwork-container .artwork .artwork-author a span,
  510. .artwork-container-scroll .artwork .artwork-author a span {
  511. font-size: 14px;
  512. overflow: hidden;
  513. text-overflow: ellipsis;
  514. white-space: nowrap;
  515. line-height: 22px;
  516. }
  517. /* Brought out here because both artworks and novels needed this */
  518. .illust-tags {
  519. font-size: 0.9em;
  520. }
  521. .illust-tags .illust-tag-attr {
  522. display: inline-flex;
  523. align-items: center;
  524. margin-right: 15px;
  525. }
  526. .illust-tags .illust-tag-attr img {
  527. aspect-ratio: 1/1;
  528. width: 18px;
  529. height: 18px;
  530. margin-right: 5px;
  531. }
  532. .illust-tags .illust-tag {
  533. margin-right: 10px;
  534. }
  535. .illust-tags .illust-tag #highlight {
  536. color: #fc365b;
  537. }
  538. .illust-tags .illust-tag .illust-tag-name {
  539. color: #118bee;
  540. font-weight: bold;
  541. margin-right: 5px;
  542. }
  543. .illust {
  544. background-color: #222;
  545. border-radius: 5px;
  546. padding: 5px 15px;
  547. }
  548. .illust .illust-images {
  549. display: flex;
  550. align-items: center;
  551. flex-direction: column;
  552. width: 100%;
  553. }
  554. .illust .illust-images img {
  555. margin-top: 15px;
  556. max-height: 1000px;
  557. width: auto;
  558. max-width: 100%;
  559. }
  560. .illust .illust-attr {
  561. display: flex;
  562. align-items: center;
  563. margin-top: 10px;
  564. margin-bottom: 10px;
  565. }
  566. .illust .illust-attr .illust-avatar {
  567. width: 62px;
  568. height: 62px;
  569. border-radius: 50px;
  570. }
  571. .illust .illust-attr .attr-wrap {
  572. margin-left: 5px;
  573. }
  574. .illust .illust-attr .attr-wrap .illust-title {
  575. font-weight: bold;
  576. }
  577. .illust .illust-attr .attr-wrap .illust-author {
  578. font-size: 0.8em;
  579. }
  580. .illust .illust-attr .attr-wrap .illust-author a {
  581. color: #aaa;
  582. }
  583. .illust .illust-description {
  584. font-size: 0.85em;
  585. }
  586. .illust .comment {
  587. display: flex;
  588. margin-bottom: 10px;
  589. }
  590. .illust .comment p {
  591. margin: 0;
  592. font-size: 0.8em;
  593. }
  594. .illust .comment .comment-avatar {
  595. width: 40px;
  596. height: 40px;
  597. border-radius: 50%;
  598. margin-right: 10px;
  599. }
  600. .illust .comment .stamp {
  601. width: 96px;
  602. height: 96px;
  603. border-radius: 4px;
  604. }
  605. .illust .comment .emoji {
  606. width: 24px;
  607. height: 24px;
  608. margin-left: 3px;
  609. margin-right: 3px;
  610. }
  611. .illust .illust-other-works a.illust-other-works-author {
  612. display: inline-flex;
  613. align-items: center;
  614. text-decoration: none;
  615. color: #fff;
  616. }
  617. .illust .illust-other-works a.illust-other-works-author > img {
  618. aspect-ratio: 1/1;
  619. width: 50px;
  620. height: 50px;
  621. border-radius: 50%;
  622. margin-right: 5px;
  623. }
  624. .novel-container {
  625. display: grid;
  626. grid-template-columns: repeat(auto-fit, minmax(407px, 1fr));
  627. justify-content: center;
  628. }
  629. .novel-card {
  630. font-size: 1.5rem;
  631. padding: 5px 15px;
  632. padding-top: 1em;
  633. }
  634. .novel-card .novel-detail {
  635. display: flex;
  636. }
  637. .novel-card .novel-detail .novel-author {
  638. display: flex;
  639. align-items: center;
  640. font-size: 0.8em;
  641. }
  642. .novel-card .novel-detail .novel-author img {
  643. width: 16px;
  644. height: 16px;
  645. border-radius: 50%;
  646. }
  647. .novel-card .novel-detail .novel-author span {
  648. color: #fff;
  649. display: inline-block;
  650. margin-left: 5px;
  651. }
  652. .novel-card .novel-detail .novel-metadata {
  653. margin-left: 1.5rem;
  654. }
  655. .novel-card .novel-detail .novel-metadata .novel-title {
  656. color: #fff;
  657. font-size: 1.17em;
  658. font-weight: bold;
  659. overflow: hidden;
  660. overflow-wrap: break-word;
  661. word-break: break-word;
  662. text-overflow: ellipsis;
  663. width: 100%;
  664. display: -webkit-box;
  665. -webkit-line-clamp: 2;
  666. -webkit-box-orient: vertical;
  667. }
  668. .novel-card .novel-detail .novel-metadata .novel-description {
  669. font-size: 0.85em;
  670. overflow: hidden;
  671. overflow-wrap: break-word;
  672. word-break: break-word;
  673. text-overflow: ellipsis;
  674. width: 100%;
  675. display: -webkit-box;
  676. -webkit-line-clamp: 4;
  677. -webkit-box-orient: vertical;
  678. }
  679. .novel-card .novel-cover img {
  680. /* warning: hard-coded values */
  681. width: 136px;
  682. height: 191px;
  683. object-fit: cover;
  684. object-position: center center;
  685. }
  686. .novel-card .novel-content {
  687. margin: 1.2rem 0;
  688. line-height: 1.8;
  689. color: black;
  690. background-color: white;
  691. }
  692. .novel {
  693. background-color: #222;
  694. border-radius: 5px;
  695. padding: 5px 15px;
  696. padding-top: 1em;
  697. }
  698. .novel .novel-detail {
  699. display: flex;
  700. }
  701. .novel .novel-detail .novel-metadata {
  702. margin-left: 1.5rem;
  703. }
  704. .novel .novel-detail .novel-metadata .novel-title {
  705. font-size: 1.17em;
  706. font-weight: bold;
  707. }
  708. .novel .novel-detail .novel-metadata .novel-description {
  709. font-size: 0.85em;
  710. }
  711. .novel .novel-cover img {
  712. /* warning: hard-coded values */
  713. width: 136px;
  714. height: 191px;
  715. object-fit: cover;
  716. object-position: center center;
  717. }
  718. .novel .novel-content {
  719. margin: 1.2rem 0;
  720. padding: 6.4rem 10rem;
  721. line-height: 1.8;
  722. color: black;
  723. background-color: white;
  724. }
  725. .background-cover {
  726. 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);
  727. height: 10vw;
  728. min-height: 100px;
  729. overflow: hidden;
  730. padding-top: 10px;
  731. padding-bottom: 10px;
  732. }
  733. .background-cover img {
  734. width: 100%;
  735. height: 100%;
  736. object-fit: cover;
  737. }
  738. #hasbg {
  739. height: 40vw;
  740. min-height: 100px;
  741. max-height: 60vh;
  742. }
  743. .user {
  744. transform: translateY(-8rem);
  745. }
  746. .user .user-avatar {
  747. text-align: center;
  748. }
  749. .user .user-avatar img {
  750. aspect-ratio: 1/1;
  751. width: 170px;
  752. height: 170px;
  753. border-radius: 50%;
  754. }
  755. .user .user-social {
  756. text-align: center;
  757. }
  758. .user .user-social img {
  759. aspect-ratio: 1/1;
  760. width: 36px;
  761. height: 36px;
  762. }
  763. .user .user-details {
  764. text-align: center;
  765. }
  766. .user .user-details h2 {
  767. margin: 0;
  768. }
  769. .user-tags {
  770. display: flex;
  771. flex-wrap: wrap;
  772. row-gap: 8px;
  773. column-gap: 1em;
  774. margin-block: 4px 20px;
  775. }
  776. .user-tags > a {
  777. line-height: 1;
  778. }
  779. .user-tags > a:hover {
  780. text-decoration: underline;
  781. }
  782. #calendar {
  783. width: 100%;
  784. height: auto;
  785. }
  786. .calendar-weeks,
  787. .calendar-board {
  788. max-width: 1000px;
  789. margin: 0 auto;
  790. display: flex;
  791. flex-wrap: wrap;
  792. gap: 5px;
  793. }
  794. .calendar-weeks div {
  795. width: 128px;
  796. text-align: center;
  797. }
  798. .calendar-node {
  799. width: 128px;
  800. height: 128px;
  801. border-radius: 8px;
  802. background-color: #222;
  803. position: relative;
  804. }
  805. .calendar-node img {
  806. border-radius: 8px;
  807. object-fit: cover;
  808. object-position: center center;
  809. }
  810. .calendar-node span {
  811. font-size: small;
  812. color: #fff;
  813. background-color: #222;
  814. position: absolute;
  815. top: 0.3rem;
  816. left: 0.3rem;
  817. padding: 0.05rem 0.3rem;
  818. display: flex;
  819. align-items: center;
  820. justify-content: center;
  821. }
  822. @media screen and (max-width: 950px) {
  823. .calendar-board {
  824. justify-content: center;
  825. }
  826. .calendar-weeks,
  827. .calendar-node-empty {
  828. display: none;
  829. }
  830. }
  831. .tag-header {
  832. display: flex;
  833. }
  834. .tag-header .tag-thumbnail {
  835. width: 120px;
  836. height: 120px;
  837. border-radius: 5px;
  838. margin-right: 20px;
  839. object-fit: cover;
  840. object-position: center center;
  841. }
  842. .tag-header .tag-details .main-tag {
  843. font-size: 1.6rem;
  844. }
  845. .tag-container {
  846. background-color: #222;
  847. display: inline-flex;
  848. align-items: center;
  849. justify-content: center;
  850. padding-left: 20px;
  851. padding-right: 20px;
  852. margin-right: 10px;
  853. width: max-content;
  854. height: 40px;
  855. margin-bottom: 4px;
  856. text-align: center;
  857. font-weight: bold;
  858. font-size: 1rem;
  859. border-radius: 4px;
  860. }
  861. .tag-container .main {
  862. font-size: 1.6em;
  863. }
  864. .tag-container .sub {
  865. font-size: 1.2em;
  866. font-weight: normal;
  867. }
  868. /*# sourceMappingURL=style.css.map */