惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
罗磊的独立博客
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
V
V2EX
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
量子位
MyScale Blog
MyScale Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
L
LangChain Blog
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
有赞技术团队
有赞技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
B
Blog

fishcpy的小破站

fishcpy的小破站 提醒大家注意用电用火安全 | fishcpy的小破站 新版本词幕使用体验 | fishcpy的小破站 词幕-墨.状态栏歌词替代品 | fishcpy的小破站 cloudflare tunnel优化 | fishcpy的小破站 使用napcat推送uptime kuma事件到QQ群或个人消息 | fishcpy的小破站 关于cloudflare分配.1 | fishcpy的小破站 给你的Fuwari加一个AI摘要 | fishcpy的小破站 新主题astro-theme-fishcpy | fishcpy的小破站 非人哉:限时玩家评价 | fishcpy的小破站 trae AI 编辑器SOLO模式貌似会注入广告 | fishcpy的小破站 给你的Fuwari加一个链接大卡片 | fishcpy的小破站 我名字的由来 | fishcpy的小破站 我的第一个图片API发布啦 | fishcpy的小破站 记一次和福瑞朋友去漫展 | fishcpy的小破站 腾讯EO加速cloudflare内网穿透 | fishcpy的小破站 江西研学 | fishcpy的小破站 哪吒监控 V1美化 | fishcpy的小破站 可以屏蔽的测速ip | fishcpy的小破站 使用1panel搭建免费开源的icp虚拟备案系统 | fishcpy的小破站 25.5.3-5.4被攻击经过 | fishcpy的小破站 小米平板7pro澎湃os2Beta版使用体验 | fishcpy的小破站 音乐播放器预览 | fishcpy的小破站 爱国图片 | fishcpy的小破站 极域 | fishcpy的小破站 一班热榜历史记录2024-2025(下半学期) | fishcpy的小破站 启用cloudflare cdn后js无法正常加载解决办法 | fishcpy的小破站 给你的博客加上一个十年倒计时吧 | fishcpy的小破站 水-1 | fishcpy的小破站 在byrutgame上下载免费游戏 | fishcpy的小破站
Uptime Kuma监控美化 | fishcpy的小破站
fishcpy, fishcpy@qq.com · 2025-08-09 · via fishcpy的小破站

首先需要部署Uptime Kuma,可以在docker等平台部署,这里不多说,自己看看github仓库

美化

我这里提供一个css,可以参考一下,我也是用别人css加了一点效果

具体效果可以看我的监控站

