UI调整 准备添加看板娘
This commit is contained in:
parent
c168943fba
commit
d0c2583ca8
@ -1,77 +1,56 @@
|
|||||||
.article-inner {
|
.article-inner {
|
||||||
|
border-color: #d1d1d1;
|
||||||
p {
|
p {
|
||||||
margin: 0 0 1.75em;
|
margin: 0 0 1.75em;
|
||||||
}
|
}
|
||||||
|
// 目录标题
|
||||||
|
h1,h2,h3,h4,h5,h6 {
|
||||||
|
font-weight: 900;
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-inner {
|
|
||||||
border-color: #d1d1d1;
|
|
||||||
}
|
}
|
||||||
|
h1 {
|
||||||
.article-inner h1 {
|
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
&:first-child {
|
||||||
|
display: inline;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.article-inner h2 {
|
h2 {
|
||||||
font-size: 23px;
|
font-size: 23px;
|
||||||
font-size: 1.4375rem;
|
font-size: 1.4375rem;
|
||||||
line-height: 1.2173913043;
|
line-height: 1.2173913043;
|
||||||
margin-top: 2.4347826087em;
|
margin-top: 2.4347826087em;
|
||||||
margin-bottom: 1.2173913043em;
|
margin-bottom: 1.2173913043em;
|
||||||
}
|
}
|
||||||
|
h3 {
|
||||||
.article-inner h3 {
|
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
font-size: 1.1875rem;
|
font-size: 1.1875rem;
|
||||||
line-height: 1.1052631579;
|
line-height: 1.1052631579;
|
||||||
margin-top: 2.9473684211em;
|
margin-top: 2.9473684211em;
|
||||||
margin-bottom: 1.4736842105em;
|
margin-bottom: 1.4736842105em;
|
||||||
}
|
}
|
||||||
|
h4,h5,h6{
|
||||||
.article-inner h4,
|
|
||||||
.article-inner h5,
|
|
||||||
.article-inner h6 {
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.3125;
|
line-height: 1.3125;
|
||||||
margin-top: 3.5em;
|
margin-top: 3.5em;
|
||||||
margin-bottom: 1.75em;
|
margin-bottom: 1.75em;
|
||||||
}
|
}
|
||||||
|
h6 {
|
||||||
.article-inner h6 {
|
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-inner h1,
|
|
||||||
.article-inner h2,
|
|
||||||
.article-inner h3,
|
|
||||||
.article-inner h4,
|
|
||||||
.article-inner h5,
|
|
||||||
.article-inner h6 {
|
|
||||||
font-weight: 900;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-inner h1:first-child,
|
|
||||||
.article-inner h2:first-child,
|
|
||||||
.article-inner h3:first-child,
|
|
||||||
.article-inner h4:first-child,
|
|
||||||
.article-inner h5:first-child,
|
|
||||||
.article-inner h6:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.article-inner h1:first-child{
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
.article-entry{
|
.article-entry{
|
||||||
line-height: 1.8em;
|
line-height: 1.8em;
|
||||||
padding-right: 7.6923%;
|
padding-right: 7.6923%;
|
||||||
padding-left: 7.6923%;
|
padding-left: 7.6923%;
|
||||||
.post-count {
|
.post-count { // 字数统计
|
||||||
color: rgb(185, 185, 185);
|
color: rgb(185, 185, 185);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
.count-item {
|
.count-item {
|
||||||
@ -81,6 +60,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
img {
|
||||||
|
transition: transform 0.2s ease-out,box-shadow 0.5s ease;
|
||||||
|
cursor: zoom-in;
|
||||||
|
&:hover {
|
||||||
|
transform: scale(1.05,1.05);
|
||||||
|
box-shadow: 0px 0px 10px 2px #87afea;
|
||||||
|
}
|
||||||
|
}
|
||||||
p{
|
p{
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
@ -200,31 +187,23 @@
|
|||||||
tr,td{
|
tr,td{
|
||||||
height:35px;
|
height:35px;
|
||||||
}
|
}
|
||||||
thead{
|
thead tr{
|
||||||
tr {
|
|
||||||
background: #f8f8f8;
|
background: #f8f8f8;
|
||||||
}
|
}
|
||||||
}
|
tbody tr:hover{
|
||||||
tbody{
|
|
||||||
tr:hover{
|
|
||||||
background: #efefef;
|
background: #efefef;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
td,th{
|
td,th{
|
||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
figure{
|
figure table{
|
||||||
table {
|
|
||||||
border: none;
|
border: none;
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
tbody{
|
tbody tr:hover{
|
||||||
tr:hover{
|
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@ -62,15 +62,6 @@
|
|||||||
border-bottom: 1px solid #fff;
|
border-bottom: 1px solid #fff;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
transition: all 0.2s ease-in;
|
transition: all 0.2s ease-in;
|
||||||
/* &.show{
|
|
||||||
visibility: visible;
|
|
||||||
-webkit-animation: cd-bounce-1 0.6s;
|
|
||||||
-moz-animation: cd-bounce-1 0.6s;
|
|
||||||
animation: cd-bounce-1 0.6s;
|
|
||||||
}
|
|
||||||
&.hidden{
|
|
||||||
visibility: hidden;
|
|
||||||
} */
|
|
||||||
img{
|
img{
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,23 +11,23 @@
|
|||||||
}
|
}
|
||||||
.overlay{
|
.overlay{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 180px;
|
height: 150px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
.intrude-less {
|
.intrude-less {
|
||||||
width: 76%;
|
width: 76%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 112px auto 0;
|
margin: 82px auto 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header{
|
#header{
|
||||||
width:100%;
|
width:100%;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-bottom: 1px solid color-border;
|
|
||||||
a {
|
a {
|
||||||
color: #696969;
|
color: #696969;
|
||||||
|
transition: color 0.3s;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #B0A0AA;
|
color: #B0A0AA;
|
||||||
}
|
}
|
||||||
@ -67,7 +67,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.header-smart-menu {
|
.header-smart-menu {
|
||||||
font-size: 12px;
|
font-size: 16px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
a {
|
a {
|
||||||
&:after {
|
&:after {
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #88acdb;
|
background: #88acdb;
|
||||||
-webkit-transition: all 0.2s ease-in;
|
-webkit-transition: all 0.2s ease-in;
|
||||||
|
transition: all 0.2s ease-in;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: horizontal;
|
-webkit-box-orient: horizontal;
|
||||||
-webkit-box-pack: center;
|
-webkit-box-pack: center;
|
||||||
|
|||||||
@ -10,7 +10,6 @@
|
|||||||
color:#fff;
|
color:#fff;
|
||||||
height:18px;
|
height:18px;
|
||||||
line-height:18px;
|
line-height:18px;
|
||||||
float: left;
|
|
||||||
padding:0 5px 0px 10px;
|
padding:0 5px 0px 10px;
|
||||||
position:relative;
|
position:relative;
|
||||||
border-radius:0 5px 5px 0;
|
border-radius:0 5px 5px 0;
|
||||||
@ -19,7 +18,7 @@
|
|||||||
&:hover{
|
&:hover{
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
&:before{
|
&::before{
|
||||||
content: " ";
|
content: " ";
|
||||||
width: 0px;
|
width: 0px;
|
||||||
height: 0px;
|
height: 0px;
|
||||||
@ -28,7 +27,7 @@
|
|||||||
left: -18px;
|
left: -18px;
|
||||||
border: 9px solid transparent;
|
border: 9px solid transparent;
|
||||||
}
|
}
|
||||||
&:after{
|
&::after{
|
||||||
content:" ";
|
content:" ";
|
||||||
width:4px;
|
width:4px;
|
||||||
height:4px;
|
height:4px;
|
||||||
@ -42,31 +41,31 @@
|
|||||||
}
|
}
|
||||||
a.color1{
|
a.color1{
|
||||||
background: #FF945C;
|
background: #FF945C;
|
||||||
&:before{
|
&::before{
|
||||||
border-right-color: #FF945C;
|
border-right-color: #FF945C;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a.color2{
|
a.color2{
|
||||||
background: #cc8167;
|
background: #cc8167;
|
||||||
&:before{
|
&::before{
|
||||||
border-right-color: #cc8167;
|
border-right-color: #cc8167;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a.color3{
|
a.color3{
|
||||||
background: #BA8F6C;
|
background: #BA8F6C;
|
||||||
&:before{
|
&::before{
|
||||||
border-right-color: #BA8F6C;
|
border-right-color: #BA8F6C;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a.color4{
|
a.color4{
|
||||||
background: #94635c;
|
background: #94635c;
|
||||||
&:before{
|
&::before{
|
||||||
border-right-color:#94635c;
|
border-right-color:#94635c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a.color5{
|
a.color5{
|
||||||
background: #7B5D5F;
|
background: #7B5D5F;
|
||||||
&:before{
|
&::before{
|
||||||
border-right-color:#7B5D5F;
|
border-right-color:#7B5D5F;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,6 +105,10 @@
|
|||||||
color: #999;
|
color: #999;
|
||||||
margin-right: 7.6923%;
|
margin-right: 7.6923%;
|
||||||
float: right;
|
float: right;
|
||||||
|
transition: color 0.3s;
|
||||||
|
&:hover {
|
||||||
|
color: #b5b5b5;
|
||||||
|
}
|
||||||
.icon {
|
.icon {
|
||||||
margin: 5px 5px 5px 0;
|
margin: 5px 5px 5px 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -189,7 +189,7 @@
|
|||||||
padding: 40px;
|
padding: 40px;
|
||||||
-webkit-transform: translate3d(0,100%,0);
|
-webkit-transform: translate3d(0,100%,0);
|
||||||
transform: translate3d(0,100%,0);
|
transform: translate3d(0,100%,0);
|
||||||
webkit-transition: -webkit-transform 0.3s;
|
-webkit-transition: -webkit-transform 0.3s;
|
||||||
transition: transform 0.3s;
|
transition: transform 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user