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.
639 lines
10 KiB
639 lines
10 KiB
@charset "UTF-8";
|
|
@import url('https://rsms.me/inter/inter.css');
|
|
html { font-family: 'Inter', sans-serif;}
|
|
@supports (font-variation-settings: normal) {
|
|
html { font-family: 'Inter var', sans-serif; }
|
|
}
|
|
:root {
|
|
--dark-link:#59ABE3;
|
|
--dark-text:#e8e8e8;
|
|
--dark-bg:#2b2b2b;
|
|
--dark-opacity: 0.75;
|
|
--light-text:#2b2b2b;
|
|
--light-bg:#e8e8e8;
|
|
--light-link:#0065BF;
|
|
--light-opacity:1;
|
|
|
|
--text-colour: var(--dark-text);
|
|
--bg-colour: var(--dark-bg);
|
|
--link-colour: var(--dark-link);
|
|
--opacity-img: var(--dark-opacity);
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
--text-colour: var(--light-text);
|
|
--bg-colour: var(--light-bg);
|
|
--link-colour: var(--light-link);
|
|
--opacity-img: var(--light-opacity);
|
|
|
|
}
|
|
[data-theme="light"]{
|
|
--text-colour: var(--light-text);
|
|
--bg-colour: var(--light-bg);
|
|
--link-colour: var(--light-link);
|
|
--opacity-img: var(--light-opacity);
|
|
}
|
|
|
|
/* Switched mode */
|
|
.theme-switch:checked ~ *,
|
|
.theme-switch:checked + *,
|
|
.theme-switch:checked + * + *
|
|
.theme-switch:checked + * + * + *{
|
|
--text-colour:var(--light-text);
|
|
--bg-colour:var(--light-bg);
|
|
--link-colour:var(--light-link);
|
|
--opacity-img: var(--light-opacity);
|
|
}
|
|
|
|
.theme-switch{
|
|
display:none;
|
|
}
|
|
|
|
.light{
|
|
display:inline;
|
|
float:right;
|
|
color:var(--text-colour);
|
|
}
|
|
|
|
html {
|
|
-webkit-animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
body {
|
|
color: var(--text-colour);
|
|
font-size: 15px;
|
|
margin: 0 auto 30px auto;
|
|
background: var(--bg-colour);
|
|
height:100%;
|
|
min-height:100%;
|
|
}
|
|
p {
|
|
line-height: 1.9em;
|
|
font-weight: 400;
|
|
font-size: 15px;
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--link-colour);
|
|
}
|
|
a:link, a:visited {
|
|
opacity: 1;
|
|
-webkit-transition: all .15s linear;
|
|
-moz-transition: all .15s linear;
|
|
-o-transition: all .15s linear;
|
|
-ms-transition: all .15s linear;
|
|
transition: all .15s linear;
|
|
color: var(--link-colour);
|
|
}
|
|
a:hover, a:active {
|
|
color: var(--text-colour);
|
|
}
|
|
img {
|
|
opacity: var(--opacity-img);
|
|
transition: opacity .5s ease-in-out;
|
|
}
|
|
img:hover {
|
|
opacity: 1
|
|
}
|
|
table {
|
|
border-collapse:collapse;
|
|
}
|
|
table, td, th{
|
|
border: 1px dotted var(--text-colour);
|
|
padding:15px;
|
|
}
|
|
h3 {
|
|
color: var(--text-colour);
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
line-height: 1.6;
|
|
}
|
|
h4 {
|
|
color: var(--text-colour);
|
|
font-size: 16px;
|
|
}
|
|
pre {
|
|
background: var(--bg-colour);
|
|
padding: 5px;
|
|
}
|
|
#page{
|
|
color: var(--text-colour);
|
|
background: var(--bg-colour);
|
|
}
|
|
#page-top {
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
z-index: 3;
|
|
height: 60px;
|
|
border-bottom: 1px solid var(--text-colour);
|
|
background: var(--bg-colour);
|
|
margin: 0 auto;
|
|
}
|
|
#page-top a {
|
|
color: var(--text-colour);
|
|
}
|
|
#page-top a:hover {
|
|
color: var(--link-colour);
|
|
}
|
|
nav {
|
|
width:100%;
|
|
list-style: none;
|
|
padding: 18px 0px;
|
|
font-size: 14px;
|
|
display:flex;
|
|
}
|
|
nav li{
|
|
position: relative;
|
|
display: initial;
|
|
padding-right: 20px;
|
|
}
|
|
nav li i{
|
|
margin:0;
|
|
padding-left:10px;
|
|
}
|
|
nav > li:nth-child(7) {
|
|
margin-left: auto;
|
|
padding-right:5px;
|
|
display:none;
|
|
}
|
|
nav > li:nth-child(8) {
|
|
padding-right:0;
|
|
margin-left: auto;
|
|
}
|
|
main {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
background: var(--bg-colour);
|
|
}
|
|
.about, .archive, .bookmarks {
|
|
height: calc(100vh - 150px);
|
|
}
|
|
.about .post{
|
|
border: 1px dotted var(--text-colour);
|
|
padding: 10px;
|
|
margin:0;
|
|
vertical-align:top;
|
|
}
|
|
.profile{
|
|
width:85% !important;
|
|
display:grid;
|
|
grid-template-columns: repeat (20%, 80%);
|
|
margin: 0 auto;
|
|
padding-top:30px;
|
|
}
|
|
.profile-left{
|
|
grid-column: 1;
|
|
}
|
|
.profile-right{
|
|
grid-column: 2;
|
|
text-align:justify;
|
|
}
|
|
.profile-right a{
|
|
color: var(--text-colour);
|
|
}
|
|
.profile-right a:hover{
|
|
color: var(--link-colour);
|
|
}
|
|
.profile img{
|
|
width:165px;
|
|
border-radius: 5%;
|
|
margin-right: 40px;
|
|
}
|
|
.profile .title{
|
|
text-transform: uppercase;
|
|
font-size: 1.8rem;
|
|
font-weight: bold;
|
|
letter-spacing: 1.5px;
|
|
line-height: 1;
|
|
padding-left: 10px;
|
|
}
|
|
.social-links {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
.social-links i {
|
|
margin-right: 3px;
|
|
}
|
|
.social-links li {
|
|
display: inline;
|
|
}
|
|
.social-links a {
|
|
color: var(--text-colour);
|
|
}
|
|
.social-links a:hover {
|
|
color: var(--link-colour);
|
|
}
|
|
.info i{
|
|
opacity: 0.5;
|
|
margin-right: 5px;
|
|
}
|
|
.info{
|
|
padding: 30px 0;
|
|
font-size:13px;
|
|
display:grid;
|
|
grid-template-columns: repeat (80%. 20%);
|
|
}
|
|
.blogs_span, .categories_span, .tags_span{
|
|
grid-column: 1;
|
|
}
|
|
.category, .blog, .tag {
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
display:inline;
|
|
}
|
|
.categories, .tags{
|
|
display:inline;
|
|
margin:0;padding:0;
|
|
}
|
|
.categories li, .tags li{
|
|
list-style:none;
|
|
display:inline;
|
|
}
|
|
.tag::before {
|
|
content: "#";
|
|
opacity: .75;
|
|
}
|
|
.categories li::after, .tags li::after{
|
|
content: ", ";
|
|
}
|
|
.categories li:last-child:after, .tags li:last-child:after{
|
|
content: "";
|
|
}
|
|
.info-date{
|
|
grid-column: 2;
|
|
text-align:right;
|
|
line-height:1.5;
|
|
}
|
|
.info-date .dt-published{
|
|
font-size:13px;
|
|
}
|
|
.reading-time{
|
|
display:inline;
|
|
grid-column: 2;
|
|
text-align:right;
|
|
font-weight:bold;
|
|
}
|
|
.syndication{
|
|
grid-column:2;
|
|
text-align:right;
|
|
font-size:13px;
|
|
margin:0;
|
|
}
|
|
.stream{
|
|
padding-bottom:150px;
|
|
}
|
|
.post{
|
|
margin: 30px 0;
|
|
}
|
|
.index_content{
|
|
text-align:justify;
|
|
width:100%;
|
|
}
|
|
.banner{
|
|
width:90%;
|
|
max-height: 300px;
|
|
object-fit:scale-down;
|
|
object-position:top;
|
|
}
|
|
.h-entry p a {
|
|
text-decoration: none;
|
|
color: var(--link-colour);
|
|
}
|
|
.h-entry a:hover {
|
|
color: var(--link-colour);
|
|
}
|
|
.h-entry img {
|
|
text-align: center;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
display:block;
|
|
padding:10px;
|
|
}
|
|
|
|
#interactions{
|
|
margin:20px 0 10px 0;
|
|
padding:0;
|
|
display:grid;
|
|
grid-template-rows: repeat (20px, 40px, auto);
|
|
width:100%;
|
|
border-top:1px dotted var(--text-colour);
|
|
padding-bottom:150px;
|
|
}
|
|
#webmention-form{
|
|
grid-row: 2;
|
|
margin-top:20px;
|
|
width: 100%;
|
|
}
|
|
#webmention-form label{
|
|
line-height: 2;
|
|
}
|
|
#webmention-form input[type=url]{
|
|
width: 60%;
|
|
}
|
|
#webmentions{
|
|
grid-row: 4;
|
|
margin-top: 0 20px 0 0 ;
|
|
padding: 0 0 200px 0;
|
|
}
|
|
.interaction h4{
|
|
line-height:15px;
|
|
padding:0;
|
|
margin:0;
|
|
}
|
|
.interaction.like, .interaction.share{
|
|
border:0;
|
|
color: var(--text-colour);
|
|
padding:2px;
|
|
margin:30px 0 0 0;
|
|
display:flex;
|
|
width:100%;
|
|
min-height:30px;
|
|
}
|
|
.interaction.like img,.interaction.share img{
|
|
display:inline-flex;
|
|
width:30px;
|
|
height:30px;
|
|
margin:0;
|
|
border-radius: 50%;
|
|
}
|
|
.interaction.mention, .interaction.reply{
|
|
border:1px dotted var(--text-colour);
|
|
display:flex;
|
|
min-height: 60px;
|
|
padding: 10px;
|
|
}
|
|
.interaction.mention .remote_profile, .interaction.reply .remote_profile{
|
|
width: 90px;
|
|
}
|
|
.interaction.mention .remote_profile img, .interaction.reply .remote_profile img{
|
|
width: 50px;
|
|
border-radius: 50%;
|
|
margin: 0 auto;
|
|
}
|
|
.intactivity{
|
|
font-size:13px;
|
|
font-style: italic;
|
|
line-height:18px;
|
|
text-align:left;
|
|
}
|
|
.intcontent{
|
|
font-size:15px;
|
|
vertical-align:top;
|
|
text-align:left;
|
|
padding-left: 10px;
|
|
}
|
|
.interaction time{
|
|
font-size:13px;
|
|
}
|
|
|
|
#footer {
|
|
clear: both;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
position:fixed;
|
|
bottom:0;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
padding:20px 0;
|
|
background: var(--bg-colour);
|
|
color: var(--text-colour);
|
|
}
|
|
#footer a {
|
|
color: var(--text-colour);
|
|
}
|
|
#footer a:hover {
|
|
color: var(--link-colour);
|
|
}
|
|
#footer img{
|
|
max-height:40px;
|
|
margin-top:10px;
|
|
}
|
|
|
|
/*for archive*/
|
|
.description {
|
|
color: var(--text-colour);
|
|
}
|
|
.list-title{
|
|
margin:30px 0;
|
|
font-size:30px;
|
|
font-weight:bold;
|
|
display:flex;
|
|
color: var(--text-colour);
|
|
}
|
|
|
|
.list-title i{
|
|
font-size:22px;
|
|
vertical-align:middle;
|
|
color: var(--text-colour);
|
|
}
|
|
|
|
.list-with-title {
|
|
font-size: 14px;
|
|
margin: 30px 0;
|
|
padding: 0;
|
|
}
|
|
.list-with-title li {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
.listing-title {
|
|
font-size: 24px;
|
|
color: var(--text-colour);
|
|
font-weight: 600;
|
|
line-height: 2.2em;
|
|
}
|
|
.listing {
|
|
padding: 0;
|
|
}
|
|
.listing-post {
|
|
padding-bottom: 5px;
|
|
}
|
|
.post-time {
|
|
float: right;
|
|
color: var(--text-colour);
|
|
}
|
|
.list-with-title .listing .listing-post a {
|
|
color: var(--text-colour);
|
|
}
|
|
.list-with-title .listing .listing-post a:hover {
|
|
color: var(--link-colour);
|
|
}
|
|
|
|
.readmore {
|
|
font-size: 14px;
|
|
text-align:left;
|
|
padding:0;
|
|
text-decoration:underline;
|
|
}
|
|
|
|
.page_404 {
|
|
text-align: center;
|
|
padding-top: 50px;
|
|
}
|
|
|
|
.pixelfed_embed {
|
|
margin:0 auto;
|
|
display:block;
|
|
}
|
|
hr {
|
|
color: var(--text-colour);
|
|
}
|
|
|
|
.author .title{
|
|
display:none;
|
|
}
|
|
|
|
#response .h-cite{
|
|
width:100%;
|
|
display:inline-block;
|
|
vertical-align:top;
|
|
padding:0;
|
|
}
|
|
#response p{
|
|
margin:0;
|
|
}
|
|
time{
|
|
font-size:13px;
|
|
}
|
|
.bookmark .p-content{
|
|
display:inline;
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
.picture{
|
|
flex: calc(100% / 3);
|
|
max-width:calc(100% / 3);
|
|
}
|
|
.photogrid{
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
width:100%;
|
|
height: 100%;
|
|
min-width:100%;
|
|
margin-bottom:10px;
|
|
}
|
|
img.thumb{
|
|
width:300px;
|
|
padding: 0px;
|
|
margin:10px;
|
|
border: 1px solid var(--text-colour);
|
|
}
|
|
hr{
|
|
border-top:1px dotted var(--text-colour);
|
|
border-bottom:0;
|
|
}
|
|
.pagination {
|
|
list-style:none;
|
|
margin: 0 auto;
|
|
border:0px;
|
|
padding-top:20px;
|
|
display:flex;
|
|
max-width: 600px;
|
|
width:100%;
|
|
}
|
|
.pagination li{
|
|
padding:10px 50px;
|
|
font-weight:bold;
|
|
}
|
|
.pagination-bottom{
|
|
padding-bottom:100px;
|
|
}
|
|
.pagination a {
|
|
color: var(--text-colour);
|
|
}
|
|
.pagination a:hover {
|
|
color: var(--link-colour);
|
|
}
|
|
.anchor {
|
|
display:none;
|
|
}
|
|
|
|
.anchor:target {
|
|
display:block;
|
|
}
|
|
|
|
@media screen and (max-width: 960px) {
|
|
#page-top {
|
|
width: 95%;
|
|
padding: 10px 0;
|
|
}
|
|
.about, .post, .archive, .stream, .bookmarks, #response{
|
|
width:95%;
|
|
margin:0 auto;
|
|
}
|
|
.profile{
|
|
width:100%;
|
|
margin:0 auto;
|
|
padding:0;
|
|
text-align:center;
|
|
display:block;
|
|
}
|
|
.profile-left{
|
|
display:block;
|
|
margin:0 auto;
|
|
padding: 10px;
|
|
width:100%;
|
|
text-align:center;
|
|
float:none;
|
|
}
|
|
.profile-left img{
|
|
max-width: 200px;
|
|
margin:0;
|
|
}
|
|
.profile-right{
|
|
display:block;
|
|
width:90%;
|
|
text-align:center;
|
|
margin:0 auto;
|
|
}
|
|
.post img{
|
|
width: 95%;
|
|
text-align:center;
|
|
}
|
|
|
|
.interactions{
|
|
padding-bottom: 100px;
|
|
}
|
|
.pagination li{
|
|
padding:10px 50px;
|
|
height: 30px;
|
|
}
|
|
.pagination-bottom{
|
|
margin-bottom:0px;
|
|
}
|
|
footer{
|
|
display:none;
|
|
}
|
|
}
|
|
@media screen and (max-width: 560px) {
|
|
#Bookmarks{
|
|
display:none;
|
|
}
|
|
.pagination li{
|
|
padding:10px 40px;
|
|
height: 30px;
|
|
}
|
|
article img{
|
|
width: 95%;
|
|
text-align:center;
|
|
}
|
|
.interactions{
|
|
padding-bottom: 0px;
|
|
}
|
|
footer{
|
|
display:none;
|
|
}
|
|
}
|
|
@media screen and (max-width: 460px) {
|
|
nav #Blogs{
|
|
display:none;
|
|
}
|
|
nav label{
|
|
display:none;
|
|
}
|
|
.pagination li{
|
|
padding:10px 10px;
|
|
height: 30px;
|
|
}
|
|
}
|