style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  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. margin-left: 5px;
  13. margin-right: 5px;
  14. }
  15. a {
  16. color: #118bee;
  17. text-decoration: none;
  18. }
  19. /* Scrollbars */
  20. * {
  21. scrollbar-width: thin;
  22. scrollbar-color: #118bee auto;
  23. }
  24. *::-webkit-scrollbar {
  25. width: 5px;
  26. height: 5px;
  27. }
  28. *::-webkit-scrollbar-track {
  29. background: transparent;
  30. }
  31. *::-webkit-scrollbar-thumb {
  32. background-color: #118bee;
  33. border-radius: 10px;
  34. }
  35. .special-symbol {
  36. display: inline-flex;
  37. align-items: center;
  38. justify-content: center;
  39. width: 1.8rem;
  40. height: 1.8rem;
  41. font-size: 1.8rem;
  42. }
  43. [hidden] {
  44. display: none;
  45. }
  46. input,
  47. label,
  48. select,
  49. textarea {
  50. display: block;
  51. font-size: inherit;
  52. max-width: 600px;
  53. }
  54. input[type=checkbox],
  55. input[type=radio] {
  56. display: inline-block;
  57. }
  58. input[type=checkbox] + label,
  59. input[type=radio] + label {
  60. display: inline-block;
  61. font-weight: normal;
  62. position: relative;
  63. top: 1px;
  64. }
  65. input[type=range] {
  66. padding: 0.4rem 0;
  67. }
  68. input,
  69. select,
  70. textarea {
  71. border: 1px solid #222;
  72. border-radius: 5px;
  73. margin-bottom: 1rem;
  74. padding: 0.4rem 0.8rem;
  75. }
  76. input[type=text],
  77. textarea {
  78. width: calc(100% - 1.6rem);
  79. background-color: #222;
  80. color: #aaa;
  81. }
  82. input[readonly],
  83. textarea[readonly] {
  84. background-color: #222;
  85. }
  86. label {
  87. font-weight: bold;
  88. margin-bottom: 0.2rem;
  89. }
  90. .form-field {
  91. border: 1px solid #222;
  92. border-radius: 5px;
  93. box-shadow: 2px 2px 10px rgba(187, 187, 187, 0.1254901961);
  94. display: block;
  95. max-width: 800px;
  96. min-width: 460px;
  97. padding: 1.5rem;
  98. }
  99. .form-field header {
  100. margin: 1.5rem 0;
  101. padding: 1.5rem 0;
  102. }
  103. a b,
  104. a em,
  105. a i,
  106. a strong,
  107. button,
  108. input[type=submit],
  109. .switch-button,
  110. .pagination-button {
  111. border-radius: 5px;
  112. display: inline-block;
  113. font-size: medium;
  114. font-weight: bold;
  115. line-height: 1.5;
  116. margin: 0.5rem 0;
  117. padding: 0.5rem 1rem;
  118. }
  119. button,
  120. input[type=submit],
  121. .switch-button,
  122. .pagination-button {
  123. font-family: "Roboto", "Open Sans", "Noto Sans", sans-serif, "Noto Sans CJK JP";
  124. }
  125. button:active,
  126. input[type=submit]:active,
  127. .switch-button:active,
  128. .pagination-button:active {
  129. filter: brightness(0.85);
  130. }
  131. button:hover,
  132. input[type=submit]:hover,
  133. .switch-button:hover,
  134. .pagination-button:hover {
  135. cursor: pointer;
  136. filter: brightness(1.2);
  137. }
  138. a b,
  139. a strong,
  140. button,
  141. input[type=submit],
  142. .switch-button,
  143. .pagination-button {
  144. background-color: #118bee;
  145. border: 2px solid #118bee;
  146. color: #fff;
  147. }
  148. input[type=submit][hidden] {
  149. display: none;
  150. }
  151. .switch-seperator {
  152. display: inline-block;
  153. margin-left: 10px;
  154. }
  155. .pagination {
  156. text-align: center;
  157. }
  158. .pagination .pagination-button {
  159. margin-right: 5px;
  160. }
  161. .pagination #highlight {
  162. filter: brightness(1.2);
  163. }
  164. .pagination #disabled {
  165. pointer-events: none;
  166. background-color: #222;
  167. filter: brightness(1);
  168. }
  169. nav {
  170. margin-top: 15px;
  171. margin-bottom: 15px;
  172. margin-left: 20px;
  173. margin-right: 20px;
  174. }
  175. nav .navigation-wrapper {
  176. display: flex;
  177. justify-content: space-between;
  178. align-items: center;
  179. width: auto;
  180. }
  181. nav .navigation-wrapper .navbar-brand {
  182. display: inline-flex;
  183. gap: 10px;
  184. }
  185. nav .navigation-wrapper .navbar-brand span {
  186. font-weight: bold;
  187. font-size: 1.3em;
  188. color: #fff;
  189. }
  190. nav .navigation-wrapper .navbar-entry img {
  191. width: 30px;
  192. height: 30px;
  193. }
  194. nav .navigation-wrapper .search-form input {
  195. margin: 0;
  196. }
  197. nav .navigation-wrapper .sidebar-toggler {
  198. display: none;
  199. }
  200. nav .navigation-wrapper .sidebar-toggler:checked ~ .sidebar {
  201. transform: translateX(0);
  202. }
  203. nav .navigation-wrapper .sidebar-label {
  204. margin-right: 9px;
  205. cursor: pointer;
  206. }
  207. nav .navigation-wrapper .sidebar {
  208. background-color: #131516;
  209. position: absolute;
  210. padding-top: 6px;
  211. left: 0;
  212. width: 220px;
  213. transform: translateX(-220px);
  214. transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1);
  215. z-index: 999;
  216. }
  217. nav .navigation-wrapper .sidebar br {
  218. align-self: stretch;
  219. margin-top: 10px;
  220. }
  221. nav .navigation-wrapper .sidebar .sidebar-list {
  222. list-style-type: none;
  223. margin: 0;
  224. padding: 0;
  225. }
  226. nav .navigation-wrapper .sidebar .sidebar-list .sidebar-item {
  227. display: flex;
  228. align-items: center;
  229. list-style: none;
  230. color: #fff;
  231. font-size: 0.9em;
  232. text-decoration: none;
  233. padding: 10px;
  234. }
  235. nav .navigation-wrapper .sidebar .sidebar-list .sidebar-item:hover {
  236. background-color: #222;
  237. }
  238. nav .navigation-wrapper .sidebar .sidebar-list .sidebar-item img {
  239. width: 30px;
  240. height: 30px;
  241. margin-left: 1.2rem;
  242. margin-right: 10px;
  243. }
  244. @media screen and (max-width: 600px) {
  245. nav .search-form {
  246. display: none;
  247. }
  248. }
  249. .component-header {
  250. display: flex;
  251. justify-content: space-between;
  252. align-items: center;
  253. }
  254. .component-header h2 {
  255. margin: 0;
  256. display: inline-block;
  257. }
  258. .container {
  259. max-width: 1200px;
  260. margin-left: auto;
  261. margin-right: auto;
  262. padding-left: 10px;
  263. padding-right: 10px;
  264. }
  265. .artwork-container {
  266. display: grid;
  267. grid-template-columns: repeat(auto-fit, minmax(199px, 1fr));
  268. align-items: center;
  269. justify-items: center;
  270. }
  271. .artwork-container-scroll {
  272. display: flex;
  273. overflow: hidden;
  274. overflow-x: scroll;
  275. }
  276. .artwork-container a,
  277. .artwork-container-scroll a {
  278. text-decoration: none;
  279. color: #fff;
  280. }
  281. .artwork-container .artwork-large img,
  282. .artwork-container-scroll .artwork-large img {
  283. width: 288px;
  284. height: 288px;
  285. }
  286. .artwork-container .artwork-large .artwork-title,
  287. .artwork-container-scroll .artwork-large .artwork-title {
  288. max-width: 288px;
  289. }
  290. .artwork-container .artwork-large .artwork-author,
  291. .artwork-container-scroll .artwork-large .artwork-author {
  292. max-width: 288px;
  293. }
  294. .artwork-container .artwork-large .artwork-author a,
  295. .artwork-container-scroll .artwork-large .artwork-author a {
  296. max-width: 184px;
  297. }
  298. .artwork-container .artwork-small img,
  299. .artwork-container-scroll .artwork-small img {
  300. width: 184px;
  301. height: 184px;
  302. }
  303. .artwork-container .artwork-small .artwork-title,
  304. .artwork-container-scroll .artwork-small .artwork-title {
  305. max-width: 184px;
  306. }
  307. .artwork-container .artwork-small .artwork-author,
  308. .artwork-container-scroll .artwork-small .artwork-author {
  309. max-width: 184px;
  310. }
  311. .artwork-container .artwork-small .artwork-author a,
  312. .artwork-container-scroll .artwork-small .artwork-author a {
  313. max-width: 184px;
  314. }
  315. .artwork-container .artwork,
  316. .artwork-container-scroll .artwork {
  317. padding: 5px;
  318. width: fit-content;
  319. position: relative;
  320. }
  321. .artwork-container .artwork .artwork-additional,
  322. .artwork-container-scroll .artwork .artwork-additional {
  323. position: absolute;
  324. top: 4px;
  325. left: 4px;
  326. right: 4px;
  327. box-sizing: border-box;
  328. display: flex;
  329. align-items: flex-start;
  330. justify-content: space-between;
  331. padding: 4px 4px 0px;
  332. pointer-events: none;
  333. }
  334. .artwork-container .artwork .artwork-additional .artwork-position,
  335. .artwork-container-scroll .artwork .artwork-additional .artwork-position {
  336. display: flex;
  337. align-items: center;
  338. justify-content: center;
  339. border-radius: 50%;
  340. font-weight: bold;
  341. width: 40px;
  342. height: 40px;
  343. font-size: 16px;
  344. background-color: rgba(0, 0, 0, 0.32);
  345. }
  346. .artwork-container .artwork .artwork-additional .artwork-profanity-label,
  347. .artwork-container-scroll .artwork .artwork-additional .artwork-profanity-label {
  348. display: flex;
  349. align-items: center;
  350. justify-content: center;
  351. font-size: 10px;
  352. border-radius: 20px;
  353. padding: 0.4rem;
  354. background-color: #fc365b;
  355. color: #fff;
  356. }
  357. .artwork-container .artwork .artwork-additional .artwork-page-count,
  358. .artwork-container-scroll .artwork .artwork-additional .artwork-page-count {
  359. display: flex;
  360. justify-content: center;
  361. align-items: center;
  362. flex: 0 0 auto;
  363. box-sizing: border-box;
  364. height: 20px;
  365. min-width: 20px;
  366. color: #fff;
  367. font-weight: bold;
  368. padding: 0px 6px;
  369. background: rgba(0, 0, 0, 0.32);
  370. border-radius: 10px;
  371. font-size: 10px;
  372. line-height: 10px;
  373. }
  374. .artwork-container .artwork .artwork-additional .artwork-page-count .boxbox,
  375. .artwork-container-scroll .artwork .artwork-additional .artwork-page-count .boxbox {
  376. font-size: 9px;
  377. }
  378. .artwork-container .artwork img,
  379. .artwork-container-scroll .artwork img {
  380. object-fit: cover;
  381. object-position: center center;
  382. border-radius: 5px;
  383. }
  384. .artwork-container .artwork .artwork-title,
  385. .artwork-container-scroll .artwork .artwork-title {
  386. display: flex;
  387. align-items: center;
  388. }
  389. .artwork-container .artwork .artwork-title a,
  390. .artwork-container-scroll .artwork .artwork-title a {
  391. font-size: 14px;
  392. display: inline;
  393. overflow: hidden;
  394. text-overflow: ellipsis;
  395. white-space: nowrap;
  396. line-height: 22px;
  397. font-weight: bold;
  398. }
  399. .artwork-container .artwork .artwork-author,
  400. .artwork-container-scroll .artwork .artwork-author {
  401. display: flex;
  402. align-items: center;
  403. }
  404. .artwork-container .artwork .artwork-author a,
  405. .artwork-container-scroll .artwork .artwork-author a {
  406. display: flex;
  407. align-items: center;
  408. }
  409. .artwork-container .artwork .artwork-author a img,
  410. .artwork-container-scroll .artwork .artwork-author a img {
  411. aspect-ratio: 1/1;
  412. width: 24px;
  413. height: 24px;
  414. object-fit: cover;
  415. object-position: center top;
  416. border-radius: 50%;
  417. margin-right: 5px;
  418. }
  419. .artwork-container .artwork .artwork-author a span,
  420. .artwork-container-scroll .artwork .artwork-author a span {
  421. font-size: 14px;
  422. overflow: hidden;
  423. text-overflow: ellipsis;
  424. white-space: nowrap;
  425. line-height: 22px;
  426. }
  427. .illust {
  428. background-color: #222;
  429. border-radius: 5px;
  430. padding: 5px 15px;
  431. }
  432. .illust .illust-images {
  433. display: flex;
  434. align-items: center;
  435. flex-direction: column;
  436. width: 100%;
  437. }
  438. .illust .illust-images img {
  439. margin-top: 15px;
  440. max-height: 1000px;
  441. width: auto;
  442. max-width: 100%;
  443. }
  444. .illust .illust-attr {
  445. display: flex;
  446. align-items: center;
  447. margin-top: 10px;
  448. margin-bottom: 10px;
  449. }
  450. .illust .illust-attr .illust-avatar {
  451. width: 62px;
  452. height: 62px;
  453. border-radius: 50px;
  454. }
  455. .illust .illust-attr .attr-wrap {
  456. margin-left: 5px;
  457. }
  458. .illust .illust-attr .attr-wrap .illust-title {
  459. font-weight: bold;
  460. }
  461. .illust .illust-attr .attr-wrap .illust-author {
  462. font-size: 0.8em;
  463. }
  464. .illust .illust-attr .attr-wrap .illust-author a {
  465. color: #aaa;
  466. }
  467. .illust .illust-description {
  468. font-size: 0.85em;
  469. }
  470. .illust .illust-tags {
  471. font-size: 0.9em;
  472. }
  473. .illust .illust-tags .illust-tag-attr {
  474. display: inline-flex;
  475. align-items: center;
  476. margin-right: 15px;
  477. }
  478. .illust .illust-tags .illust-tag-attr img {
  479. aspect-ratio: 1/1;
  480. width: 18px;
  481. height: 18px;
  482. margin-right: 5px;
  483. }
  484. .illust .illust-tags .illust-tag {
  485. margin-right: 10px;
  486. }
  487. .illust .illust-tags .illust-tag #highlight {
  488. color: #fc365b;
  489. }
  490. .illust .illust-tags .illust-tag .illust-tag-name {
  491. color: #118bee;
  492. font-weight: bold;
  493. margin-right: 5px;
  494. }
  495. .illust .comment {
  496. display: flex;
  497. margin-bottom: 10px;
  498. }
  499. .illust .comment p {
  500. margin: 0;
  501. font-size: 0.8em;
  502. }
  503. .illust .comment .comment-avatar {
  504. width: 40px;
  505. height: 40px;
  506. border-radius: 50%;
  507. margin-right: 10px;
  508. }
  509. .illust .comment .stamp {
  510. width: 96px;
  511. height: 96px;
  512. border-radius: 4px;
  513. }
  514. .illust .comment .emoji {
  515. width: 24px;
  516. height: 24px;
  517. margin-left: 3px;
  518. margin-right: 3px;
  519. }
  520. .illust .illust-other-works > a {
  521. display: inline-flex;
  522. align-items: center;
  523. text-decoration: none;
  524. color: #fff;
  525. }
  526. .illust .illust-other-works > a > img {
  527. aspect-ratio: 1/1;
  528. width: 50px;
  529. height: 50px;
  530. border-radius: 50%;
  531. margin-right: 5px;
  532. }
  533. .background-cover {
  534. 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);
  535. height: 10vw;
  536. min-height: 100px;
  537. overflow: hidden;
  538. padding-top: 10px;
  539. padding-bottom: 10px;
  540. }
  541. .background-cover img {
  542. width: 100%;
  543. height: 100%;
  544. object-fit: cover;
  545. }
  546. #hasbg {
  547. height: 40vw;
  548. min-height: 100px;
  549. max-height: 60vh;
  550. }
  551. .user {
  552. transform: translateY(-8rem);
  553. }
  554. .user .user-avatar {
  555. margin: auto;
  556. aspect-ratio: 1/1;
  557. width: 170px;
  558. height: 170px;
  559. }
  560. .user .user-avatar img {
  561. border-radius: 50%;
  562. }
  563. .user .user-social {
  564. text-align: center;
  565. }
  566. .user .user-social img {
  567. aspect-ratio: 1/1;
  568. width: 36px;
  569. height: 36px;
  570. }
  571. .user .user-details {
  572. text-align: center;
  573. }
  574. .user .user-details h2 {
  575. margin: 0;
  576. }
  577. #calendar {
  578. width: 100%;
  579. height: auto;
  580. }
  581. .calendar-weeks,
  582. .calendar-board {
  583. max-width: 1000px;
  584. margin: 0 auto;
  585. display: flex;
  586. flex-wrap: wrap;
  587. gap: 5px;
  588. }
  589. .calendar-weeks div {
  590. width: 128px;
  591. text-align: center;
  592. }
  593. .calendar-node {
  594. width: 128px;
  595. height: 128px;
  596. border-radius: 8px;
  597. background-size: cover;
  598. background-position: center;
  599. background-color: #222;
  600. position: relative;
  601. }
  602. .calendar-node span {
  603. font-size: small;
  604. color: #fff;
  605. background-color: #222;
  606. position: absolute;
  607. top: 0.3rem;
  608. left: 0.3rem;
  609. padding: 0.05rem 0.3rem;
  610. display: flex;
  611. align-items: center;
  612. justify-content: center;
  613. }
  614. @media screen and (max-width: 950px) {
  615. .calendar-board {
  616. justify-content: center;
  617. }
  618. .calendar-weeks,
  619. .calendar-node-empty {
  620. display: none;
  621. }
  622. }
  623. .tag-header {
  624. display: flex;
  625. }
  626. .tag-header .tag-thumbnail {
  627. width: 120px;
  628. height: 120px;
  629. border-radius: 5px;
  630. margin-right: 20px;
  631. object-fit: cover;
  632. object-position: center center;
  633. }
  634. .tag-header .tag-details .main-tag {
  635. font-size: 1.6rem;
  636. }
  637. .tag-container {
  638. background-color: #222;
  639. display: inline-flex;
  640. align-items: center;
  641. justify-content: center;
  642. padding-left: 20px;
  643. padding-right: 20px;
  644. margin-right: 10px;
  645. width: max-content;
  646. height: 40px;
  647. margin-bottom: 4px;
  648. text-align: center;
  649. font-weight: bold;
  650. font-size: 1rem;
  651. border-radius: 4px;
  652. }
  653. .tag-container .main {
  654. font-size: 1.6em;
  655. }
  656. .tag-container .sub {
  657. font-size: 1.2em;
  658. font-weight: normal;
  659. }
  660. /*# sourceMappingURL=style.css.map */