1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 15:45:33 -04:00

taking commento for a spin

This commit is contained in:
2019-04-05 10:40:49 -04:00
parent 4b9313fb3d
commit cde3fcde2e
5 changed files with 36 additions and 11 deletions

View File

@@ -531,6 +531,10 @@ body#notes a:hover {
white-space: pre;
}
body#notes div#single div.meta {
font-size: 15px !important;
}
body#notes div#content code {
white-space: normal;
}
@@ -629,7 +633,7 @@ body#notes div#footer div#panda span {
/* Single Post */
body#notes div#content, body#notes div#content p {
body#notes div#single div#content, body#notes div#single div#content p {
line-height: 1.7;
object-fit: contain;
}
@@ -689,13 +693,13 @@ body#notes div#single div.meta div.tags span.tag a {
border: none;
}
body#notes div#content img {
body#notes div#single div#content img {
max-width: 100%;
margin: 0 auto;
display: block;
object-fit: scale-down;
}
body#notes div#content img + em {
body#notes div#single div#content img + em {
display: block;
text-align: center;
font-size: 15px;
@@ -703,13 +707,13 @@ body#notes div#content img + em {
margin-top: 5px;
}
body#notes div#content blockquote {
body#notes div#single div#content blockquote {
border-left: 6px solid #0087be;
margin-left: 6px;
padding-left: 15px;
}
body#notes div#content code {
body#notes div#single div#content code {
font-family: monospace;
background: #f4f4f4;
padding: 0.2em;
@@ -717,7 +721,7 @@ body#notes div#content code {
font-size: 16px;
}
body#notes div#content pre code {
body#notes div#single div#content pre code {
padding: 1em 1.5em;
line-height: 1.6;
page-break-inside: avoid;
@@ -729,28 +733,46 @@ body#notes div#content pre code {
object-fit: scale-down;
}
body#notes div#content hr {
body#notes div#single div#content hr {
width: 60%;
margin: 10px auto;
border: 1px solid #ccc;
}
body#notes div#content div.embed.video-player {
body#notes div#single div#content div.embed.video-player {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
body#notes div#content div.embed.video-player iframe.youtube-player {
body#notes div#single div#content div.embed.video-player iframe.youtube-player {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
margin-bottom: 10px;
display: inline-block;
}
body#notes div#single div#commento {
border-top: 1px solid #cccccc;
padding-top: 20px;
margin-top: 20px;
}
body#notes div#single div#commento .commento-name {
max-width: none !important;
border: none;
}
body#notes div#single div#commento div#commento-footer {
display: none;
}
/* Archive List */