摘要: 效果 代码 html, body{ min-height: 100%; } body { /*全局字体设置*/ /*font-family: Consolas, "楷体" !important;*/ /*font-family: Consolas, "楷体" !important;*/ /*加载图片 阅读全文
posted @ 2020-08-11 10:53 reasoner 阅读(58) 评论(0) 推荐(0) 编辑
摘要: .buryit { display: none; } .diggit { display: none; } /* hide ads */ #ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb { display:none; !i 阅读全文
posted @ 2020-08-10 17:01 reasoner 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 用overlay把页面放到滚动条下面,然后滚动条的背景加透明即可。这样滚动条就不会占用屏幕空间 <style> ::-webkit-scrollbar { width: 6px; height: 6px; } <style> ::-webkit-scrollbar-thumb { backgroun 阅读全文
posted @ 2020-08-07 14:42 reasoner 阅读(962) 评论(0) 推荐(0) 编辑
摘要: #b:: ;SetTitleMatchMode, 2 ;设定ahk匹配窗口标题的模式 winactivate,A ; 激活此窗口 sleep, 500 ; 延时,确保 WinSet, Style, -0xC00000,A ;去掉标题栏 return #t:: winset,AlwaysOnTop,, 阅读全文
posted @ 2020-07-30 14:00 reasoner 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 例如修改博客园中某些字体颜色 隐藏相应的一些block 还有相应的css代码 修改可以实时生效,可以用于轻量级的网页设计。 修改之后下次再打开这个网站也是修改的状态,它会记住修改的网址。 阅读全文
posted @ 2020-07-29 11:01 reasoner 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.360doc.com/content/19/0929/11/49565591_863866110.shtml 注意需要清空缓存,然后再重启词典才会生效! 另外可以在PC端ctrl+s保存为html,然后打开用浏览器调试。 阅读全文
posted @ 2020-07-29 10:04 reasoner 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 让网页使用浏览器设置的sans-serif字体,放在fontFamily前面的字体会被优先使用。参考:https://www.cnblogs.com/yaomumu/p/12759060.html 注意: @match要修改一下,匹配所有的网页 font-family需要改写为驼峰形式fontFam 阅读全文
posted @ 2020-07-28 09:17 reasoner 阅读(1453) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://www.cnblogs.com/sz_hesheng/p/10684478.html 阅读全文
posted @ 2020-07-24 09:45 reasoner 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1、在css的style标签中定义@font-face,相当于自定义一个可以使用的字体,包括字体引用的名字和字体源文件。 2、在后续的标签中使用该字体即可 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS1</title> 阅读全文
posted @ 2020-07-23 15:07 reasoner 阅读(420) 评论(1) 推荐(0) 编辑
摘要: /* body start */ body { /*全局字体设置*/ /*font-family: Consolas, "楷体" !important;*/ /*font-family: Consolas, "楷体" !important;*/ } /* home start */ #home { 阅读全文
posted @ 2020-07-21 15:54 reasoner 阅读(97) 评论(1) 推荐(0) 编辑