【子比主题美化】首页添加六小格-初一小盏
【子比主题美化】首页添加六小格
此内容为免费资源,请登录后查看
0
技术支持
一对一服务
安装调试
功能定制
免费资源

【子比主题美化】首页添加六小格

演示

效果图

图片[1]-【子比主题美化】首页添加六小格-初一小盏

前往后台-自定义-顶部全区块-自定义HTML

<!--六格区块开始-->
<div id="html-box-pckjl1" class="html-box">
	<style>
	@media (max-width: 800px){.Mrxu-block{display: none;}}
  .vxras-icon {
	  width: 2em;
	  height: 1.5em;
	  vertical-align: -0.15em;
	  fill: currentColor;
  }
  .Mrxu-block {
	padding-top: 0px;
	position: relative;
  }
  .Mrxu-block .cut-prev,.Mrxu-block .cut-next {
	position: absolute;
	font-size: 14px;
	top: 63px;
	width: 35px;
	height: 35px;
	text-align: center;
	line-height: 35px;
	color: #CCCCCC;
	background: #F3F4F7;
	border-radius: 50%;
	cursor: pointer;
  }
  .Mrxu-block .cut-prev {
	display: none;
	left: -55px;
  }
  .Mrxu-block .cut-next {
	right: -55px;
  }
  .Mrxu-block .cut-prev:hover,.Mrxu-block .cut-next:hover {
	color: #39AEFF;
	background: #F3F4F7;
  }
  .Mrxu-circulation {
	height: 228px;
	overflow: hidden;
  }
  .Mrxu-circulation ul {
	width: 300%;
  }
  .Mrxu-circulation ul li {
	float: left;
	position: relative;
	width: 5%;
	height: 100px;
	margin-right: 24px;
	z-index: 1;
  }
  .Mrxu-circulation ul li .Mrxu-content::before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 168px;
	height: 100px;
  }
  .Mrxu-circulation ul li .Mrxu-content {
	position: relative;
	height: 100px;
	font-size: 14px;
	border-radius: 10px;
	transition: 0.2s;
	overflow: hidden;
  }
  .Mrxu-content .Mrxu-top {
	display: block;
	position: relative;
	box-sizing: border-box;
	padding: 22px 0 0 16px;
	border-radius: 10px;
	overflow: hidden;
	height: 100px;
  }
  .Mrxu-name {
	position: relative;
	font-size: 26px;
	line-height: 26px;
	margin-bottom: 8px;
	z-index: 1;
  }
  .Mrxu-hint {
	position: relative;
	z-index: 1;
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  }
  .Mrxu-circulation ul li.off:hover .Mrxu-content {
	height: 100px;
  }
  .Mrxu-circulation ul li:hover .Mrxu-content {
	height: 218px;
	box-shadow: 0 6px 10px 0 rgba(0,0,0,0.10);
  }
  .Mrxu-circulation .color1 .Mrxu-content:hover {
	background: #FFD4D4;
  }
  .Mrxu-circulation .color1 .Mrxu-top {
	color: #C68686;
  }
  .Mrxu-circulation .color1 .Mrxu-name {
	color: #5B0000;
  }
  .Mrxu-circulation li.color1 .Mrxu-content::before {
	background-position: 0 -100px;
  }
  .Mrxu-circulation .color2 .Mrxu-content:hover {
	background: #C9F1ED;
  }
  .Mrxu-circulation .color2 .Mrxu-top {
	color: #87BAB5;
  }
  .Mrxu-circulation .color2 .Mrxu-name {
	color: #0C534D;
  }
  .Mrxu-circulation li.color2 .Mrxu-content::before {
	background-position: -178px -100px;
  }
  .Mrxu-circulation .color3 .Mrxu-content:hover {
	background: #FFECB4;
  }
  .Mrxu-circulation .color3 .Mrxu-top {
	color: #DEBD83;
  }
  .Mrxu-circulation .color3 .Mrxu-name {
	color: #844000;
  }
  .Mrxu-circulation li.color3 .Mrxu-content::before {
	background-position: -534px -100px;
  }
  .Mrxu-circulation .color4 .Mrxu-content:hover {
	background: #FFD4D4;
  }
  .Mrxu-circulation .color4 .Mrxu-top {
	color: #BD7C7C;
  }
  .Mrxu-circulation .color4 .Mrxu-name {
	color: #5B0000;
  }
  .Mrxu-circulation li.color4 .Mrxu-content::before {
	background-position: -1424px -100px;
  }
  .Mrxu-circulation .color5 .Mrxu-content:hover {
	background: #FFE2EF;
  }
  .Mrxu-circulation .color5 .Mrxu-top {
	color: #D390A7;
  }
  .Mrxu-circulation .color5 .Mrxu-name {
	color: #840028;
  }
  .Mrxu-circulation li.color5 .Mrxu-content::before {
	background-position: -712px -100px;
  }
  .Mrxu-circulation .color6 .Mrxu-content:hover {
	background: #FFE2D0;
  }
  .Mrxu-circulation .color6 .Mrxu-top {
	color: #D49D86;
  }
  .Mrxu-circulation .color6 .Mrxu-name {
	color: #842100;
  }
  .Mrxu-circulation li.color6 .Mrxu-content::before {
	background-position: -890px -100px;
  }
  .Mrxu-content .Mrxu-top i {
	position: absolute;
	top: 0;
	right: -20px;
	width: 130px;
	height: 100px;
	background: url(/img/icon001.png) no-repeat 0 0;
  }
  .Mrxu-circulation li .icon1 {
	background-position: 0px 0;
  }
  .Mrxu-circulation li .icon2 {
	background-position: -140px 0;
  }
  .Mrxu-circulation li .icon3 {
	background-position: -280px 0;
  }
  .Mrxu-circulation li .icon4 {
	background-position: -410px 0;
  }
  .Mrxu-circulation li .icon5 {
	background-position: -530px 0;
  }
  .Mrxu-circulation li .icon6 {
	background-position: -650px 0;
  }
  .Mrxu-block .Mrxu-content {
	height: 100px;
  }
  .Mrxu-block .Mrxu-link {
	text-align: center;
	line-height: 26px;
	font-size: 14px;
  }
  .Mrxu-block .Mrxu-link a {
	margin: 10px 1px 0;
	display: inline-block;
	background: rgba(255,255,255,0.50);
	width: 77px;
	height: 26px;
	border-radius: 13px;
	font-size: 13px;
  }
  .Mrxu-block .Mrxu-link a:hover {
	background: #fff;
	color: #666;
  }
  .Mrxu-classify {
	margin: -87px 0 0;
	padding-bottom: 30px;
	white-space: nowrap;
  }
  .Mrxu-classify li {
	width: 10%;
	position: relative;
	display: inline-block;
  }
  .Mrxu-classify li::before {
	content: '';
	position: absolute;
	right: -1px;
	top: 2px;
	width: 2px;
	height: 16px;
	background: #DDDDDD;
  }
  .Mrxu-classify li:nth-child(10)::before {
	display: none;
  }
  .Mrxu-classify li .iconfont {
	font-size: 16px;
	color: #39AEFF;
	margin-right: 6px;
  }
  .Mrxu-classify li a {
	margin-left: 6%;
	font-size: 14px;
	color: #666666;
  }
  .Mrxu-classify li a:hover {
	color: #2CAEFF;
  }
  .Mrxu-classify li.more {
	display: none;
  }
  .Mrxu-classify li.more i {
	vertical-align: -3px;
	margin-right: 4px;
  }
  .Mrxu-circulation li.AnRotate .Mrxu-top i {
	animation: AnRotate 1.2s ease-in-out infinite alternate;
	transform-origin: 76px 90%;
  }
  </style>
	<div class="banxin Mrxu-block">
		  <div class="Mrxu-circulation">
			  <ul>
				  <li class="color1">
					  <div class="Mrxu-content">
						  <a class="Mrxu-top" href="/media">
							  <p class="Mrxu-name">教程</p>
							  <p class="Mrxu-hint">各种建站知识</p>
							  <i class="icon1"></i>
						  </a>
						  <div class="Mrxu-link">
							  <a href="/?s=WordPress">WordPress</a>
							  <a href="/?s=子比主题">子比主题</a>
							  <a href="/?s=美化">美化</a>
							  <a href="/?s=建站知识">建站知识</a>
						  </div>
					  </div>
				  </li>
				  <li class="color2">
					  <div class="Mrxu-content">
						  <a class="Mrxu-top" href="/down">
							  <p class="Mrxu-name">工具</p>
							  <p class="Mrxu-hint">低调用~</p>
							  <i class="icon2"></i>
						  </a>
						  <div class="Mrxu-link">
							  <a href="/?s=安卓">安卓</a>
							  <a href="/?s=PC">PC</a>
						  </div>
					  </div>
				  </li>
				  <li class="color3">
					  <div class="Mrxu-content">
						  <a class="Mrxu-top" href="theme">
							  <p class="Mrxu-name">模板</p>
							  <p class="Mrxu-hint">精美漂亮的主题</p>
							  <i class="icon3"></i>
						  </a>
						  <div class="Mrxu-link">
							  <a href="/?s=苹果CMS">苹果CMS</a>
							  <a href="/?s=Typecho">Typecho</a>
							  <a href="/?s=Wordpress">WordPress</a>
							  <a href="/?s=Discuz">Discuz</a>
						  </div>
					  </div>
				  </li>
				  <li class="color4">
					  <div class="Mrxu-content">
						  <a class="Mrxu-top" href="/code">
							  <p class="Mrxu-name">源码</p>
							  <p class="Mrxu-hint">一键式建站</p>
							  <i class="icon4"></i>
						  </a>
						  <div class="Mrxu-link">
							  <a href="/?s=个人主页">个人主页</a>
							  <a href="/?s=发布页">发布页</a>
							  <a href="/?s=商城">商城</a>
							  <a href="/?s=APP">APP</a>
						  </div>
					  </div>
				  </li>
				  <li class="color5">
					  <div class="Mrxu-content">
						  <a class="Mrxu-top" href="/forums">
							  <p class="Mrxu-name">星球</p>
							  <p class="Mrxu-hint">社交活动中心</p>
							  <i class="icon5"></i>
						  </a>
						  <div class="Mrxu-link">
							  <a href="/forum/388.html">日式JK</a>
							  <a href="/forum/387.html">古风汉服</a>
							  <a href="/forum/404.html">动漫·游戏</a>
							  <a href="/forum/389.html">死库水</a>
						  </div>
					  </div>
				  </li>
				  <li class="color6">
					  <div class="Mrxu-content">
						  <a class="Mrxu-top" href="#">
							  <p class="Mrxu-name">更多</p>
							  <p class="Mrxu-hint">关于我们</p>
							  <i class="icon6"></i>
						  </a>
						  <div class="Mrxu-link">
							  <a href="/links">友情链接</a>
							  <a href="/ranklist">排行榜</a>
						  </div>
					  </div>
				  </li>
			  </ul>
		  </div>
		  <ul class="Mrxu-classify">
			  <li>
				  <a href="/forum/388.html"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-tupian"></use></svg>日式JK</a>
			  </li>
			  <li>
				  <a href="/forum/387.html"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-yingshi"></use></svg>古风汉服</a>
			  </li>
			  <li>
		  <a class="pay-vip" href="javascript:;"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-dianpu"></use></svg>会员</a> 
			  </li>
			  <li>
				  <a href="/cheetahfun"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-paizhao"></use></svg>动态壁纸</a>
			  </li>
			  <li>
				  <a href="/links"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-huodong"></use></svg>友链</a>
			  </li>
			  <li>
				  <a href="https://www.zibll.com/pay-zibll?ref=14859"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-liwu"></use></svg>礼物</a>
			  </li>
			  <li>
				  <a href="#"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-youhuiquan"></use></svg>优惠券</a>
			  </li>
			  <li>
				  <a href="/user/balance"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-kabao"></use></svg>钱包</a>
			  </li>
			  <li>
				  
		  <a href="https://wpa.qq.com/msgrd?v=3&uin=82719519&site=qq&menu=yes&jumpflag=1"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-kehu"></use></svg>客服</a>
			  </li>
			  <li>
				<a class="initiate-checkin" href="javascript:;" form-action="user_checkin"><svg class="vxras-icon" aria-hidden="true"><use xlink:href="#icon-rili"></use></svg>签到</a>
			  </li>
		  </ul>
	   </div>
	 </div>
  <script type="text/javascript" src="//at.alicdn.com/t/font_2696731_fbdj49dums.js"></script>
<!--六格区块结束-->

附件放到网站跟目录

© 版权声明
THE END
点赞13赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容