哪吒面板优化代码

<style>
/* 屏幕适配 */
@media only screen and (min-width: 1200px) {
    .ui.container {
    width: 80% !important;
}
}
@media only screen and (max-width: 767px) {
    .ui.card>.content>.header:not(.ui), .ui.cards>.card>.content>.header:not(.ui) {
        margin-top: 0.4em !important;
    }
}
/* 整体图标 */
i.icon {
    color: #000;
    width: 1.2em !important;
}
/* 背景图片 */
body {
    content: " " !important;
    background: fixed !important;
    z-index: -1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background-position: top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-image: url(https://gitee.com/darki/img/raw/master/1631081013043.webp) !important;
    font-family: Arial,Helvetica,sans-serif !important;
}
/* 导航栏 */
.ui.large.menu {
    border: 0 !important;
    border-radius: 0px !important;
    background-color: rgba(255, 255, 255, 55%) !important;
}
/* 首页按钮 */
.ui.menu .active.item {
    background-color: transparent !important;
}
/* 导航栏下拉框 */
.ui.dropdown .menu {
    border: 0 !important;
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 80%) !important;
}
/* 登陆按钮 */
.nezha-primary-btn {
    background-color: transparent !important;
    color: #000 !important;
}
/* 大卡片 */
#app .ui.fluid.accordion {
    background-color: #fbfbfb26 !important;
    border-radius: 0.4rem !important;
}
/* 小卡片 */
.ui.four.cards>.card {
    border-radius: 0.6rem !important;
    background-color: #fafafaa3 !important;
}
.status.cards .wide.column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 3.3rem !important;
}
.status.cards .three.wide.column {
    padding-right: 0rem !important;
}
.status.cards .wide.column:nth-child(1) {
    margin-top: 2rem !important;
}
.status.cards .wide.column:nth-child(2) {
    margin-top: 2rem !important;
}
.status.cards .description {
    padding-bottom: 0 !important;
}
/* 小鸡名 */
.status.cards .flag {
    margin-right: 0.5rem !important;
}
/* 弹出卡片图标 */
.status.cards .header > .info.icon {
    margin-right: 0 !important;
}
.nezha-secondary-font {
    color: #21ba45 !important;
}
/* 进度条 */
.ui.progress {
    border-radius: 50rem !important;
}
.ui.progress .bar {
    min-width: 1.8em !important;
    border-radius: 15px !important;
    line-height: 1.65em !important;
}
.ui.fine.progress> .bar {
    background-color: #21ba45 !important;
}
.ui.progress> .bar {
    background-color: #000 !important;
}
.ui.progress.fine .bar {
    background-color: #21ba45 !important;
}
.ui.progress.warning .bar {
    background-color: #ff9800 !important;
}
.ui.progress.error .bar {
    background-color: #e41e10 !important;
}
.ui.progress.offline .bar {
    background-color: #000 !important;
}
/* 上传下载 */
.status.cards .outline.icon {
    margin-right: 1px !important;
}
i.arrow.alternate.circle.down.outline.icon {
    color: #21ba45 !important;
}
i.arrow.alternate.circle.up.outline.icon {
    color: red !important;
}
/* 弹出卡片小箭头 */
.ui.right.center.popup {
    margin: -3px 0 0 0.914286em !important;
    -webkit-transform-origin: left 50% !important;
    transform-origin: left 50% !important;
}
.ui.bottom.left.popup {
    margin-left: 1px !important;
    margin-top: 3px !important;
}
.ui.top.left.popup {
    margin-left: 0 !important;
    margin-bottom: 10px !important;
}
.ui.top.right.popup {
    margin-right: 0 !important;
    margin-bottom: 8px !important;
}
.ui.left.center.popup {
    margin: -3px .91428571em 0 0 !important;
    -webkit-transform-origin: right 50% !important;
    transform-origin: right 50% !important;
}
.ui.right.center.popup:before,
.ui.left.center.popup:before {
    border: 0px solid #fafafaeb !important;
    background: #fafafaeb !important;
}
.ui.top.popup:before {
    border-color: #fafafaeb transparent transparent !important;
}
.ui.popup:before {
    border-color: #fafafaeb transparent transparent !important;
}
.ui.bottom.left.popup:before {
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    border-color: #fafafaeb transparent transparent !important;
    background: #fafafaeb !important;
    -webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
    box-shadow: 0px 0px 0 0 #fafafaeb !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
.ui.bottom.right.popup:before {
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    border-color: #fafafaeb transparent transparent !important;
    background: #fafafaeb !important
    -webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
    box-shadow: 0px 0px 0 0 #fafafaeb !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
.ui.top.left.popup:before {
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    border-color: #fafafaeb transparent transparent !important;
    background: #fafafaeb !important;
    -webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
    box-shadow: 0px 0px 0 0 #fafafaeb !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
.ui.top.right.popup:before {
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    border-color: #fafafaeb transparent transparent !important;
    background: #fafafaeb !important;
    -webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
    box-shadow: 0px 0px 0 0 #fafafaeb !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
.ui.left.center.popup:before {
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    border-color: #fafafaeb transparent transparent !important;
    background: #fafafaeb !important;
    -webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
    box-shadow: 0px 0px 0 0 #fafafaeb !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
/* 弹出卡片 */
.status.cards .ui.content.popup {
    min-width: 20rem !important;
    line-height: 2rem !important;
    border-radius: 5px !important;
    border: 1px solid transparent !important;
    background-color: #fafafaeb !important;
    font-family: Arial,Helvetica,sans-serif !important;
}
.ui.content {
    margin: 0 !important;
    padding: 1em !important;
}
/* 服务页 */
.ui.table {
    background: RGB(225,225,225,0.6) !important;
}
.ui.table thead th {
    background: transparent !important;
}
/* 服务页进度条 */
.service-status .good {
    background-color: #21ba45 !important;
}
.service-status .danger {
    background-color: red !important;
}
.service-status .warning {
    background-color: orange !important;
}
/* 版权 */
.ui.inverted.segment, .ui.primary.inverted.segment {
    color: #000 !important;
    font-weight: bold !important;
    background-color: #fafafaa3 !important;
}
</style>
<!--Logo和版权-->
<script>
window.onload = function(){
var avatar=document.querySelector(".item img")
var footer=document.querySelector("div.is-size-7")
footer.innerHTML="Yusky"
footer.style.visibility="visible"
avatar.src="https://ii.do/favicon.ico"
avatar.style.visibility="visible"
}
</script>

 

主题测试文章,只做测试使用。发布者:Yusky,转转请注明出处:https://yusky.me/%e5%93%aa%e5%90%92%e9%9d%a2%e6%9d%bf%e4%bc%98%e5%8c%96%e4%bb%a3%e7%a0%81.html

(0)
Yusky的头像Yusky
上一篇 2022 年 12 月 15 日
下一篇 2023 年 1 月 3 日

相关推荐

  • Linux下出现Read-only file system的解决办法

    正常运行中的网站,忽然间出现session目录不可写,连接服务器一看,任何关于写硬盘的命令都不能用,提示Read-only file system,使用一条命令即可搞定此问题: mount -o remount rw /

    Linux 2016 年 5 月 7 日
    4.1K00
  • CentOS6.3下nginx性能调优

    一.NGINX优化配置 1.主配置文件优化: # vi /usr/local/nginx/conf/nginx.conf —————————————– user nginx nginx; worker_processes 8; worker_cpu_affinity 00000001 00000010 0…

    2013 年 10 月 25 日
    7.1K20
  • CentOS yum安装和卸载软件的使用方法

    安装方法 安装一个软件时 yum -y install httpd 安装多个相类似的软件时 yum -y install httpd* 安装多个非类似软件时 yum -y install httpd php php-gd mysql 卸载一个软件时 yum -y remove httpd 卸载多个相类似的软件时 yum -y remove httpd* 卸载…

    Linux 2014 年 4 月 8 日
    5.1K20
  • DirectAdmin安装Ioncube组件

    先看看自己用是32位系统还是64位的! cat /etc/redhat-release or uname -a 32位系统: cd /usr/local/ wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar xvfz ioncube_lo…

    Linux 2015 年 11 月 27 日
    2.3K00
  • Start MySQL.. ERROR! Manager of pid-file quit without updating file 解决方法

    今天一个客户跟我说,网站突然出现“建立数据库连接时出错”,连上他的VPS [root@server1 ~]# service mysqld restart //首先重启MYSQL试试 ERROR! MySQL manager or server PID file could not be found! //错误,没有找到MYSQL PID文件 Startin…

    Linux 2014 年 6 月 10 日
    7.3K50

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:[email protected]

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
自6.2开始主题新增页头通知功能,购买用户可免费升级到最新版体验