mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
399 lines
6.5 KiB
CSS
399 lines
6.5 KiB
CSS
.main-container {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.nav-left-container {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.nav-left-list {
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-left-list a {
|
|
display : block;
|
|
padding : 10px 15px;
|
|
border-radius: 5px;
|
|
margin : 5px 20px;
|
|
}
|
|
|
|
.nav-left-list a:hover,
|
|
.nav-left-list a.current {
|
|
background-color: #6699CC;
|
|
color : #fff;
|
|
}
|
|
|
|
.logo {
|
|
text-align: center;
|
|
}
|
|
|
|
.logo img {
|
|
max-width: 60%;
|
|
}
|
|
|
|
.session {
|
|
margin-top : 15px;
|
|
background-color: #99CCFF;
|
|
padding : 15px;
|
|
}
|
|
|
|
.session.border {
|
|
border-top: 2px solid #6699CC;
|
|
}
|
|
|
|
.session .header {
|
|
font-size : 18px;
|
|
font-weight: 600;
|
|
color : #036;
|
|
}
|
|
|
|
.search-container {
|
|
display: flex;
|
|
}
|
|
|
|
.layui-btn {
|
|
background-color: #6699CC;
|
|
}
|
|
|
|
.nav-more-list a {
|
|
display : inline-block;
|
|
white-space : nowrap;
|
|
color : #036;
|
|
margin-right: 15px;
|
|
margin-top : 15px;
|
|
}
|
|
|
|
.session .info p {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
#banner img {
|
|
width: 100%;
|
|
}
|
|
|
|
.tab-list {
|
|
border-bottom: 1px solid #ddd;
|
|
margin-top : 15px;
|
|
font-size : 16px;
|
|
}
|
|
|
|
.tab-list a {
|
|
margin-right : 15px;
|
|
border-bottom : 2px solid transparent;
|
|
padding-bottom: 10px;
|
|
display : inline-block;
|
|
}
|
|
|
|
.tab-list a.current {
|
|
border-color: #6699CC;
|
|
}
|
|
|
|
.post-item,
|
|
.plus-post-item {
|
|
display : flex;
|
|
justify-content: flex-start;
|
|
align-items : center;
|
|
margin-top : 15px;
|
|
padding-bottom : 15px;
|
|
border-bottom : 1px solid #ddd;
|
|
}
|
|
|
|
.post-item>div:nth-child(2) {
|
|
width: calc(100% - 160px);
|
|
}
|
|
|
|
.post-item .poster,
|
|
.plus-post-item .poster {
|
|
width : 160px;
|
|
height : 100px;
|
|
background-size : cover;
|
|
background-position: center;
|
|
background-repeat : no-repeat;
|
|
margin-right : 15px;
|
|
}
|
|
|
|
.plus-post-item .poster {
|
|
width : 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.plus-post-item .title {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.post-item .info .title {
|
|
font-size : 21px;
|
|
line-height : 1.3;
|
|
margin-bottom : 4px;
|
|
/* max-height : 52px; */
|
|
display : -webkit-box;
|
|
-webkit-line-clamp : 2;
|
|
overflow : hidden;
|
|
text-overflow : ellipsis;
|
|
}
|
|
|
|
.post-item .info .desc {
|
|
margin : 0 0 8px;
|
|
font-size : 13px;
|
|
line-height: 24px;
|
|
color : #999;
|
|
}
|
|
|
|
.post-item .info .plus-info {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.nodata {
|
|
margin : 60px auto;
|
|
display: block;
|
|
width : 40%;
|
|
}
|
|
|
|
.content-container .title {
|
|
font-size : 34px;
|
|
font-weight: 700;
|
|
line-height: 44px;
|
|
color : #222;
|
|
}
|
|
|
|
.content-container .info {
|
|
margin-top: 12px;
|
|
font-size : 13px;
|
|
color : #777;
|
|
}
|
|
|
|
.content-container .info span {
|
|
margin-right: 5px;
|
|
;
|
|
}
|
|
|
|
.content-container .desc {
|
|
margin : 0 0 8px;
|
|
font-size : 13px;
|
|
line-height: 24px;
|
|
color : #999;
|
|
margin-top : 15px;
|
|
}
|
|
|
|
.content-container .jump-container {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.nav-left-list {
|
|
text-align: left;
|
|
}
|
|
|
|
.nav-left-list a {
|
|
display: inline-block;
|
|
margin : 5px;
|
|
}
|
|
|
|
.post-item .poster,
|
|
.plus-post-item .poster {
|
|
width : 80px;
|
|
height: 60px;
|
|
}
|
|
|
|
.post-item>div:nth-child(2) {
|
|
width: calc(100% - 80px);
|
|
}
|
|
|
|
.post-item .info .title {
|
|
font-weight: 500;
|
|
font-size : 14px;
|
|
}
|
|
|
|
.content-container .title {
|
|
font-size : 18px;
|
|
line-height: 28px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width:1200px) {
|
|
.layui-container {
|
|
width: 1280px;
|
|
}
|
|
}
|
|
|
|
a.post-item:visited {
|
|
color: #333;
|
|
}
|
|
|
|
/*
|
|
.ul-content p {
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.ul-content p,
|
|
.ul-content li,
|
|
.ul-content td,
|
|
.ul-content th,
|
|
.ul-content blockquote {
|
|
white-space: pre-wrap;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
|
|
.ul-content h2 {
|
|
margin: 20px 0
|
|
}
|
|
|
|
.ul-content table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.ul-content table th,
|
|
.ul-content table td {
|
|
border : 1px solid #ccc;
|
|
min-width : 50px;
|
|
height : 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
.ul-content table th {
|
|
background-color: #f1f1f1;
|
|
text-align : center
|
|
}
|
|
|
|
|
|
.ul-content blockquote {
|
|
display : block;
|
|
border-left : 8px solid #d0e5f2;
|
|
padding : 10px 10px;
|
|
margin : 10px 0;
|
|
background-color: #f1f1f1;
|
|
}
|
|
|
|
|
|
.ul-content ul,
|
|
.ul-content ol {
|
|
margin: 10px 0 10px 20px;
|
|
}
|
|
|
|
.ul-content ul li {
|
|
list-style: inherit;
|
|
}
|
|
|
|
.ul-content hr {
|
|
display : block;
|
|
width : 90%;
|
|
margin : 20px auto;
|
|
border : 0;
|
|
height : 1px;
|
|
background-color: #ccc;
|
|
} */
|
|
|
|
.ul-content a {
|
|
border-block-end: 1px solid currentColor;
|
|
}
|
|
|
|
.ul-content img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.ul-content pre {
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.ul-content code {
|
|
background-color: #f5f2f0;
|
|
border-radius : 3px;
|
|
font-family : monospace;
|
|
padding : 3px;
|
|
}
|
|
|
|
.copyright {
|
|
margin-top : 15px;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.index-poster {
|
|
height: 100%;
|
|
filter: blur(2px);
|
|
}
|
|
|
|
#banner .panel {
|
|
display : flex;
|
|
align-items : center;
|
|
justify-content: center;
|
|
text-align : center;
|
|
text-shadow : 0 0 2px #333;
|
|
color : #fff;
|
|
z-index : 99;
|
|
height : 100%;
|
|
position : absolute;
|
|
top : 0;
|
|
left : 0;
|
|
width : 100%;
|
|
}
|
|
|
|
#banner .index-poster {
|
|
height : 100%;
|
|
width : 100%;
|
|
background-size : cover;
|
|
background-position: center;
|
|
position : absolute;
|
|
z-index : 0;
|
|
}
|
|
|
|
#banner .title {
|
|
font-size: 28px;
|
|
|
|
}
|
|
|
|
#banner .layui-carousel-arrow {
|
|
z-index: 999;
|
|
}
|
|
|
|
#banner .layui-carousel-ind {
|
|
z-index: 999;
|
|
}
|
|
|
|
.post-event {
|
|
padding : 10px 0;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.post-event-header {
|
|
display : flex;
|
|
align-items : center;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.post-event-nickname {
|
|
font-size : 14px;
|
|
font-weight: 600;
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.post-event-avatar {
|
|
width : 40px;
|
|
height : 40px;
|
|
background-size : cover;
|
|
background-position: left;
|
|
border-radius : 50%;
|
|
border : 1px solid #bbb;
|
|
}
|
|
|
|
.post-event-body {
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
.post-event-body img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.post-content-inner-copyright {
|
|
height : 0;
|
|
line-height : 0;
|
|
margin : 0;
|
|
padding : 0;
|
|
overflow : hidden;
|
|
margin-block-start: 0;
|
|
margin-block-end : 0;
|
|
position : absolute;
|
|
} |