Add Nilesoft assets

This commit is contained in:
Martin Rüegg committed 2023-03-08 18:47:57 +01:00
1 parent 0374b41b23
commit 75122d7c3e
13 files changed
+1965

No files matched your search

+6
View File
@@ -44,7 +44,13 @@
<redirect url="^(.*)/$" exists="$1" to="$1/" processing="stop"/>
<redirect url="^(.*)/$" to="$1" processing="stop"/>
<!-- Do NOT rewrite everything under /assets/ and /images/ -->
<if url="^/(assets|images)($|/)">
<rewrite url="^/(.*)" to="~/$1" processing="stop"/>
</if>
<rewrite url="^/Default.aspx$" to="/Default.aspx?path=/" processing="stop"/>
<rewrite url="~/favicon.ico$" to="~/images/favicon.ico" processing="stop"/>
<rewrite url="^(/.*)$" to="/Default.aspx?path=$1" processing="stop"/>
File diff suppressed because it is too large. Load diff
+163
View File
@@ -0,0 +1,163 @@
html, body {
font-family: 'Open Sans';
color:#000000;
}
/* footer */
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
#mst-main { flex:1;}
#mst-footer {
color: black;
background-color: white;
}
ul.is-unstyled {
list-style: none;
margin: 0;
padding: 0;
}
ul.is-styled {
padding-left:3em;
}
ul.is-styled-square {
list-style-type:square;
padding-left:3em;
}
.menu-list a {
padding: 0.5em 0.75em;
}
.menu-list a:hover {
color: white;
background-color:black;
}
.navbar-menu.is-white .navbar-start > a.navbar-item:focus,
.navbar-menu.is-white .navbar-start > a.navbar-item:hover,
.navbar-menu.is-white .navbar-start > a.navbar-item.is-active,
.navbar-menu.is-white .navbar-start .navbar-link:focus,
.navbar-menu.is-white .navbar-start .navbar-link:hover,
.navbar-menu.is-white .navbar-start .navbar-link.is-active,
.navbar-menu.is-white .navbar-end > a.navbar-item:focus,
.navbar-menu.is-white .navbar-end > a.navbar-item:hover,
.navbar-menu.is-white .navbar-end > a.navbar-item.is-active,
.navbar-menu.is-white .navbar-end .navbar-link:focus,
.navbar-menu.is-white .navbar-end .navbar-link:hover,
.navbar-menu.is-white .navbar-end .navbar-link.is-active {
background-color: black;
color: white;
}
a.uline
{
text-decoration: none;
border-bottom: 1px solid currentColor;
}
//a {text-decoration: underline;}
a.underline {text-decoration: underline;}
a.navbar-item.is-active,
.navbar-link.is-active,
.menu-list a.is-active {
background-color: black;
color: white;
border-bottom: 0;
text-decoration: none;
}
/*
.navbar.is-white .navbar-brand .navbar-link::after {
border-color: #000000;
}*/
.syntax {color:black; }
.syntax-comment {color:#00aa00;}
.syntax-string {color:#A7154F;}
.syntax-number {color:#FF0080;}
.syntax-keyword {color:#0000FF;}
.syntax-code {font-weight:bolder;}
.syntax-prop {color:#aaa;}
.paypal {
font-weight:bolder;
}
.paypal i{
color: #007bff;
}
.item-slide {
box-sizing: border-box;
}
img.is-512{max-width: 512px;max-height: 512px;}
img.is-256{max-width: 256px;max-height: 256px;}
img.is-128{ max-width: 128px;max-height: 128px;}
img.is-100{max-width: 100%;height: auto;}
img.is-75{max-width: 75%;height: auto;}
img.is-50{max-width: 50%;height: auto;}
img.is-25{max-width: 25%; height: auto;}
.tags a.tag{text-decoration-line:none;background-color:black;color:white;}
.tags a.tag:hover{text-decoration-line:none;background-color:#808080;}
.modal-content-image {
overflow: auto;
position: relative;
text-align: center;
}
.size-32px{height: 32px;width:32px;}
.h-32px{height: 32px;}
.w-32px{width:32px;}
.border-left{border-left:1px solid #000;}
.border-right{border-right:1px solid #000;}
.border-top{border-top:1px solid #000;}
.border-bottom{border-bottom:1px solid #000;}
.post {
background-color: #fff;
border-radius: 0px;
box-shadow: 0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.02);
color: #4a4a4a;
display: block;
padding: 0;
margin-block: 2rem;
/*max-height:200px;
min-height:200px*/
}
.post-image {
padding: 0;
margin: 0;
}
img, video {
height: auto;
max-width: 100%;
}
.opacity-25 {
opacity: 50;
}
.opacity-50 {
opacity:50;
}
.opacity-75 {
opacity: 50;
}
.modal-background-white {
background-color: rgba(255,255,255,.95);
}
+166
View File
@@ -0,0 +1,166 @@
/* PrismJS 1.28.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+c+csharp+cpp+json+makefile+markdown+cshtml+uri */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #f5f5f5;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #080;
}
.token.punctuation {
color: #999;
}
.token.namespace {
opacity: .7;
}
.token.symbol,
.token.deleted {
color: #00f;
}
.token.numbers {
color: #f00;
}
.token.keyword,
.token.boolean {
color: #00f;
}
.token.color {
color: #f00;
}
.token.char {
color: #da1039;
}
.token.string {
color: #da1039;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
/* This background color was intended by the author of this theme. */
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value {
color: #07a;
}
.token.function {
color: #00a;
font-weight: bold;
}
.token.item {
/*color: #f0f;
font-weight: bold;*/
}
.token.property {
/*color: #a0a;*/
}
.token.class-name {
/*color: #f0f;*/
font-weight: bold;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.sections{
font-weight: bold;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+57
View File
@@ -0,0 +1,57 @@
$(async => {
var root = $(document.documentElement);
var body = $('body');
// Check for click events on the navbar burger icon
$('.navbar-burger').click(()=> {
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
$(this).toggleClass('is-active');
$('.navbar-menu').toggleClass('is-active');
});
$('.lightbox').click(function(link) {
link.preventDefault();
var lightbox = $(this);
if(!lightbox.is('a') && !lightbox.hasClass('lightbox'))
return 'Clicked item is not a link with class .lightbox';
var modal = $('<div class="modal is-active"></div>');
modal.append($('<div class="modal-background modal-background-white"></div>'),
$('<img class="modal-content-image" src="">').attr('src',lightbox.children('img').attr('src')));
body.append(modal);
root.addClass('is-clipped');
$(modal).click(()=>{
root.removeClass('is-clipped');
modal.remove();
});
$(document).keydown((event)=> {
var e = event || window.event;
if (e.keyCode === 27) {
root.removeClass('is-clipped');
modal.remove();
}
});
});
var Ubevca = async => {
var XTaDIdsy = ()=> {
if(typeof gtag !=='undefined'){gtag('event', 'adblock');}
var EEvTIiaA = $('<div class="modal is-active"><div class="modal-background"></div><div class="modal-content"><div class="box has-text-centered"><strong class="is-size-5 has-text-danger">Please disable your Ad Blocker</strong><p class="has-text-weight-light my-3">To help <strong>Shell</strong> keep it <strong>FREE</strong> turn off AdBlocker on our site. <br>Advertisement is only way to cover our server expenses. <br>We don’t show any popup & Annoying Ads.</p></div></div></div>');
body.append(EEvTIiaA);
root.addClass("is-clipped");
}
(async => {
var GyqcGnd = 0;
$('ins.adsbygoogle').each((i,e) => {
const x = $(e).get(0);
if(x.offsetLeft > -100 && x.offsetTop > -50 && (x.offsetHeight > 0 && x.offsetWidth > 0)) {
GyqcGnd++;
}
});
if(GyqcGnd === 0) {
XTaDIdsy();
} else try {
fetch("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",{ method: "HEAD", mode: "no-cors" })
.catch((err) => {XTaDIdsy();});
} catch(e) {
XTaDIdsy();
}
})();
};
});
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

+1
View File
@@ -0,0 +1 @@
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%"><path fill="#14DCFE" d="M200 100L300 0l106 106-100 100z"/><path fill="#14A0FF" d="M100 200l100-100 212 212-100 100z"/><path fill="#1465FF" d="M106 406l100-100 106 106-100 100z"/></svg>

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB