This commit is contained in:
inonehp 2023-08-23 01:18:38 +03:00
commit c94e03cdf8
10 changed files with 33 additions and 22 deletions

View file

@ -90,7 +90,7 @@ Page or file: moved, deleted ...
<form id="form" method="GET" class="block" action="/sitemap.html" style="margin:0 auto;" role="search">
<label id="search" class="op block x-small">site search:</label>
<input id="input" class="padding" aria-labelledby="search" type="search" style="text-align: center;" name="q" autofocus="autofocus" placeholder="" autocomplete="off">
<input type="submit" value="">
<input type="submit">
</form>
</div>

View file

@ -377,7 +377,8 @@ var blogJsonVar =
<style>
.postXL .pre { font-size: medium; text-transform: capitalize; }
.pre { font-size: medium; text-transform: capitalize; }
.pre a { text-transform: none; }
</style>
<script>

View file

@ -1,4 +1,4 @@
/* v.12.35.11 */
/* v.12.35.12 */
* { color-scheme: light dark; } /* view-source:about:blank */ /* fixed #fff blink */
@ -68,7 +68,7 @@ header{ margin: 0 auto; }
header { padding: 15px 0; }
nav, footer { text-align: center; max-width: 100%; }
nav a, nav button, footer span { display: inline-block; padding: 4px 7px; }
nav a, nav button, footer span { display: inline-block; padding: 5px 6px; }
footer { padding: 25px 0; }
footer span::first-letter { text-transform: capitalize; }
nav button:hover { background: none; }
@ -135,9 +135,14 @@ overflow: auto;
iframe, .pre iframe, .pre video, .pre audio { display: block; margin-top: 15px; border-radius: 5px; width: 100%; }
.pre .img { margin-bottom: 5px; margin-top: 15px; }
.postFooter { margin-top: 7px; }
.postTaglist { display: inline-block; width: 70%; text-align: left; }
.postTime { display: inline-block; width: 30%; text-align: right; float: right; }
.postFooter {
margin-top: 7px;
display: grid;
grid-template-columns: auto 120px;
grid-gap: 1%;
}
.postTaglist { text-align: left; }
.postTime { text-align: right; }
.postTagList a, .postTime a{ font-size: calc(100% - 5%); }
@ -439,8 +444,8 @@ input:focus{ outline: none }
footer { margin-top: 10vh; }
.logo2, .nav a:last-child { margin-right: 5px; }
.topNav form { padding-left: 5px; }
.logo2 { margin-right: 5px; }
.topNav form { padding-left: 6px; }

View file

@ -45,6 +45,9 @@ z-index: -1;
.menu {
display: grid;
/*grid-template-areas: "a a a a a";*/
/*grid-template-columns: repeat(4, 1fr);*/
/*grid-template-columns: repeat(auto-fill, minmax(130px, max-content));*/
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
/*grid-template-columns: repeat(auto-fill, minmax(130px, max-content));*/
/*grid-auto-columns: 1fr;*/

View file

@ -307,7 +307,8 @@ var blogJsonVar =
<style>
.postXL .pre { font-size: medium; text-transform: capitalize; }
.pre { font-size: medium; text-transform: capitalize; }
.pre a { text-transform: none; }
</style>

View file

@ -537,13 +537,13 @@ hlClassList += printTag2[0].toLowerCase();
if(q == tag){
tagList += `
<a class="tag light border2 ${hlClass}" href="${scriptDir}?q=${goTag}" style="background: ${tagColor}; color: var(--l4); font-size: ${tagSize};">${printTag}</a>
<a class="tag light border3 ${hlClass}" href="${scriptDir}?q=${goTag}" style="background: ${tagColor}; color: var(--l4); font-size: ${tagSize};">${printTag}</a>
`;
}else{
tagList += `
<a class="tag light border2 ${hlClass}" href="${scriptDir}?q=${goTag}" style="color: ${tagColor}; font-size: ${tagSize};">${printTag}</a>
<a class="tag light border3 ${hlClass}" href="${scriptDir}?q=${goTag}" style="color: ${tagColor}; font-size: ${tagSize};">${printTag}</a>
`;
}
}
@ -556,7 +556,7 @@ hlClassList2.forEach(function(item){
let hlClass = 'hlClass'+item;
item = item.toUpperCase();
hlClassList3 += `
<a class="tag light border2 ${hlClass}" onmouseover="hlwClassAdd('${hlClass}')" onmouseout="hlwClassRemove('${hlClass}')" href="#id${hlClass}" id="${hlClass}">${item}</a>
<a class="tag light border3 ${hlClass}" onmouseover="hlwClassAdd('${hlClass}')" onmouseout="hlwClassRemove('${hlClass}')" href="#id${hlClass}" id="${hlClass}">${item}</a>
`;
});

