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.

687 lines
12 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
  1. @charset "UTF-8";
  2. @import url('https://rsms.me/inter/inter.css');
  3. html { font-family: 'Inter', sans-serif;}
  4. @supports (font-variation-settings: normal) {
  5. html { font-family: 'Inter var', sans-serif; }
  6. }
  7. :root {
  8. --dark-link:#59ABE3;
  9. --dark-text:#e8e8e8;
  10. --dark-bg:#2b2b2b;
  11. --dark-opacity: 0.75;
  12. --light-text:#2b2b2b;
  13. --light-bg:#e8e8e8;
  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. .theme-switch:checked + * + *{
  38. --text-colour:var(--light-text);
  39. --bg-colour:var(--light-bg);
  40. --link-colour:var(--light-link);
  41. --opacity-img: var(--light-opacity);
  42. }
  43. .theme-switch{
  44. display:none;
  45. }
  46. .light{
  47. display:inline;
  48. float:right;
  49. color:var(--text-colour);
  50. }
  51. html {
  52. -webkit-animation-fill-mode: forwards;
  53. height:100%;display:block;
  54. }
  55. body {
  56. color: var(--text-colour);
  57. font-size: 15px;
  58. width: 100%;
  59. margin: 0 auto 30px auto;
  60. background: var(--bg-colour);
  61. min-height: 100%;
  62. height:100%;
  63. overflow:hidden;
  64. }
  65. p {
  66. line-height: 1.9em;
  67. font-weight: 400;
  68. font-size: 14px;
  69. }
  70. a {
  71. text-decoration: none;
  72. }
  73. a:link, a:visited {
  74. opacity: 1;
  75. -webkit-transition: all .15s linear;
  76. -moz-transition: all .15s linear;
  77. -o-transition: all .15s linear;
  78. -ms-transition: all .15s linear;
  79. transition: all .15s linear;
  80. color: var(--text-colour);
  81. }
  82. a:hover, a:active {
  83. color: var(--link-colour);
  84. }
  85. img {
  86. opacity: var(--opacity-img);
  87. transition: opacity .5s ease-in-out;
  88. }
  89. img:hover {
  90. opacity: 1
  91. }
  92. #page{
  93. color: var(--text-colour);
  94. background: var(--bg-colour);
  95. width: 100%;
  96. height:100%;
  97. display:block;
  98. }
  99. .main {
  100. margin:0;
  101. padding:0;
  102. width:80%;
  103. max-width: 1000px;
  104. margin: 0 auto;
  105. background: var(--bg-colour);
  106. height:100%;
  107. min-height:100%;
  108. display:block;
  109. }
  110. .page-top {
  111. width: 80%;
  112. max-width: 1000px;
  113. display:block;
  114. z-index: 3;
  115. height: 60px;
  116. border-bottom: 1px solid var(--text-colour);
  117. background: var(--bg-colour);
  118. margin: 0 auto;
  119. }
  120. .page-top .nav {
  121. width:80%;
  122. list-style: none;
  123. padding: 18px 0px;
  124. float: left;
  125. font-size: 14px;
  126. display:inline-block;
  127. }
  128. .page-top .nav li{
  129. position: relative;
  130. display: initial;
  131. padding-right: 20px;
  132. }
  133. .page-top .nav a {
  134. color: var(--text-colour);
  135. }
  136. .page-top .nav a:hover {
  137. color: var(--link-colour);
  138. }
  139. .page-top .selectors{
  140. width:130px;
  141. float:right;
  142. display:inline-block;
  143. vertical-align:middle;
  144. padding: 10px 0px;
  145. }
  146. .page-top .language-selector {
  147. position:relative;
  148. display:inline-block;
  149. float:right;
  150. padding:0px 10px;padding:0;
  151. margin:0;
  152. }
  153. .page-top .language-selector ul{
  154. list-style:none;
  155. padding:0;
  156. margin:0;
  157. }
  158. .page-top .selectors .theme-selector{
  159. margin:0;
  160. padding:0;
  161. }
  162. .page-top .selectors i{
  163. margin:0;
  164. padding-left:10px;;
  165. }
  166. .content {
  167. background: var(--bg-colour);
  168. color: var(--text-colour);
  169. display:block;
  170. width: 100% !important;
  171. margin-top: 0 auto;
  172. padding:0;
  173. height: 95%;
  174. overflow:auto;
  175. -ms-overflow-style: none;
  176. scrollbar-width:none;
  177. }
  178. .content::-webkit-scrollbar{
  179. display:none;
  180. }
  181. .content .profile{
  182. width:85% !important;
  183. display:block;
  184. margin: 0 auto;
  185. padding-top:30px;
  186. }
  187. .content .profile .profile-left{
  188. width:20% !important;
  189. min-width: 200px;
  190. padding:0;
  191. margin:0;
  192. display:inline-block;
  193. vertical-align:middle;
  194. }
  195. .content .profile .profile-right{
  196. vertical-align:top;
  197. width:65%;
  198. display:inline-block;
  199. padding:0;
  200. margin:0;
  201. text-align:justify;
  202. }
  203. .content .profile img{
  204. width:165px;
  205. border-radius: 5%;
  206. margin-right: 40px;
  207. }
  208. .content .profile .description {
  209. font-size: 14px;
  210. color: var(--text-colour);
  211. margin-left: 10px;
  212. }
  213. .content .profile .logo {
  214. margin: 0 auto;
  215. }
  216. .content .profile .title{
  217. text-transform: uppercase;
  218. font-size: 1.5rem;
  219. font-weight: bold;
  220. letter-spacing: 2px;
  221. line-height: 1;
  222. display:inline-block;
  223. padding-left:10px;
  224. margin-bottom:5px;
  225. }
  226. .content .profile .title a {
  227. text-decoration: none;
  228. color: var(--text-colour);
  229. font-size: 2rem;
  230. font-weight: bold;
  231. }
  232. .content .profile .social-links {
  233. list-style: none;
  234. padding: 0;
  235. }
  236. .content .profile .social-links i {
  237. margin-right: 3px;
  238. }
  239. .content .profile .social-links li {
  240. display: inline;
  241. }
  242. .content .profile .social-links a {
  243. color: var(--text-colour);
  244. }
  245. .content .profile .social-links a:hover {
  246. color: var(--link-colour);
  247. }
  248. .category {
  249. padding: 4px 6px;
  250. border-radius: 3px;
  251. border: 1px solid var(--text-colour);
  252. }
  253. .blog {
  254. padding: 4px 6px;
  255. border-radius: 3px;
  256. background: var(--link-colour);
  257. border: 1px solid var(--text-colour);
  258. }
  259. .tag::before {
  260. content: "#";
  261. opacity: .75;
  262. }
  263. .tag, .category {
  264. display: inline-block;
  265. font-size: 15px;
  266. line-height: 1;
  267. margin: 5px 8px 5px 0;
  268. }
  269. pre {
  270. background: var(--bg-colour);
  271. padding: 5px;
  272. }
  273. .info i{
  274. opacity: 0.5;
  275. margin-right: 5px;
  276. }
  277. .info{
  278. padding: 30px 0;
  279. }
  280. .index_info i{
  281. opacity: 0.5;
  282. }
  283. .stream{
  284. padding-bottom:150px;
  285. }
  286. .post{
  287. background: var(--bg-colour);
  288. margin: 30px 0;
  289. }
  290. .post .banner{
  291. width:100%;
  292. max-height: 300px;
  293. object-fit:scale-down;
  294. object-position:top;
  295. }
  296. .post .post-title h1 {
  297. text-transform: uppercase;
  298. font-size: 30px;
  299. letter-spacing: 5px;
  300. line-height: 1;
  301. }
  302. .post .post-title h2 {
  303. text-transform: uppercase;
  304. letter-spacing: 1px;
  305. font-size: 28px;
  306. line-height: 1;
  307. font-weight: 600;
  308. color: var(--text-colour);
  309. }
  310. .post .post-title h3 {
  311. text-transform: uppercase;
  312. letter-spacing: 1px;
  313. line-height: 1;
  314. font-weight: 600;
  315. color: var(--text-colour);
  316. font-size: 22px;
  317. margin: 0;
  318. }
  319. .post .post-title a, .h-entry .post-title a {
  320. text-decoration: none;
  321. letter-spacing: 1px;
  322. color: var(--text-colour);
  323. }
  324. .post .post-title a:hover, .h-entry .post-title a:hover {
  325. text-decoration: underline;
  326. }
  327. .post .post-content a, .h-entry p a {
  328. text-decoration: none;
  329. color: var(--link-colour);
  330. }
  331. .post .post-content table, .h-entry table {
  332. border-collapse:collapse;
  333. }
  334. .post .post-content table,.post .post-content table td, .post .post-content table th,
  335. .h-entry table,.h-entry table td, .h-entry table th{
  336. border: 1px dashed var(--text-colour);
  337. }
  338. .post .post-content table td, .post .post-content table th,.h-entry table td, .h-entry table th{
  339. padding: 15px
  340. }
  341. .post .post-content a:hover, .h-entry a:hover {
  342. color: var(--link-colour);
  343. }
  344. .post .post-content h3,section aside h3 {
  345. color: var(--text-colour);
  346. font-size: 22px;
  347. font-weight: 600;
  348. }
  349. .post .post-content h4 {
  350. color: var(--text-colour);
  351. font-size: 16px;
  352. }
  353. .post .post-content img, .h-entry img {
  354. text-align: center;
  355. max-width: 800px;
  356. margin: 0 auto;
  357. display:block;
  358. padding:10px;
  359. }
  360. .post .post-footer {
  361. padding: 0 0 100px 0;
  362. border-bottom: 1px solid var(--text-colour);
  363. }
  364. .post .post-footer .meta {
  365. max-width: 100%;
  366. height: 25px;
  367. color: var(--text-colour);
  368. }
  369. .post .post-footer .meta .info {
  370. float: left;
  371. font-size: 12px;
  372. margin-bottom: 1em;
  373. }
  374. .post .post-footer .info .separator a {
  375. margin-right: 0.2em;
  376. }
  377. .post .post-footer .meta .info .date{
  378. margin-right: 10px;
  379. }
  380. .index_info .date {
  381. margin: 0 10px;
  382. }
  383. .post .post-footer .meta a {
  384. text-decoration: none;
  385. color: var(--text-colour);
  386. padding-right: 10px;
  387. }
  388. .post .post-footer .meta a:hover {
  389. color: var(--link-colour);
  390. }
  391. .post .post-footer .blog{
  392. color: var(--text-colour);
  393. }
  394. .post .post-footer .blog:hover{
  395. color: var(--text-colour);
  396. }
  397. .post .post-footer .meta i {
  398. margin-right: 6px;
  399. }
  400. .post .post-footer .tags {
  401. padding-bottom: 15px;
  402. font-size: 13px;
  403. }
  404. .post .post-footer .tags ul {
  405. list-style-type: none;
  406. display: inline;
  407. margin: 0;
  408. padding: 0;
  409. }
  410. .post .post-footer .tags ul li {
  411. list-style-type: none;
  412. margin: 0;
  413. padding-right: 5px;
  414. display: inline;
  415. }
  416. .post .post-footer .tags a {
  417. text-decoration: none;
  418. color: var(--text-colour);
  419. font-weight: 400;
  420. }
  421. .post .post-footer .tags a:hover {
  422. text-decoration: none;
  423. }
  424. .footer {
  425. clear: both;
  426. text-align: center;
  427. font-size: 14px;
  428. position:fixed;
  429. bottom:0;
  430. margin: 0 auto;
  431. width: 100%;
  432. padding:20px 0;
  433. background: var(--bg-colour);
  434. }
  435. .footer a {
  436. color: var(--text-colour);
  437. }
  438. .footer a:hover {
  439. color: var(--link-colour);
  440. }
  441. .footer img{
  442. max-height:40px;
  443. margin-top:10px;
  444. }
  445. /*for archive*/
  446. .description {
  447. color: var(--text-colour);
  448. }
  449. .list-title{
  450. margin:30px 0;
  451. font-size:30px;
  452. font-weight:bold;
  453. color: var(--text-colour);
  454. }
  455. .list-title i{
  456. font-size:22px;
  457. vertical-align:middle;
  458. color: var(--text-colour);
  459. }
  460. .list-with-title {
  461. font-size: 14px;
  462. margin: 30px 0;
  463. padding: 0;
  464. }
  465. .list-with-title li {
  466. list-style-type: none;
  467. padding: 0;
  468. }
  469. .list-with-title .listing-title {
  470. font-size: 24px;
  471. color: var(--text-colour);
  472. font-weight: 600;
  473. line-height: 2.2em;
  474. }
  475. .list-with-title .listing {
  476. padding: 0;
  477. }
  478. .list-with-title .listing .listing-post {
  479. padding-bottom: 5px;
  480. }
  481. .list-with-title .listing .listing-post .post-time {
  482. float: right;
  483. color: var(--text-colour);
  484. }
  485. .list-with-title .listing .listing-post a {
  486. color: var(--text-colour);
  487. }
  488. .list-with-title .listing .listing-post a:hover {
  489. color: var(--link-colour);
  490. }
  491. .readmore {
  492. font-size: 14px;
  493. text-align:left;
  494. padding:0;
  495. text-decoration:underline;
  496. }
  497. .page_404 {
  498. text-align: center;
  499. padding-top: 50px;
  500. }
  501. .pixelfed_embed {
  502. margin:0 auto;
  503. display:block;
  504. }
  505. .content hr {
  506. color: var(--text-colour);
  507. }
  508. .content .author{
  509. width: 75px;
  510. display:inline-block;
  511. margin:0;
  512. padding:0;
  513. }
  514. .content .author img{
  515. width:50px;
  516. margin: auto 0;
  517. }
  518. .content .author .title{
  519. display:none;
  520. }
  521. .content aside{
  522. width:90%;
  523. display:inline-block;
  524. vertical-align: top;
  525. }
  526. .content aside time, .h-cite time{
  527. font-size:13px;
  528. width:100%;
  529. }
  530. .content aside a.time{
  531. text-decoration:underline dashed;
  532. }
  533. .content aside .info time{
  534. font-size:15px;
  535. }
  536. .photos{
  537. display:inline-block;
  538. width:100%;
  539. float:left;
  540. min-width:100%;
  541. margin-bottom:10px;
  542. }
  543. .content img.thumb{
  544. width:300px;
  545. float:left;
  546. display:inline;
  547. padding: 0px;
  548. margin:10px;
  549. border: 1px solid var(--text-colour);
  550. }
  551. .pagination {
  552. list-style:none;
  553. margin: 0 auto;
  554. border:0px;
  555. padding-top:20px;
  556. display:block;
  557. max-width: 600px;
  558. width:100%;
  559. }
  560. .pagination li{
  561. display:inline-block;
  562. padding:10px 50px;
  563. font-weight:bold;
  564. }
  565. .pagination-bottom{
  566. padding-bottom:100px;
  567. }
  568. .anchor {
  569. display:none;
  570. }
  571. .anchor:target {
  572. display:block;
  573. }
  574. @media screen and (max-width: 960px) {
  575. .about .profile{
  576. width:100%;
  577. margin:0 auto;
  578. padding:0;
  579. text-align:center;
  580. display:block;
  581. }
  582. .about .profile .profile-left{
  583. display:inline-block;
  584. margin:0 auto;
  585. padding: 0;
  586. width:100%;
  587. }
  588. .about .profile .profile-left img{
  589. padding: 0px;
  590. margin-right:0px;
  591. margin: 10px;
  592. }
  593. .about .profile .profile-right{
  594. display:block;
  595. width:100%;
  596. text-align:center;
  597. float:none;
  598. margin:0 auto;
  599. }
  600. .page-top {
  601. width: 95%;
  602. padding: 10px 0;
  603. }
  604. .page-top .nav{
  605. width: 70%;
  606. }
  607. .page-top .nav #Responses{
  608. display:none;
  609. }
  610. .page-top .nav li{
  611. padding-right: 10px;
  612. }
  613. .page-top .selectors{
  614. width:130px;
  615. }
  616. .page-top .language-selector i{
  617. padding:0 5px;
  618. }
  619. .post-title h3, section aside h3 {
  620. line-height: 1.6;
  621. }
  622. .content {
  623. width:95%;
  624. z-index: 2;
  625. position: absolute;
  626. left:0;
  627. }
  628. .about, .post, .archive, .content{
  629. width:95%;
  630. margin:0 auto;
  631. }
  632. .content img, .post img{
  633. width: 90%;
  634. margin: 10px;
  635. text-align:center;
  636. float:none;
  637. }
  638. .content img.thumb{
  639. width:100%;
  640. }
  641. .pagination li{
  642. display:inline-block;
  643. padding:0px 20px;
  644. height: 30px;
  645. }
  646. .pagination-bottom{
  647. margin-bottom:0px;
  648. }
  649. .footer{
  650. display:none;
  651. }
  652. }