jk.nipponalba.scot website https://jk.nipponalba.scot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

846 lines
14 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. @charset "UTF-8";
  2. @import url('https://rsms.me/inter/inter.css');
  3. html { font-family: 'Inter', sans-serif; height:100%;}
  4. @supports (font-variation-settings: normal) {
  5. html { font-family: 'Inter var', sans-serif; }
  6. }
  7. :root {
  8. --dark-link:#59ABE3;
  9. --dark-text:#f8f8f8;
  10. --dark-bg:#2b2b2b;
  11. --dark-opacity: 0.75;
  12. --light-text:#2b2b2b;
  13. --light-bg:#f8f8f8;
  14. --light-link:#0065BF;
  15. --light-opacity:1;
  16. --text-colour: var(--dark-text);
  17. --bg-colour: var(--dark-bg);
  18. --link-colour: var(--dark-link);
  19. --opacity-img: var(--dark-opacity);
  20. }
  21. @media (prefers-color-scheme: light) {
  22. --text-colour: var(--light-text);
  23. --bg-colour: var(--light-bg);
  24. --link-colour: var(--light-link);
  25. --opacity-img: var(--light-opacity);
  26. }
  27. [data-theme="light"]{
  28. --text-colour: var(--light-text);
  29. --bg-colour: var(--light-bg);
  30. --link-colour: var(--light-link);
  31. --opacity-img: var(--light-opacity);
  32. }
  33. /* Switched mode */
  34. .theme-switch:checked ~ *,
  35. .theme-switch:checked + *,
  36. .theme-switch:checked + * + *{
  37. --text-colour:var(--light-text);
  38. --bg-colour:var(--light-bg);
  39. --link-colour:var(--light-link);
  40. --opacity-img: var(--light-opacity);
  41. }
  42. .theme-switch{
  43. display:none;
  44. }
  45. .light{
  46. display:inline;
  47. float:right;
  48. color:var(--text-colour);
  49. }
  50. html {
  51. -webkit-animation-fill-mode: forwards;
  52. }
  53. body {
  54. color: var(--text-colour);
  55. font-size: 15px;
  56. width: 100%;
  57. margin: 0 auto 30px auto;
  58. background: var(--bg-colour);
  59. }
  60. #page{
  61. display:block;
  62. height:100%;
  63. color: var(--text-colour);
  64. background: var(--bg-colour);
  65. }
  66. .main, .content {
  67. background: var(--bg-colour);
  68. color: var(--text-colour);
  69. height:95%;
  70. display:block;
  71. }
  72. p {
  73. line-height: 1.9em;
  74. font-weight: 400;
  75. font-size: 14px;
  76. }
  77. a {
  78. text-decoration: none;
  79. }
  80. img {
  81. opacity: var(--opacity-img);
  82. transition: opacity .5s ease-in-out;
  83. }
  84. img:hover {
  85. opacity: 1
  86. }
  87. .category {
  88. padding: 4px 6px;
  89. border-radius: 3px;
  90. border: 1px solid var(--text-colour);
  91. }
  92. .blog {
  93. padding: 4px 6px;
  94. border-radius: 3px;
  95. background: var(--link-colour);
  96. border: 1px solid var(--text-colour);
  97. }
  98. .tag::before {
  99. content: "#";
  100. opacity: .75;
  101. }
  102. .tag, .category {
  103. display: inline-block;
  104. font-size: 15px;
  105. line-height: 1;
  106. margin: 5px 8px 5px 0;
  107. }
  108. pre {
  109. background: var(--bg-colour);
  110. padding: 5px;
  111. }
  112. .info i{
  113. opacity: 0.5;
  114. margin-right: 5px;
  115. }
  116. .index_info i{
  117. opacity: 0.5;
  118. }
  119. a:link, a:visited {
  120. opacity: 1;
  121. -webkit-transition: all .15s linear;
  122. -moz-transition: all .15s linear;
  123. -o-transition: all .15s linear;
  124. -ms-transition: all .15s linear;
  125. transition: all .15s linear;
  126. color: var(--text-colour);
  127. }
  128. a:hover, a:active {
  129. color: var(--link-colour);
  130. }
  131. .content {
  132. background: var(--bg-colour);
  133. position:fixed;
  134. left:30%;
  135. height: 100%;
  136. float: right;
  137. width: 80%;
  138. margin-top: 60px;
  139. overflow:auto;
  140. -ms-overflow-style:none;
  141. }
  142. .content::-webkit-scrollbar{
  143. display:none;
  144. }
  145. .page-top {
  146. width: 70%;
  147. position: fixed;
  148. right: 0;
  149. z-index: 3;
  150. height: 60px;
  151. border-bottom: 1px solid var(--text-colour);
  152. background: var(--bg-colour);
  153. }
  154. .page-top .nav {
  155. width:95%;
  156. list-style: none;
  157. padding: 18px 30px;
  158. float: left;
  159. font-size: 14px;
  160. display:inline-block;
  161. }
  162. .page-top .nav li{
  163. position: relative;
  164. display: initial;
  165. padding-right: 20px;
  166. }
  167. .page-top .nav a {
  168. color: var(--text-colour);
  169. }
  170. .page-top .nav a:hover {
  171. color: var(--link-colour);
  172. }
  173. .page-top .language-selector {
  174. position:relative;
  175. display:inline;
  176. float:right;
  177. vertical-align:top;
  178. }
  179. .page-top .language-selector ul{
  180. list-style:none;
  181. padding:0;
  182. margin:0;
  183. display:inline;
  184. }
  185. .page-top .language-selector li{
  186. vertical-align:top;
  187. margin:0;
  188. padding:0;
  189. padding-bottom:22px;
  190. }
  191. .page-top .language-selector i{
  192. vertical-align:top;
  193. display:inline;
  194. padding:0px 10px;
  195. }
  196. .page-top .language-selector label{
  197. margin:0px;
  198. padding:0px;
  199. display:inline;
  200. }
  201. .sidebar {
  202. width: 30%;
  203. background: var(--bg-colour);
  204. -webkit-background-size: cover;
  205. background-size: cover;
  206. height: 100%;
  207. top: 0;
  208. left: 0;
  209. position: fixed;
  210. z-index: 4;
  211. border-right: 1px solid var(--text-colour);
  212. }
  213. .sidebar #logo{
  214. max-width: 300px;
  215. width: 80%;
  216. margin: 0 auto;
  217. display:block;
  218. padding: 10px;
  219. }
  220. .sidebar img.u-photo{
  221. width:150px;
  222. border-radius: 50%;
  223. }
  224. .sidebar .logo-title {
  225. text-align: center;
  226. padding-top: 240px;
  227. }
  228. .sidebar .logo-title .description {
  229. font-size: 14px;
  230. width: 60%;
  231. margin: 0 auto;
  232. color: var(--text-colour);
  233. padding-bottom:10px;
  234. }
  235. .sidebar .logo-title .logo {
  236. margin: 0 auto;
  237. }
  238. .sidebar .logo-title .title h3 {
  239. text-transform: uppercase;
  240. font-size: 2rem;
  241. font-weight: bold;
  242. letter-spacing: 2px;
  243. line-height: 1;
  244. margin: 1em;
  245. }
  246. .sidebar .logo-title .title a {
  247. text-decoration: none;
  248. color: var(--text-colour);
  249. font-size: 2rem;
  250. font-weight: bold;
  251. }
  252. .sidebar .social-links {
  253. list-style: none;
  254. padding: 0;
  255. font-size: 14px;
  256. text-align: center;
  257. }
  258. .sidebar .social-links i {
  259. margin-right: 3px;
  260. }
  261. .sidebar .social-links li {
  262. display: inline;
  263. padding: 0 4px;
  264. line-height: 0;
  265. }
  266. .sidebar .social-links a {
  267. color: var(--text-colour);
  268. }
  269. .sidebar .social-links a:hover {
  270. color: var(--link-colour);
  271. }
  272. .post, .h-entry {
  273. background: var(--bg-colour);
  274. margin: 30px;
  275. width:80%;
  276. padding-left:20px;
  277. }
  278. .post .banner{
  279. width:100%;
  280. max-height: 300px;
  281. object-fit:scale-down;
  282. object-position:top;
  283. }
  284. .post .post-title h1 {
  285. text-transform: uppercase;
  286. font-size: 30px;
  287. letter-spacing: 5px;
  288. line-height: 1;
  289. }
  290. .post .post-title h2 {
  291. text-transform: uppercase;
  292. letter-spacing: 1px;
  293. font-size: 28px;
  294. line-height: 1;
  295. font-weight: 600;
  296. color: var(--text-colour);
  297. }
  298. .post .post-title h3 {
  299. text-transform: uppercase;
  300. letter-spacing: 1px;
  301. line-height: 1;
  302. font-weight: 600;
  303. color: var(--text-colour);
  304. font-size: 22px;
  305. margin: 0;
  306. }
  307. .post .post-title a, .h-entry .post-title a {
  308. text-decoration: none;
  309. letter-spacing: 1px;
  310. color: var(--text-colour);
  311. }
  312. .post .post-title a:hover, .h-entry .post-title a:hover {
  313. text-decoration: underline;
  314. }
  315. .post .post-content a, .h-entry p a {
  316. text-decoration: none;
  317. color: var(--link-colour);
  318. }
  319. .post .post-content table, .h-entry table {
  320. border-collapse:collapse;
  321. }
  322. .post .post-content table,.post .post-content table td, .post .post-content table th,
  323. .h-entry table,.h-entry table td, .h-entry table th{
  324. border: 1px dashed var(--text-colour);
  325. }
  326. .post .post-content table td, .post .post-content table th,.h-entry table td, .h-entry table th{
  327. padding: 15px
  328. }
  329. .post .post-content a:hover, .h-entry a:hover {
  330. color: var(--link-colour);
  331. }
  332. .post .post-content h3,section aside h3 {
  333. color: var(--text-colour);
  334. font-size: 22px;
  335. font-weight: 600;
  336. }
  337. .post .post-content h4 {
  338. color: var(--text-colour);
  339. font-size: 16px;
  340. }
  341. .post .post-content img, .h-entry img {
  342. max-width: 60%;
  343. text-align: center;
  344. margin: 0 auto;
  345. display:block;
  346. padding:10px;
  347. }
  348. .post .post-footer {
  349. padding: 0 0 30px 0;
  350. border-bottom: 1px solid var(--text-colour);
  351. }
  352. .index-post-footer{
  353. padding: 0 0 30px 0;
  354. }
  355. .post .post-footer .meta {
  356. max-width: 100%;
  357. height: 25px;
  358. color: var(--text-colour);
  359. }
  360. .post .post-footer .meta .info {
  361. float: left;
  362. font-size: 12px;
  363. margin-bottom: 1em;
  364. }
  365. .post .post-footer .info .separator a {
  366. margin-right: 0.2em;
  367. }
  368. .post .post-footer .meta .info .date{
  369. margin-right: 10px;
  370. }
  371. .index_info .date {
  372. margin: 0 10px;
  373. }
  374. .info {
  375. margin: 1em;
  376. }
  377. .post .post-footer .meta a {
  378. text-decoration: none;
  379. color: var(--text-colour);
  380. padding-right: 10px;
  381. }
  382. .post .post-footer .meta a:hover {
  383. color: var(--link-colour);
  384. }
  385. .post .post-footer .blog{
  386. color: var(--text-colour);
  387. }
  388. .post .post-footer .blog:hover{
  389. color: var(--text-colour);
  390. }
  391. .post .post-footer .meta i {
  392. margin-right: 6px;
  393. }
  394. .post .post-footer .tags {
  395. padding-bottom: 15px;
  396. font-size: 13px;
  397. }
  398. .post .post-footer .tags ul {
  399. list-style-type: none;
  400. display: inline;
  401. margin: 0;
  402. padding: 0;
  403. }
  404. .post .post-footer .tags ul li {
  405. list-style-type: none;
  406. margin: 0;
  407. padding-right: 5px;
  408. display: inline;
  409. }
  410. .post .post-footer .tags a {
  411. text-decoration: none;
  412. color: var(--text-colour);
  413. font-weight: 400;
  414. }
  415. .post .post-footer .tags a:hover {
  416. text-decoration: none;
  417. }
  418. .like-reblog-buttons {
  419. float: right;
  420. }
  421. .like-button {
  422. float: right;
  423. padding: 0 0 0 10px;
  424. }
  425. .reblog-button {
  426. float: right;
  427. padding: 0;
  428. }
  429. #install-btn {
  430. position: fixed;
  431. bottom: 0px;
  432. right: 6px;
  433. }
  434. .footer {
  435. clear: both;
  436. text-align: center;
  437. font-size: 14px;
  438. margin: 0 auto;
  439. bottom: 0;
  440. position: absolute;
  441. width: 100%;
  442. padding-bottom: 20px;
  443. background: var(--bg-colour);
  444. }
  445. .footer a {
  446. color: var(--text-colour);
  447. }
  448. .footer a:hover {
  449. color: var(--link-colour);
  450. }
  451. /*for archive*/
  452. .archive {
  453. width: 80%;
  454. }
  455. .description {
  456. color: var(--text-colour);
  457. }
  458. .list-title{
  459. margin:30px;
  460. font-size:30px;
  461. font-weight:bold;
  462. color: var(--text-colour);
  463. }
  464. .list-title i{
  465. font-size:22px;
  466. vertical-align:middle;
  467. color: var(--text-colour);
  468. }
  469. .list-with-title {
  470. font-size: 14px;
  471. margin: 30px;
  472. padding: 0;
  473. }
  474. .list-with-title li {
  475. list-style-type: none;
  476. padding: 0;
  477. }
  478. .list-with-title .listing-title {
  479. font-size: 24px;
  480. color: var(--text-colour);
  481. font-weight: 600;
  482. line-height: 2.2em;
  483. }
  484. .list-with-title .listing {
  485. padding: 0;
  486. }
  487. .list-with-title .listing .listing-post {
  488. padding-bottom: 5px;
  489. }
  490. .list-with-title .listing .listing-post .post-time {
  491. float: right;
  492. color: var(--text-colour);
  493. }
  494. .list-with-title .listing .listing-post a {
  495. color: var(--text-colour);
  496. }
  497. .list-with-title .listing .listing-post a:hover {
  498. color: var(--link-colour);
  499. }
  500. /* share */
  501. .share {
  502. margin: 0px 30px;
  503. display: inline-flex;
  504. }
  505. /* about */
  506. .about {
  507. margin: 30px;
  508. width:80%;
  509. }
  510. .about h3 {
  511. font-size: 22px;
  512. }
  513. /* links*/
  514. .links {
  515. margin: 30px;
  516. }
  517. .links h3 {
  518. font-size: 22px;
  519. }
  520. .links a {
  521. cursor: pointer;
  522. }
  523. /* Comments */
  524. .comment-count {
  525. color: #666;
  526. }
  527. .tab-community {
  528. color: #666;
  529. }
  530. .readmore {
  531. font-size: 14px;
  532. text-align:left;
  533. padding:0;
  534. text-decoration:underline;
  535. }
  536. .back-button {
  537. padding-top: 30px;
  538. max-width: 100px;
  539. padding-left: 40px;
  540. float: left;
  541. }
  542. /* Buttons */
  543. a.btn {
  544. color: #868686;
  545. font-weight: 400;
  546. }
  547. .btn {
  548. display: inline-block;
  549. position: relative;
  550. outline: 0;
  551. color: rgba(0, 0, 0, 0.44);
  552. background: transparent;
  553. font-size: 14px;
  554. text-align: center;
  555. text-decoration: none;
  556. cursor: pointer;
  557. border: 1px solid rgba(0, 0, 0, 0.15);
  558. white-space: nowrap;
  559. font-weight: 400;
  560. font-style: normal;
  561. border-radius: 999em;
  562. }
  563. .btn:hover {
  564. display: inline-block;
  565. position: relative;
  566. outline: 0px;
  567. color: #464545;
  568. background: transparent;
  569. font-size: 14px;
  570. text-align: center;
  571. text-decoration: none;
  572. cursor: pointer;
  573. border: 1px solid #464545;
  574. white-space: nowrap;
  575. font-weight: 400;
  576. font-style: normal;
  577. border-radius: 999em;
  578. }
  579. [role="back"] {
  580. padding: 0.5em 1.25em;
  581. line-height: 1.666em;
  582. }
  583. [role="home"] {
  584. padding: 0.5em 1.25em;
  585. line-height: 1.666em;
  586. }
  587. [role="navigation"] {
  588. padding: 0.5em 1.25em;
  589. line-height: 1.666em;
  590. }
  591. [role="tags"] {
  592. padding: 6px 12px;
  593. }
  594. /* Menu */
  595. .menu {
  596. float: right;
  597. padding-top: 30px;
  598. }
  599. .menu .btn-down {
  600. margin: 0px;
  601. }
  602. .menu .btn-down li {
  603. list-style: none;
  604. width: 100px;
  605. }
  606. .menu .btn-down li a {
  607. display: inline-block;
  608. position: relative;
  609. padding: 0.5em 1.25em;
  610. outline: 0;
  611. color: rgba(0, 0, 0, 0.44);
  612. background: transparent;
  613. font-size: 14px;
  614. text-align: center;
  615. text-decoration: none;
  616. cursor: pointer;
  617. border: 1px solid rgba(0, 0, 0, 0.15);
  618. white-space: nowrap;
  619. font-weight: 400;
  620. font-style: normal;
  621. border-radius: 999em;
  622. margin-top: 5px;
  623. }
  624. .menu .btn-down li a:hover {
  625. position: relative;
  626. padding: 0.5em 1.25em;
  627. outline: 0;
  628. color: #fff;
  629. background: #3CBD10;
  630. font-size: 14px;
  631. text-align: center;
  632. text-decoration: none;
  633. cursor: pointer;
  634. border: 1px solid rgba(0, 0, 0, 0.15);
  635. white-space: nowrap;
  636. font-weight: 400;
  637. font-style: normal;
  638. border-radius: 999em;
  639. margin-top: 5px;
  640. }
  641. .menu .btn-down div {
  642. position: absolute;
  643. visibility: hidden;
  644. width: 100px;
  645. float: right;
  646. }
  647. .page_404 {
  648. text-align: center;
  649. padding-top: 50px;
  650. }
  651. .pixelfed_embed {
  652. margin:0 auto;
  653. display:block;
  654. }
  655. .contents hr {
  656. color: var(--text-colour);
  657. }
  658. .contents .note, .contents .article {
  659. background-color: var(--bg-colour);
  660. border-radius:10px;
  661. padding:10px;
  662. width: 80%;
  663. margin: 10px;
  664. display:block;
  665. }
  666. .contents .note .author, .contents .article .author{
  667. width: 60px;
  668. display:block;
  669. float:left;
  670. height:100%;
  671. margin:0px;
  672. padding:0px;
  673. }
  674. .contents .note .author img, .contents .article .author img{
  675. max-width:50px;
  676. vertical-align: top;
  677. margin:0px;
  678. padding:0px;
  679. }
  680. .contents aside {
  681. width:95%;
  682. display:inline-block;
  683. vertical-align:top;
  684. margin:0px;
  685. padding:0px;
  686. }
  687. .contents aside time, .h-cite time{
  688. font-size:13px;
  689. width:100%;
  690. }
  691. .contents aside a.time{
  692. text-decoration:underline dashed;
  693. }
  694. .contents aside .info time{
  695. font-size:15px;
  696. }
  697. .photos{
  698. display:inline-block;
  699. width:100%;
  700. float:left;
  701. min-width:100%;
  702. margin-bottom:10px;
  703. }
  704. .contents img.thumb{
  705. width:300px;
  706. float:left;
  707. display:inline;
  708. padding:0px;
  709. border: 1px solid var(--text-colour);
  710. }
  711. .pagination {
  712. list-style:none;
  713. margin: 0 auto;
  714. border:0px;
  715. padding-top:20px;
  716. display:block;
  717. max-width: 1000px;
  718. width:100%;
  719. }
  720. .pagination li{
  721. display:inline-block;
  722. padding:10px 80px;
  723. height: 80px;
  724. }
  725. .anchor {
  726. display:none;
  727. }
  728. .anchor:target {
  729. display:block;
  730. }
  731. @media screen and (max-width: 960px) {
  732. .sidebar {
  733. width: 100%;
  734. position: absolute;
  735. border-right: none;
  736. z-index: 1;
  737. }
  738. .sidebar .logo-title {
  739. padding-top: 100px;
  740. }
  741. .sidebar .logo-title .title img {
  742. width: 70px;
  743. }
  744. .sidebar .logo-title .title h3 {
  745. font-size: 20px;
  746. }
  747. .sidebar #logo{
  748. padding-top:80px;
  749. }
  750. .page-top {
  751. width: 100%;
  752. }
  753. .page-top .nav{
  754. width: 90%;
  755. }
  756. .page-top .nav #Likes, .page-top .nav #Replies, .page-top .nav #Re-posts{
  757. display:none;
  758. }
  759. .page-top .language-selector i{
  760. padding:0 5px;
  761. }
  762. .post-title h3, section aside h3 {
  763. line-height: 1.6;
  764. }
  765. .content {
  766. margin-top: 680px;
  767. width: 100%;
  768. z-index: 2;
  769. position: absolute;
  770. left:0;
  771. height:100%;
  772. border-top: 1px solid var(--text-colour);
  773. }
  774. .about, .post, .archive, .contents{
  775. width:95%;
  776. margin-left:15px;
  777. }
  778. .footer {
  779. display: none;
  780. }
  781. .share {
  782. display: grid;
  783. }
  784. .pagination li{
  785. display:inline-block;
  786. padding:0px 30px;
  787. height: 30px;
  788. }
  789. }