View file

@ -537,14 +537,14 @@ hlClassList += printTag2[0].toLowerCase();
if(q == tag){
tagList += `
<a class="tag light border2 ${hlClass}" href="${scriptDir}?q=${goTag}" style="background: ${tagColor}; color: var(--l4); font-size: ${tagSize};">${printTag}</a>
<a class="tag light border3 ${hlClass}" href="${scriptDir}?q=${goTag}" style="background: ${tagColor}; color: var(--l4); font-size: ${tagSize};">${printTag}</a>
`;
}else{
tagList += `
<a class="tag light border2 ${hlClass}" href="${scriptDir}?q=${goTag}" style="color: ${tagColor}; font-size: ${tagSize};">${printTag}</a>
<a class="tag light border3 ${hlClass}" href="${scriptDir}?q=${goTag}" style="color: ${tagColor}; font-size: ${tagSize};">${printTag}</a>
`;
}
@ -558,7 +558,7 @@ hlClassList2.forEach(function(item){
let hlClass = 'hlClass'+item;
item = item.toUpperCase();
hlClassList3 += `
<a class="tag light border2 ${hlClass}" onmouseover="hlwClassAdd('${hlClass}')" onmouseout="hlwClassRemove('${hlClass}')" href="#id${hlClass}" id="${hlClass}">${item}</a>
<a class="tag light border3 ${hlClass}" onmouseover="hlwClassAdd('${hlClass}')" onmouseout="hlwClassRemove('${hlClass}')" href="#id${hlClass}" id="${hlClass}">${item}</a>
`;
});

View file

@ -515,14 +515,14 @@ hlClassList += printTag2[0].toLowerCase();
if(q == tag){
tagList += `
<a class="tag light border2 ${hlClass}" href="${scriptDir}?q=${goTag}" style="background: ${tagColor}; color: var(--l4); font-size: ${tagSize};">${printTag}</a>
<a class="tag light border3 ${hlClass}" href="${scriptDir}?q=${goTag}" style="background: ${tagColor}; color: var(--l4); font-size: ${tagSize};">${printTag}</a>
`;
}else{
tagList += `
<a class="tag light border2 ${hlClass}" href="${scriptDir}?q=${goTag}" style="color: ${tagColor}; font-size: ${tagSize};">${printTag}</a>
<a class="tag light border3 ${hlClass}" href="${scriptDir}?q=${goTag}" style="color: ${tagColor}; font-size: ${tagSize};">${printTag}</a>
`;
}
@ -536,7 +536,7 @@ hlClassList2.forEach(function(item){
let hlClass = 'hlClass'+item;
item = item.toUpperCase();
hlClassList3 += `
<a class="tag light border2 ${hlClass}" onmouseover="hlwClassAdd('${hlClass}')" onmouseout="hlwClassRemove('${hlClass}')" href="#id${hlClass}" id="${hlClass}">${item}</a>
<a class="tag light border3 ${hlClass}" onmouseover="hlwClassAdd('${hlClass}')" onmouseout="hlwClassRemove('${hlClass}')" href="#id${hlClass}" id="${hlClass}">${item}</a>
`;
});

View file

@ -1083,10 +1083,10 @@ fuAds('', 'ads2', '');
<script src="/projects/1-blog/script.js"></script>
<style>
.postXL .pre { font-size: medium; text-transform: capitalize; }
.pre { font-size: medium; text-transform: capitalize; }
.pre a { text-transform: none; }
</style>
<script>
blog("echoBlog", blogJsonVar, 'postXL', 'off', 'on', '10', 'sitemap.html', 'off', '');
// printId, blogJsonVar, postClass, embedStatus, tagListStatus, postLimit, scriptDir, multiEmbedStatus

View file

@ -330,7 +330,8 @@ var blogJsonVar =
</script>
<style>
.post2 .pre { font-size: medium; text-transform: capitalize; }
.pre { font-size: medium; text-transform: capitalize; }
.pre a { text-transform: none; }
</style>