markdown
:root {
  --bs-white: #fff;
  --bs-dark: #212529;
  --bs-green: #008000;
  --bs-danger: #dc3545;
  --bs-body-bg: #f6f7f9;
  --bs-blue: #0d6efd;
  --bg-linear-gradient: linear-gradient(180deg, #f6f6f6, #f8f8f8);
  --border-solid-main: 2px solid var(--bs-white);
  --border-solid-small: 1px solid var(--bs-white);
  --shadow-inset-box: inset -4px -4px 12px #f1f1f1, inset 4px 4px 12px #e2e2e2;
}

.dark {
  --bs-white: #2d2d2d;
  --bs-dark: #e9ecef;
  --bs-green: #00c800;
  --bs-danger: #dc3545;
  --bs-body-bg: #222222;
  --bg-linear-gradient: linear-gradient(180deg, #242424, #222222);
  --border-solid-main: 2px solid rgba(45, 45, 45, 0.8);
  --border-solid-small: 1px solid rgba(45, 45, 45, 0.6);
  --shadow-inset-box: inset -4px -4px 12px #0d0d0d, inset 4px 4px 12px #1a1a1a;
}

body {
  background-color: var(--bs-body-bg) !important;
}

/* 全局样式 */
body {
  font-family: 'CustomFont', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  background-image: url('https://api.fis.ink/mc');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* LOGO标题样式 */
.title-flex {
  font-weight: bold;
  justify-content: center;
}

/* 按钮 */
.btn-info {
  color: var(--bs-dark);
  background-image: var(--bg-linear-gradient);
  border: var(--border-solid-main);
  background-color: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none !important;
}

.btn-info:hover {
  color: var(--bs-dark);
  background-color: transparent;
  border-color: unset;
  box-shadow: none !important;
}

/* 服务组标题 */
.group-title {
  font-size: 2.5rem;
  font-weight: 700;
  opacity: .5;
  -webkit-mask: linear-gradient(var(--bs-white) 50%, transparent);
  mask: linear-gradient(var(--bs-white) 50%, transparent);
  text-stroke: 1px var(--bs-dark);
  -webkit-text-stroke: 1px var(--bs-dark);
  -webkit-text-fill-color: transparent;
}

/* 服务项目列表样式 */
.monitor-list .monitor-list {
  min-height: 45px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.monitor-list .item .info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.info1::before,
.info1::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--bs-white);
  margin: 0.5rem 0;
  border-radius: 50%;
  animation: breath 1.5s ease-in-out infinite;
}

.info1::after {
  animation-delay: 0.75s;
}

.info .bg-danger+.item-name {
  color: var(--bs-red);
}

.shadow-box {
  margin-top: 0 !important;
  background-image: var(--bg-linear-gradient);
  box-shadow: none !important;
}

div[data-v-f71ca08e].mb-5:hover .group-title {
  -webkit-text-fill-color: var(--bs-dark);
}

.monitor-list .item {
  box-shadow: none !important;
}

.monitor-list .item:hover {
  background-color: rgba(0, 0, 0, 0.5) !important;
  box-shadow: none !important;
}

.dark .monitor-list .item:hover {
  background-color: var(--bs-body-bg);
  box-shadow: none !important;
}

/* 服务项目列表标题样式 */
.item-name {
  font-weight: bold;
}

a {
  text-decoration: none !important;
}

a.item-name:hover {
  color: var(--bs-blue) !important;
}

.overall-status .ok {
  color: var(--bs-green) !important;
}

.hp-bar-big .beat[data-v-636dc6a9] {
  background-color: var(--bs-green);
}

.item .row {
  justify-content: space-between;
}

.info .badge.rounded-pill.bg-primary {
  --bg: var(--bs-green);
}

.info .badge.rounded-pill.bg-danger {
  --bg: var(--bs-danger);
}

.info .badge.rounded-pill {
  position: relative;
  display: flex;
  min-width: auto;
  width: 1rem;
  margin-left: 0.1rem;
  font-size: 0;
  justify-content: center;
  align-items: center;
  background-color: transparent !important;
}

.info .badge.rounded-pill::before {
  position: absolute;
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--bg);
  animation: breath 1.1s ease-in-out infinite;
}

.info .badge.rounded-pill::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: var(--bg);
}

@keyframes breath {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* 隐藏更新时间 */
.refresh-info.mb-2 {
  display: none;
}

/* 公共样式优化 */
.col-md-4 {
  width: 50%;
}

.col-md-8 {
  max-width: 50%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.mb-5 {
  margin-bottom: 2rem !important;
}

/* 底部样式 */
footer[data-v-b8247e57] {
  margin: 1.5rem 0 !important;
}

footer p {
  margin: 0 !important;
}

/* 适配手机 */
@media screen and (max-width: 768px) {
  .monitor-list .monitor-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .group-title {
    font-size: 2rem;
  }
}

/* 全局半透明背景卡片 */
.shadow-box,
.monitor-list .item {
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 暗色模式下卡片透明度调低 */
.dark .shadow-box,
.dark .monitor-list .item,
.dark .btn-info {
  background-color: rgba(34, 34, 34, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 标题透明度柔和 */
.group-title {
  opacity: 0.5;
}

如果你需要自定义背景可以把上方css中的第36行左右的 https://api.fis.ink/mc 换为自己的图片或图片api