博客园个人首页背景设置
前言
博客园提供了个人首页背景的模板,但却是让人觉得一言难尽。对于一个不了解css,html的小白来说,想要自定义自己的blog背景确实有点难,于是乎我仔细研究了一下,终于找到了一个适合于我们这些门外汉的方法,现在给大家分享一下。
一、将选定的背景图上传至博客园服务器
- 方法一:将选定的图片上传至自己博客园的相册中(自己可以新增一个相册,用来存放首页背景图)
- 方法二:新增随笔,在随笔中上传背景图
二、获取上传至博客园服务器背景图的url
- 打开相册,选择自己喜欢的图片,点进去。然后在那篇博客中,找到图片所在位置:鼠标右键--->审查元素,将url复制下来
三、修改博客源码
- 首先:找到“页面定制css代码框”粘贴复制下面代码:个人首页--->管理--->设置--->页面定制css代码
/*simplememory*/ #google_ad_c1, #google_ad_c2 {display:none;} .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhighlighter table, .syntaxhighlighter table td, .syntaxhighlighter table tr, .syntaxhighlighter table tbody, .syntaxhighlighter table thead, .syntaxhighlighter table caption, .syntaxhighlighter textarea {font-size: 14px!important; } #home {opacity: 0.80; margin: 0 auto; width: 85%; min-width: 950px; background-color: #fff; padding: 30px; margin-top: 30px; margin-bottom: 50px; box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3); } #blogTitle h1 {font-size: 30px; font-weight: bold; font-family: "Comic Sans MS"; line-height: 1.5em; margin-top: 20px; color: #515151; } #navList a:hover {color: #4C9ED9; text-decoration: none; } #navList a {display: block; width: 5em; height: 22px; float: left; text-align: center; padding-top: 18px; } #navigator {font-size: 15px; border-bottom: 1px solid #ededed; border-top: 1px solid #ededed; height: 50px; clear: both; margin-top: 25px; } .catListTitle {margin-top: 21px; margin-bottom: 10.5px; text-align: left; border-left: 10px solid rgba(82, 168, 236, 0.8); padding: 10px 0 14px 10px; background-color: #f5f5f5; } #ad_under_post_holder #google_ad_c1,#google_ad_c2{ display: none !important; } body {color: #000; background: url(http://images2015.cnblogs.com/blog/969197/201703/969197-20170325160900815-1058599404.jpg ) fixed; background-size: 100%; background-repeat: no-repeat; font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-size: 12px; min-height: 101%; } #topics .postTitle {border: 0px; font-size: 200%; font-weight: bold; float: left; line-height: 1.5; width: 100%; padding-left: 5px; }div.commentform p{margin-bottom:10px; } .comment_btn {padding: 5px 10px; height: 35px; width: 90px; border: 0 none; border-radius: 5px; background: #ddd; color: #999; cursor:pointer; font-family: "Lato", Helvetica Neue, Helvetica, Microsoft Yahei, 宋体, Arial, sans-serif; text-shadow: 0 0 1px #fff; display: inline !important; } .comment_btn:hover{padding: 5px 10px; height: 35px; width: 90px; border: 0 none; border-radius: 5px; background: #258fb8; color: white; cursor:pointer; font-family: "Lato", Helvetica Neue, Helvetica, Microsoft Yahei, 宋体, Arial, sans-serif; text-shadow: 0 0 1px #fff; display: inline !important; } #commentform_title {background-image:none; background-repeat:no-repeat; margin-bottom:10px; padding:0; font-size:24px; } #commentbox_opt,#commentbox_opt + p {text-align:center; } .commentbox_title {width: 100%; } #tbCommentBody {font-family:'Microsoft Yahei', Microsoft Yahei, 宋体, sans-serif; margin-top:10px; max-width:100%; min-width:100%; background:white; color:#333; border:2px solid #fff; box-shadow:inset 0 0 8px #aaa; // padding:10px; height:250px; font-size:14px; min-height:120px; } .feedbackItem {font-size:14px; line-height:24px; margin:10px 0; padding:20px; background:#F2F2F2; box-shadow:0 0 5px #aaa; } .feedbackListSubtitle {font-weight:normal; }#blog-comments-placeholder, #comment_form {padding: 20px; background: #fff; -webkit-box-shadow: 1px 2px 3px #ddd; box-shadow: 1px 2px 3px #ddd; margin-bottom: 50px; } .feedback_area_title {margin-bottom: 15px; font-size: 1.8em; } .feedbackItem {border-bottom: 1px solid #CCC; margin-bottom: 10px; padding: 5px; background: rgb(248, 248, 248); } .color_shine {background: rgb(226, 242, 255);} .feedbackItem:hover {-webkit-animation-name: color_shine;-webkit-animation-duration: 2s;-webkit-animation-iteration-count: infinite;} #comment_form .title {font-weight: normal; margin-bottom: 15px; }
- 其次:找到下面模块body
body {color: #000; background: url(http://images2015.cnblogs.com/blog/969197/201703/969197-20170325160900815-1058599404.jpg ) fixed; background-size: 100%; background-repeat: no-repeat; font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-size: 12px; min-height: 101%; }
- 最后:将body模块下的参数"background”url的值修改为你之前获取的url地址,保存既可以
以下是我自己的背景图:
效果图:
博客园个人首页背景设置相关推荐
- 博客园个人首页样式设置
参考链接: https://www.cnblogs.com/zhibu/p/7158807.html https://www.cnblogs.com/zwfymqz/p/9670607.html ht ...
- 博客园文章方块背景格式
有小伙伴问到方格背景的问题,所以写一篇文章记录我的博客园文章背景是如何制作的. 一.辅助网站1. 一键排版2. 代码主题3. 复制二. 图床设置 一.辅助网站 辅助网址:Md2All 作者提供了一篇帮 ...
- 如何修改博客园里个人首页背景(form:cot 大犇)
写在前面 鉴于平常逛其他大神的blog的时候,经常看见他们blog上好看的背景.但自己又不知道怎么弄的,觉得很神奇.直接度娘试了前几篇发现没用.于是对着别人blog的网页源代码捣腾了一个下午,发现了摸 ...
- 博客园随机切换背景图,超简单教程
目录 一.前言 二.准备工作 三.实现代码 四.结尾 一.前言 博客园做的还是挺强大的,很多东西都支持自定义,比较适合喜欢瞎捣鼓的小伙伴.之前写过一篇博客园看板娘的教程,有兴趣的小伙伴可以看一下:ht ...
- 怎么设计自己的博客园个人首页
在众多博客网站中,博客园的一个亮点是能够自己设计个人首页,你可以通过自己的喜好来设计出自己喜欢的个人主页,突现自己的与众不同~那么我们该如何来设置呢?大致步骤如下: 1.首先,我们点进自己博客的管理的 ...
- 个人博客园样式、背景及细节美化过程
主页美化: 主要参考嘻哈烧饼的美化,在TA的基础上增加了对主页背景.色调以及侧边栏的调整 原帖地址:https://www.cnblogs.com/seanshao/p/5716543.html 修改 ...
- 【教程】一步一步教你如何自定义设置——博客园canvas/JS交互动画背景
演示步骤的原文链接:(看完就可以掌握如何设置博客园canvas动画背景) 博客园如何自定义设置canvas/JS动画背景 --2018-10-27 本博客的弹弹弹小球-canvas动画原文链接:(看完 ...
- 博客园设置访问统计功能-by beanmoon
使用过新浪博客的人都知道,新浪博客的首页有访问量统计功能,迁移到博客园之后发现博客园却没有这项功能,所幸博客园在后台管理的设置选项中有一个公告栏和设置页首页脚代码功能,使用起来非常灵活和方便.借此我们 ...
- 博客园 首页 公告 自定义 标准 时钟/一般时钟 HONE HONE CLOCK时钟
今天给大家介绍个好玩的东西,很简单. 大家是否经常在别人博客园个人首页公告处看到自定义的时钟啊什么的,今天我也来两个. HONE HONE CLOCK 先看效果图: 源码奉上 <html> ...
最新文章
- python动态类型是如何实现的_Python 的动态类型系统
- 监控 WebBrowser 控件内容的改变
- Distributed Transaction Coordinator 服务因 3221229584 (0xC0001010) 服务性错误而停止
- win10安装Navicat 12 for MySQL
- 关闭fedroa19开关机画面
- python tornado websocket_基于Python Tornado框架的websocket服务
- JAVA构架之并发编程的一些总结
- POJ 3278(Catch That Cow)
- ADS仿真学习:s2p文件导入ADS
- python爬虫requests源码链家_python3 爬虫教学之爬取链家二手房(最下面源码) //以更新源码...
- VS2019 打包WPF安装程序最新教程(图文详解)
- 2020中兴捧月算法大赛 埃德加考特派 区域优胜奖源代码
- 多节点服务器定时任务重复处理的问题
- matlab混频器的实现
- Lenovo XiaoXin Air13Pro Win10引导ubuntu19.10双系统
- 模式识别与机器学习(PATTERNnbsp;RECO…
- linux内核源码lxr,配置glimpse与LXR读取linux内核源码
- 一键安装mysql5.7
- 单链表的基本操作-插入结点、删除结点、新建链表、查找结点位置
- Quagga简介、安装、配置说明
热门文章
- thinkpadE440 U盘安装mac10.9.4 Gpt分区+Clover+UEFI引导成功记录
- 使用nohup指令将linux服务器进程运行在后台的方法
- OpenCPN介绍及编译
- 单链表操作2-单链表A拆分成奇数和偶数值单链表B和C(个人学习笔记,仅供参考)
- 二次元风格博客引导页html源码
- python 便利店收银系统多少钱_收银系统一套多少钱?应该怎么选择?
- 解析ViewPager(二)——ViewPager源码解析
- nb信号和4g信号_三大运营商NB—IoT技术对比
- 如何统计和分析利用网络大数据?
- 报录比48:1,上海985同济大学去年计算机考研报录比好高!