chore: migrate assets/ to site/public/images/ (#549)
Remove legacy assets/ directory (pre-Astro era). Images were already duplicated under site/public/images/; update README sponsor URLs to point to the new location.
|
|
@ -10,7 +10,7 @@ Collection available here: **[https://samber.github.io/awesome-prometheus-alerts
|
|||
<br>
|
||||
<a href="https://cast.ai/samuel">
|
||||
<div>
|
||||
<img src="https://samber.github.io/awesome-prometheus-alerts/assets/sponsor-cast-ai.png" width="200" alt="Cast AI">
|
||||
<img src="https://samber.github.io/awesome-prometheus-alerts/images/sponsor-cast-ai.png" width="200" alt="Cast AI">
|
||||
</div>
|
||||
<div>
|
||||
Cut Kubernetes & AI costs, boost application stability.
|
||||
|
|
@ -19,7 +19,7 @@ Collection available here: **[https://samber.github.io/awesome-prometheus-alerts
|
|||
<br>
|
||||
<a href="https://betterstack.com">
|
||||
<div>
|
||||
<img src="https://samber.github.io/awesome-prometheus-alerts/assets/sponsor-betterstack.png" width="200" alt="Better Stack">
|
||||
<img src="https://samber.github.io/awesome-prometheus-alerts/images/sponsor-betterstack.png" width="200" alt="Better Stack">
|
||||
</div>
|
||||
<div>
|
||||
Better Stack lets you centralize, search, and visualize your logs.
|
||||
|
|
|
|||
|
|
@ -1,256 +0,0 @@
|
|||
a.anchor {
|
||||
font-size: 15px;
|
||||
vertical-align: middle;
|
||||
color: darkblue;
|
||||
display: inline-block;
|
||||
padding-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
opacity: 0;
|
||||
transition: opacity 0.4s;
|
||||
}
|
||||
|
||||
h2:hover a.anchor,
|
||||
h3:hover a.anchor,
|
||||
h4:hover a.anchor {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
summary {
|
||||
position: relative;
|
||||
padding-left: 60px;
|
||||
padding-right: 50px;
|
||||
margin-bottom: 15px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.clipboard-single,
|
||||
.clipboard-multiple {
|
||||
right: 0;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #606c71;
|
||||
}
|
||||
|
||||
/* NAVBAR */
|
||||
#rules-navbar.affix {
|
||||
/* showed by JS */
|
||||
display: none;
|
||||
|
||||
position: fixed;
|
||||
overflow: auto;
|
||||
top: 0;
|
||||
right: 0;
|
||||
max-width: 250px;
|
||||
max-height: 100%;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
padding-left: 20px;
|
||||
padding-right: 10px;
|
||||
|
||||
background-color: #f3f6fa;
|
||||
}
|
||||
|
||||
/* hide menu on small screens */
|
||||
@media screen and (max-width: 1350px) {
|
||||
#rules-navbar.affix {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* hide menu scrollbar */
|
||||
#rules-navbar.affix::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#rules-navbar.affix {
|
||||
-ms-overflow-style: none;
|
||||
/* IE and Edge */
|
||||
scrollbar-width: none;
|
||||
/* Firefox */
|
||||
}
|
||||
|
||||
#rules-navbar.affix h3 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#rules-navbar.affix h4 {
|
||||
margin: 0;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
#rules-navbar.affix ul,
|
||||
#rules-navbar.affix ul li {
|
||||
margin: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
#rules-navbar.affix>ul {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#rules-navbar.affix>ul>li {
|
||||
margin-bottom: 10px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#rules-navbar.affix a {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
/* https://github.com/samber/awesome-prometheus-alerts/issues/356 */
|
||||
@media screen and (min-width: 64em) {
|
||||
.main-content {
|
||||
max-width: 85rem;
|
||||
}
|
||||
}
|
||||
|
||||
ul#sponsoring {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
ul#sponsoring li {
|
||||
display: flex;
|
||||
padding: 0px 15px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
ul#sponsoring li a {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
ul#sponsoring li a img {
|
||||
max-width: 180px;
|
||||
max-height: 40px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
||||
#rules-navbar.affix {
|
||||
background-color: #2b2b2b;
|
||||
}
|
||||
|
||||
/*********************** style.css overrides ******************************/
|
||||
/* This should *probably* be its own theme instead. */
|
||||
|
||||
body {
|
||||
color: #a3b0b6;
|
||||
background-color: #242424;
|
||||
}
|
||||
.page-header {
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #006128;
|
||||
background-image: linear-gradient(120deg, #002968, #003c04);
|
||||
}
|
||||
.site-footer {
|
||||
border-top: solid 1px #525354;
|
||||
}
|
||||
hr {
|
||||
background-color: #525354!important;
|
||||
}
|
||||
a {
|
||||
color: #3d86d6;
|
||||
}
|
||||
.main-content h1 ,
|
||||
.main-content h2 ,
|
||||
.main-content h3 ,
|
||||
.main-content h4 ,
|
||||
.main-content h5 ,
|
||||
.main-content h6 {
|
||||
color: #55c883;
|
||||
}
|
||||
|
||||
/* Syntax Highlighting from dark-plus of pygments-styles */
|
||||
/* See: https://github.com/lepture/pygments-styles */
|
||||
.main-content pre {
|
||||
background: #1E1E1E;
|
||||
border: solid 1px #272f36;
|
||||
}
|
||||
code, .highlight {
|
||||
background: #1E1E1E;
|
||||
color: #D4D4D4
|
||||
}
|
||||
.highlight .hll {
|
||||
background-color: #ADD6FF26
|
||||
}
|
||||
.highlight .c { color: #6A9955 }
|
||||
.highlight .err { color: #F44747 }
|
||||
.highlight .k { color: #C586C0 }
|
||||
.highlight .l { color: #CE9178 }
|
||||
.highlight .ch { color: #6A9955 }
|
||||
.highlight .cm { color: #6A9955 }
|
||||
.highlight .cp { color: #C586C0 }
|
||||
.highlight .cpf { color: #CE9178 }
|
||||
.highlight .c1 { color: #6A9955 }
|
||||
.highlight .cs { color: #6A9955 }
|
||||
.highlight .gd { color: #CE9178 }
|
||||
.highlight .ge { font-style: italic }
|
||||
.highlight .gr { color: #F44747 }
|
||||
.highlight .gh { color: #569CD6 }
|
||||
.highlight .gi { color: #B5CEA8 }
|
||||
.highlight .go { color: #CE9178 }
|
||||
.highlight .gp { color: #C8C8C8 }
|
||||
.highlight .gs { color: #569CD6; font-weight: bold }
|
||||
.highlight .gu { color: #569CD6 }
|
||||
.highlight .gt { color: #F44747 }
|
||||
.highlight .kc { color: #CE9178 }
|
||||
.highlight .kd { color: #C586C0 }
|
||||
.highlight .kn { color: #C586C0 }
|
||||
.highlight .kp { color: #D7BA7D }
|
||||
.highlight .kr { color: #C586C0 }
|
||||
.highlight .kt { color: #569CD6 }
|
||||
.highlight .ld { color: #CE9178 }
|
||||
.highlight .m { color: #B5CEA8 }
|
||||
.highlight .s { color: #CE9178 }
|
||||
.highlight .na { color: #9CDCFE }
|
||||
.highlight .nb { color: #DCDCAA }
|
||||
.highlight .nc { color: #4EC9B0 }
|
||||
.highlight .no { color: #B5CEA8 }
|
||||
.highlight .nd { color: #DCDCAA }
|
||||
.highlight .ne { color: #4EC9B0 }
|
||||
.highlight .nf { color: #DCDCAA }
|
||||
.highlight .nl { color: #C8C8C8 }
|
||||
.highlight .nx { color: #D4D4D4 }
|
||||
.highlight .nt { color: #569CD6 }
|
||||
.highlight .w { color: #D4D4D4 }
|
||||
.highlight .mb { color: #B5CEA8 }
|
||||
.highlight .mf { color: #B5CEA8 }
|
||||
.highlight .mh { color: #B5CEA8 }
|
||||
.highlight .mi { color: #B5CEA8 }
|
||||
.highlight .mo { color: #B5CEA8 }
|
||||
.highlight .sa { color: #CE9178 }
|
||||
.highlight .sb { color: #CE9178 }
|
||||
.highlight .sc { color: #CE9178 }
|
||||
.highlight .dl { color: #CE9178 }
|
||||
.highlight .sd { color: #CE9178 }
|
||||
.highlight .s2 { color: #CE9178 }
|
||||
.highlight .se { color: #CE9178 }
|
||||
.highlight .sh { color: #CE9178 }
|
||||
.highlight .si { color: #569CD6 }
|
||||
.highlight .sx { color: #CE9178 }
|
||||
.highlight .sr { color: #D16969 }
|
||||
.highlight .s1 { color: #CE9178 }
|
||||
.highlight .ss { color: #CE9178 }
|
||||
.highlight .bp { color: #D7BA7D }
|
||||
.highlight .fm { color: #DCDCAA }
|
||||
.highlight .il { color: #B5CEA8 }
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
|
@ -1,16 +0,0 @@
|
|||
$(function () {
|
||||
var clipboardRules = new ClipboardJS('.clipboard-single', {
|
||||
text: function (trigger) {
|
||||
const id = trigger.getAttribute('data-clipboard-target-id');
|
||||
const html = $("#" + id + " .highlight");
|
||||
return html.text() + '\n';
|
||||
},
|
||||
});
|
||||
var clipboardCategories = new ClipboardJS('.clipboard-multiple', {
|
||||
text: function (trigger) {
|
||||
const id = trigger.getAttribute('data-clipboard-target-id');
|
||||
const html = $("[id^=" + id + "] .highlight");
|
||||
return Array.from(html.map((i, target) => $(target).text())).join('\n\n');
|
||||
},
|
||||
});
|
||||
});
|
||||
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |