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.

815 lines
14 KiB

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