加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
style.css 8.60 KB
一键复制 编辑 原始数据 按行查看 历史
IDamor 提交于 2024-04-14 05:37 . update style.css.
@charset "UTF-8";html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
*,*:before,*:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}
*{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;word-wrap:break-word;text-shadow:0 0 1px #999999}
body{background-image:url('./images/texture.png');background-attachment:local;background-color:#E6DECE;color:#444444;font-weight:400;font-size:1rem;line-height:1.5rem;font-family:"lucida grande","lucida sans unicode",lucida,helvetica,"PingFang SC","Hiragino Sans GB","STHeiti Light","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif}
body,html{overflow-x:hidden;-webkit-overflow-scrolling:touch;-overflow-scrolling:touch}
section,header,menu,nav,article,footer{display:block}
ol,ul{list-style:none}
input,textarea,button{outline:none;-webkit-appearance:none}
blockquote,q{quotes:none}
blockquote:after,blockquote:before,q:after,q:before{content:none}
blockquote,q{background-color:#E6DECE;margin:1rem 0;padding:1rem;position:relative;line-height:1.8rem;border:2px solid #333333;border-radius:.5rem;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444}
pre{display:inline-block;overflow:auto;width:100%;max-height:18rem;position:relative;white-space:pre-wrap;border:2px solid #333333;border-radius:.5rem;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444;background-color:#E6DECE}
code{font-size:.9rem;line-height:1.5rem;background-color:#E6DECE}
pre code{display:block;padding:1rem}
li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1rem;background-color:#E6DECE;list-style-type:decimal}
b,strong{font-weight:800}
table{border-collapse:collapse}
a,u,ins{color:inherit;text-decoration:none}
a:hover{color:#A52A2A}
sub,sup{position:relative;font-size:0.8rem;line-height:0;vertical-align:baseline}
sub{bottom:-.5rem}
sup{top:-.5rem}
::-webkit-scrollbar{width:.6rem;height:.6rem}
::-webkit-scrollbar-thumb{background-color:#333333;-webkit-background-clip:padding-box;background-clip:padding-box;border:3px solid transparent;border-radius:.5rem}
.container{max-width:50rem;width:96%;margin:0 auto;padding:0 2%;position:relative}
.header{margin:0;padding:2rem 0 0;position:relative;text-align:center;color:#444444;line-height:1.5rem}
.header .webname{font-size:1.5rem;font-weight:900;color:#333333;display:inline-block;position:relative;z-index:1}
.header .menu,.footer .menu{font-weight:500;margin:1rem 0;border:3px solid #333333;border-radius:.5rem;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444;white-space:nowrap;overflow-y:hidden;overflow-scrolling:touch}
.header .menu{font-size:1.2rem;padding:1rem}
.footer .menu{font-size:1rem;padding:.8rem 1rem}
.mark{color:#FF4500}
.post-list .meta{position:relative;margin:1rem 0 0;padding:1rem 0 0}
.post-list .meta:before{content:'';background:#333333;width:5rem;height:2px;position:absolute;top:0;left:-2.5rem}
.post-list .meta:first-child{padding:0}
.post-list .meta:first-child:before{display:none}
.post-list .meta header h2{font-size:1.2rem;line-height:2rem;color:#333333;position:relative;display:inline-block;font-weight:900}
.post-list .meta main{font-size:1rem;line-height:1.8rem;margin:.5rem 0}
.post-list .meta footer{color:#555555;font-size:.9rem}
.post-list h3{margin:2rem 0;font-size:3rem;line-height:2rem}
.reade_more{line-height:1rem;font-size:1rem;text-align:center;margin:1rem 0}
.reade_more a{display:inline-block;background-color:#E6DECE;margin:0 .5%;padding:.5rem 3%;transition:.3s;border:2px solid #333333;border-radius:.3rem}
.reade_more a:hover,.reade_more a.current{background:#A52A2A;color:#FFFFFF}
.post_article img{max-width:100%;display:block;margin:auto;height:auto;border:2px solid #333333;border-radius:.5rem}
.post_article embed{max-width:100%;margin:.6rem auto;display:block}
.post_article p{margin:1rem 0;font-size:1rem;line-height:1.8rem}
.post_article a,.post_article u,.post_article ins{border-bottom:2px solid #444444}
.post_article a.footnote-ref,.post_article a.footnote-backref{border-bottom:none}
.post_article time{margin:1rem 0;font-size:.9rem;line-height:1.8rem;display:block}
.post_article h1,.post_article h2,.post_article h3,.post_article h4,.post_article h5,.post_article h6{margin:1rem 0;font-weight:900;color:#333333;position:relative;display:block}
.post_article h1{font-size:1.4rem;line-height:2rem;text-align:center}
.post_article h2{font-size:1.3rem;line-height:1.9rem}
.post_article h3{font-size:1.2rem;line-height:1.8rem}
.post_article h4{font-size:1.1rem;line-height:1.8rem}
.post_article hr{display:block;margin:2rem 25%;width:50%;height:2px;border:none;background-color:#333333}
.post_article ol,.post_article ul{margin:1rem 0;padding:.6rem 2rem;background-color:#E6DECE;line-height:2rem;border:2px solid #333333;border-radius:.5rem;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444}
.post_article ol li{list-style-type:decimal}
.post_article ul li{list-style-type:disc}
.post_article ol p,.post_article ul p{margin:0}
.post_article table{margin:1rem 0;border:2px solid #333333;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444;font-size:.9rem;border-collapse:collapse;border-spacing:0;width:100%}
.post_article th{font-size:1rem;font-weight:700}
.post_article th,.post_article td{border:1px solid #333333;padding:.7rem .4rem}
.post_article dl{margin:0 1.2rem}
.post_article dt{font-weight:700}
.post_article dd{margin:0 0 1.2rem}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.alignleft{float:left;margin:1% 2% 1% 0}
.alignright{float:right;margin:1% 0 1% 2%}
.tags{display:flex;margin:1rem 0;flex-wrap:wrap}
.tags li{margin:.4rem .8rem .4rem 0}
.tags li a{background-color:#E6DECE;padding:.2rem .7rem;font-size:1rem;border:2px solid #333333;border-radius:.3rem}
.tags li a:hover{background:#A52A2A;color:#FFFFFF}
.search input{width:100%;background-color:#E6DECE;padding:1rem;margin:0;border:2px solid #333333;border-radius:.5rem;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444}
.footer{margin:1rem 0;text-align:center;position:relative;z-index:9;line-height:1.2rem;font-size:.8rem}
.footer img{vertical-align:middle;width:.8rem;height:.8rem}
#comments{clear:both;line-height:1.2rem;font-size:.9rem}
#comments hr{margin:.8rem 0;width:100%;height:2px;border:none;background-color:#333333}
#comments h2{margin:1rem 0;font-weight:900;color:#333333;position:relative;display:block;font-size:1.3rem;line-height:1.7rem}
#comments h3{position:relative;padding:.5rem 0 0;margin:.5rem 0 0;font-size:1.2rem;line-height:1.6rem;font-weight:800;color:#333333}
#comments h3 small{margin:0 0 0 1rem;font-size:.9rem}
#comments h3 small a:before{content:'[ '}
#comments h3 small a:after{content:' ]'}
#comments p{position:relative;margin:.5rem 0 0;font-size:1rem}
#comments .comment-parent .comment-content p{margin:1rem 0 0;line-height:1.5rem}
#comments .comment-parent .comment-child .comment-content p{display:inline;margin:0;line-height:1rem;font-size:.9rem}
#comments .comment-list,#comments .comment-list ol{list-style:none;margin:0;padding:0;border-radius:.5rem}
#comments .comment-list li{background-color:#E6DECE;padding:.8rem;margin-top:1rem;border:2px solid #333333;border-radius:.5rem;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444}
#comments .comment-list li .comment-child{padding:0;margin:.3rem 0 0;border:none;border-radius:.5rem;box-shadow:none}
#comments .comment-list .comment-author{display:block}
#comments .comment-list .comment-author .avatar{float:left;width:2.4rem;height:2.4rem;margin-right:1rem;border-radius:100%}
#comments .comment-list .comment-author cite{font-size:1rem;font-weight:800;color:#333333}
#comments .comment-list li .comment-reply{margin-top:.8rem;text-align:right}
#comments .comment-list .respond{margin-top:.8rem;border-top:2px solid #333333}
.search input:focus,#comments textarea:focus,#comments button:focus,.post_password_form input:focus,#comments input:focus{position:relative;z-index:1;border:3px solid #333333;border-radius:.5rem}
#comments button,#comments textarea,.post_password_form input,.post_password_form [type='submit'],#comments input{width:100%;padding:.5rem .6rem;background-color:#E6DECE;color:#444444;margin:.3rem 0;border:2px solid #333333;border-radius:.5rem}
#comments textarea{height:8rem}
#comments button#submit,.post_password_form [type='submit']{cursor:pointer;border:2px solid #333333;border-radius:.5rem;box-shadow:5px 5px 0px -2px #444444,5px 5px #444444}
#comments button#submit:hover,.post_password_form [type='submit']:hover{background:#A52A2A;color:#FFFFFF}
.post_password_form label{display:block}
.post_password_form input{max-width:15rem}
.post_password_form [type='submit']{margin:1rem auto;max-width:6rem}
.post_password_form{margin:20% 0 12%}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化