第十三周数据结构学的查找,基于线性表和树的查找法,没有实验作业,所以去玩玩html的美化
博客美化の修改主题背景与添加看板娘(ミ´ω`ミ)
基于博客皮肤SimpleMemory添加CSS代码
页面定制CSS代码
1 #home{ 2 /*opacity:0.8;//透明度,全透明,效果不好就丢了*/ 3 background-color:rgba(255,255,255,0.75); //用rgba改个背景透明 4 } 5 /*把白背改成透明*/ 6 .sidebar_news, .newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory{ 7 background-color:rgba(255,255,255,0); 8 } 9 10 body { 11 background-color: #efefef; 12 background-image: url(你的图片链接); //换图片 13 background-repeat: no-repeat; 14 background-attachment: fixed; 15 background-position: center 0; 16 background-size: cover; 17 }
页脚HTML代码
1 <!--看板娘 - 猫--> 2 <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script> 3 <script> 4 L2Dwidget.init({ 5 "model": { 6 jsonPath: "https://unpkg.com/live2d-widget-model-hijiki/assets/hijiki.model.json",<!--这里改模型,前面后面都要改--> 7 "scale": 1 8 }, 9 "display": { 10 "position": "left",<!--设置看板娘的上下左右位置--> 11 "width": 100, 12 "height": 200, 13 "hOffset": 70, 14 "vOffset": 0 15 }, 16 "mobile": { 17 "show": true, 18 "scale": 0.5 19 }, 20 "react": { 21 "opacityDefault": 1,<!--设置透明度--> 22 "opacityOnHover": 0.2 23 } 24 }); 25 window.onload = function(){ 26 $("#live2dcanvas").attr("style","position: fixed; opacity: 1; right: 70px; bottom: 0px; z-index: 1; pointer-events: none;")//改位置等参数 27 } 28 </script>