标签:flex 2px 博客园 练习 rgba navigator day CSS 255
:root{
}
*{
user-select: none;
}
body{
background-image: linear-gradient( 103.3deg, rgba(252,225,208,1) 30%, rgba(255,173,214,1) 55.7%, rgba(162,186,245,1) 81.8% );
}
#navigator{
}
#navigator #navList{
list-style: none;
display: flex;
justify-content: flex-start;
flex-direction: row;
}
#navigator #navList li{
transition: .4s;
border-radius: 8px;
width: 80px;
height: 40px;
margin-left:5px;
display: flex;
justify-content: center;
align-items: center;
font-weight: 700;
cursor: pointer;
box-shadow:
inset 2px 2px 4px rgba(0,0,0,.1),
inset -2px -2px 4px rgba(255,255,255,.1);
}
#navigator #navList li:hover{
transition: .4s;
box-shadow:
inset 2px 2px 4px rgba(255,255,255,.1),
inset -2px -2px 4px rgba(0,0,0,.1),
2px 2px 4px rgba(0,0,0,.1);
}
#navigator #navList li:active{
transition: .4s;
box-shadow: none;
}
#navigator #navList li a{
color: #666;
text-decoration: none;
}
#navigator #navList li:hover{
transition: .4s;
}
.blogStats{
font-size: small;
display: flex;
justify-content: flex-end;
padding-right: 60px;
}
.day{
margin: 10px 40px;
border-radius: 3px;
}
.day .postTitle,.day .postCon,.day .postDesc{
margin-left: 20px;
margin-right: 20px;
padding: 0 40px;
border-left: solid 1px #999;
border-right: solid 1px #999;
}
.day .dayTitle{
margin-top: 20px;
font-weight: 700;;
padding:10px;
}
.day .postTitle{
padding-top: 20px;
border-top: solid 1px #999;
}
.day .postCon{
color:#666;
font-size: small;
display: flex;
}
.day .postCon .c_b_p_desc{
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.day .postCon .c_b_p_desc a{
text-align: end;
}
.day .postSeparator{
height:10px;
}
.day .postDesc{
color:#666;
padding-top: 5px;
border-bottom: solid 1px #999;
padding-bottom: 20px;
font-size: small;
display: flex;
display: flex;
justify-content: flex-end;
}
.day .postDesc *{
padding-left: 10px;
}
标签:flex,2px,博客园,练习,rgba,navigator,day,CSS,255 来源: https://www.cnblogs.com/wosperry/p/15135549.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。