收藏文章 楼主

css

版块:网站建设   类型:普通   作者:小绿叶技术博客   查看:222   回复:0   获赞:0   时间:2024-07-23 10:29:19


# 代码模式调整:
# /datadisk/eisc/www/www/app/puyuetian_codebox/template/css/css.css

.pk-code {
    position: relative;
}

.pk-code>ul {
    background-color: #f8f8f8;
    color: #333;
    list-style: none;
    font-size: 12px;
    border-radius: 2px;
    position: relative;
    letter-spacing: 1px;
    line-height: 20px;
    font-weight: normal;
    font-family: monospace;
}
/* 代码: 字体大小 font-size  间距 line-height */

.pk-code>ul>li::before {
    color: #999;
    content: counter(number);
    position: absolute;
    left: 0;
    text-align: right;
    padding-right: 10px;
}

.pk-code>ul>li {
    counter-increment: number;
    border-left: solid 1px #fff;
    padding-left: 12px;
    padding-right: 10px;
    white-space: break-spaces;
}

.pk-code>ul>li:nth-of-type(1) {
    padding-top: 10px;
}

.pk-code>ul>li:nth-of-type(1)::after {
    content: " ";
}

.pk-code>ul>li:nth-last-of-type(1) {
    padding-bottom: 10px;
}

.pk-code>span {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #bbb;
    font-size: 12px;
    padding: 1px 7px;
    color: #fff;
    border-top-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

.pk-code>span:hover {
    background-color: #999;
    cursor: pointer;
}

.pk-code>ul[contenteditable] {
    border: solid 1px #eee;
}

.pk-code>ul[contenteditable]>li {
    background-color: #fff;
    border-color: #eee;
}

@media screen and (min-width:1000px) {
    .pk-code>span {
        display: none;
    }

    .pk-code:hover>span {
        display: block;
    }
}

/* 样式 绿柔 */
.pk-code.green>ul {
    background-color: #fffae8;
    color: #3e4b53;
}

.pk-code.green>ul>li::before {
    color: #9f9371;
}

/* 样式 酷黑 */
.pk-code.black>ul {
    background-color: #272822;
    color: #f8f8f2;
}

.pk-code.black>ul>li::before {
    color: #90908a;
}

/* 样式 雅蓝 */
.pk-code.blue>ul {
    background-color: #282c35;
    color: #abb2bf;
}

.pk-code.blue>ul>li::before {
    color: #4b5364;
}


#----------------------------------------------------------------------------------------------------------#
# 非代码模式下的字体调整:
# /datadisk/eisc/www/www/template/puyuetian_changable/css/read-1.css

.readcontent a,
.replycontent a {
	color: #458fce;
}

.readcontent a:hover,
.replycontent a:hover {
	text-decoration: underline;
}

.readcontent img,
.replycontent img {
	cursor: pointer;
}

.readcontent {
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 2px;
	max-height: 6700px;
	overflow-y: auto;
}
/* 非代码模式下的 默认字体: 字的大小: 12  行的间距 line-height 20*/

.replycontent {
	font-size: 15px;
	line-height: 24px;
	letter-spacing: 1px;
	max-height: 700px;
	overflow-y: auto;
}

.readcontent embed,
.replycontent embed,
.readcontent video,
.replycontent video,
.readcontent iframe,
.replycontent iframe {
	max-width: 100%;
}

.pk-kxpc-read {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	overflow: hidden;
}

.pk-kxpc-read .rh,
.pk-kxpc-read .rt,
.pk-kxpc-read .rtime,
.pk-kxpc-read .rc,
.pk-kxpc-read .rf,
.pk-kxpc-read .rpt {
	background-color: #fff;
}

.pk-kxpc-read .rh {
	padding-top: 7px;
	padding-bottom: 7px;
	font-size: 12px;
	border-bottom: solid 1px #eee;
}

.pk-kxpc-read .rt {
	padding: 20px;
	font-size: 24px;
	letter-spacing: 3px;
	border-bottom: solid 1px #eee;
	font-weight: normal;
}

.pk-kxpc-read .rtime {
	border-bottom: solid 1px #eee;
	font-size: 12px;
	color: #777;
	padding-top: 7px;
	padding-bottom: 7px;
}

.pk-kxpc-read .rc .readcontent {
	word-break: break-all;
	padding: 15px;
	overflow-x: hidden;
}

.pk-kxpc-read .rc .readcontent img {
	max-width: 100%;
}

.pk-kxpc-read .rf {
	text-align: right;
	color: #777;
	font-size: 12px;
	border-top: solid 1px #eee;
	border-bottom: solid 1px #eee;
	padding-top: 7px;
	padding-bottom: 7px;
	margin-bottom: 15px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.pk-kxpc-read .rpt {
	padding: 10px 15px;
	color: #777;
	border-bottom: solid 1px #eee;
	font-size: 14px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

#listpages a {
	display: inline-block;
	min-width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	border: solid 1px #0099FF;
	border-right: none;
	color: #0099FF;
	padding: 0 5px;
	font-size: 14px;
	white-space: nowrap;
}

#listpages a[href="javascript:"],
#listpages a:hover {
	color: #FFFFFF;
	background-color: #0099FF;
	border-color: #FFFFFF;
}

#listpages a[href="javascript:"] {
	cursor: default;
}

