今天有些家务事需要处理,所以今天的博皮制作暂时就进行到这里了。
还是因为不能自由编辑HTML的缘故,昨天我只要是在原模版的基础上做一些小测试,没有马上动手制作自己的皮肤。不过现在测试都做好了,我禁用了原模版的CSS,开始写自己的样式。暂时是这样的效果的:
现在看起来还比较简陋,我也不确定是否可以做得很精美,大概布局就是这样的情况吧,看起来Js权限还是需要申请的,只是暂时还在写CSS,不想分心。右侧的博客导航用CSS的hover就可以实现了,只是动画特效并不那么精美而已。
.menu { background: #191a14; color: #e9ecdb; display: block; height: 20px; line-height: 20px; margin-left: 30px; padding: 6px; position: absolute; top: 0; right: -60px; width: 50px; } .menu:hover { right: 0; }
鼠标悬停时,按钮会弹出来:
至于左边的边栏,用CSS制作的效果就不好了。在电脑上访问还凑合,在手机上访问,因为是手触的,没有鼠标悬停和离开的事件,边栏弹出来以后不能回缩,这里需要Js辅助才能实现。
今天遗留了一个小问题。昨天一直翻着墙测试资源没发现资源加载的问题,但是今天,一开始是没有FQ的,发现fontawesome的字体文件加载非常慢,虽然不影响使用,不过如果可能的话,还是要解决一下这个问题的。