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.

686 lines
11 KiB

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