#listpages a:nth-last-of-type(1) {
	border-right: solid 1px #0099FF;
}






#----------------------------------------------------------------------------------------------------------#
# /datadisk/eisc/www/www/template/puyuetian_changable/list-1.hst
# 动态里面的板块  pk-w-md-2 pk-padding-0" style="width:20% 
# 动态里面的动态贴 <div class="pk-w-md-10 pk-padding-0" style="width:80%;border-left:solid 1px #eee">

<link rel="stylesheet" href="template/puyuetian_changable/css/list-1.css" />
<script src="template/puyuetianUI/js/forumlabel.js"></script>
<div class="pk-row pk-kxpc-listtitle pk-radius-4 pk-background-color-white">
	<div class="pk-w-md-12">
		<div>
			<h1 class="pk-kxpc-text primary">{$_G['TEMP']['LISTTITLE']}</h1>
			<div class="dt">
				<span>今日:{$_G['TEMP']['TODAYCOUNT']}</span>
				<span style="color:#999;">&nbsp;|&nbsp;</span>
				<span>文章:{$_G['TEMP']['READCOUNT']}</span>
			</div>
		</div>
		<div>{$_G['TEMP']['LISTCONTENT']}</div>
	</div>
</div>
<div class="pk-kxpc-ggdiv5">{$_G['SET']['TEMPLATE_PUYUETIAN_CHANGABLE_AD5']}</div>
<div id="pk-c-list-main" class="pk-row">
	<div class="pk-w-md-2 pk-padding-0" style="width:20%;top:0">
		<div class="pk-kxpc-ggdiv6 pk-float-left">{$_G['SET']['TEMPLATE_PUYUETIAN_CHANGABLE_AD6']}</div>
		<div class="pk-w-md-12 pk-c-titlebar1" style="color:#777">
			<span class="fa fa-fw fa-th"></span>子版块
		</div>
		<div class="pk-w-md-12" style="border-bottom:solid 1px #EEE;">
			<ul class="f_l">{$_G['TEMP']['C_F_L']}</ul>
		</div>
		<div class="pk-w-md-12 pk-c-titlebar1" style="color:#777">
			<span class="fa fa-fw fa-th-large"></span>全部版块
		</div>
		<div class="pk-w-md-12">
			<ul class="f_l">{$_G['TEMP']['P_F_L']}</ul>
		</div>
		<div class="pk-kxpc-ggdiv7 pk-float-left">{$_G['SET']['TEMPLATE_PUYUETIAN_CHANGABLE_AD7']}</div>
	</div>
	<div class="pk-w-md-10 pk-padding-0" style="width:80%;border-left:solid 1px #eee">
		<div class="pk-row pk-kxpc-listcontent pk-margin-bottom-15">
			<div class="pk-w-md-12 pk-c-titlebar1">
				<a class="pk-kxpc-text hover" href="{ReWriteURL('list','sortid='.Cnum($sortid).'&page=1')}"><span class="fa fa-fw fa-file-o"></span> 默认</a>
				<a class="pk-kxpc-text hover" href="{ReWriteURL('list','sortid='.Cnum($sortid).'&page=1','type=&order=posttime')}"><span class="fa fa-fw fa-file-text-o"></span> 新文章</a>
				<a class="pk-kxpc-text hover" href="{ReWriteURL('list','type=high&sortid={$sortid}&page=1')}"><span class="fa fa-fw fa-diamond"></span> 精华帖</a>
				<a class="pk-kxpc-text hover" href="{ReWriteURL('list','sortid='.Cnum($sortid).'&page=1','type=&order=activetime')}"><span class="fa fa-fw fa-reply"></span> 新回复</a>
				<a class="pk-kxpc-text hover" href="javascript:" onclick="if(!Cnum($_USER['ID'])){ppp({type:3,icon:0,content:'请登录后再操作'});return false}location.href='index.php?c=focus'"><span class="fa fa-fw fa-heart-o"></span> 我的关注</a>
			</div>
			<div class="pk-w-md-12" style="padding:0px;font-size:12px;">{$_G['TEMP']['LABELSHTML']}</div>
			<div class="pk-clear"></div>
			<div id="read-list" class="pk-row" style="padding:0 15px;">









本文章最后由 admin2024-07-23 12:03 编辑

提供企业建站服务,免费网防系统,提交信息登录 http://enchantment.ddoss.cn 
回复列表
默认   热门   正序   倒序

回复:css

头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息