星辰大海路上的种花家 - 小技巧 /index.php/category/xjq/ zh-CN Tue, 25 Jun 2024 08:29:00 +0000 Tue, 25 Jun 2024 08:29:00 +0000 日记:成功用域名解析部署GitHub /index.php/posts/242.html /index.php/posts/242.html Tue, 25 Jun 2024 08:29:00 +0000 种花家 这几天一直试着能不能用域名部署GitHub的项目因为看到安知鱼大佬的文章
教程
我想着自己也可以弄一个因为GitHub的域名有点长而且不好听就自己买了一个,
但是文件都上传成功了就是访问不了
图片
后来发现是主分支和副分支有问题就是main和master

注意 :一定要看清楚和修改分支不然就会有问题

项目地址
也可以用vercel或Cloudflare来部署
最后查看qsmhx.cn
qsmhx

]]>
1 /index.php/posts/242.html#comments /index.php/feed/category/xjq/
基于butterfly主题的基础上利用高德地图api key加一个侧边电子时钟 /index.php/posts/239.html /index.php/posts/239.html Thu, 06 Jun 2024 08:27:00 +0000 种花家 如图:
可以看看安知鱼的
https://blog.anheyu.com/posts/fc18.html
首先要看看之前有没有搞过类似的时钟如果有就在git里面执行
npm uninstall hexo-butterfly-clock或者npm uninstall hexo-electric-clock
之后安装
npm install hexo-butterfly-clock-anzhiyu --save
添加配置信息,我是直接在主题里面的config添加的这个看个人在哪添加

# electric_clock
# see https://blog.anheyu.com/posts/fc18.html
electric_clock:
  enable: true # 开关
  priority: 5 #过滤器优先权
  enable_page: all # 应用页面
  exclude:
  # - /posts/
  # - /about/
  layout: # 挂载容器类型
    type: class
    name: sticky_layout
    index: 0
  loading: https://cdn.cbd.int/hexo-butterfly-clock-anzhiyu/lib/loading.gif #加载动画自定义
  clock_css: https://cdn.cbd.int/hexo-butterfly-clock-anzhiyu/lib/clock.min.css
  clock_js: https://cdn.cbd.int/hexo-butterfly-clock-anzhiyu/lib/clock.min.js
  ip_api: https://widget.qweather.net/simple/static/js/he-simple-common.js?v=2.0
  qweather_key: # 和风天气key
  gaud_map_key: # 高得地图web服务key
  default_rectangle: false # 开启后将一直显示rectangle位置的天气,否则将获取访问者的地理位置与天气
  rectangle: 112.982279,28.19409 # 获取访问者位置失败时会显示该位置的天气,同时该位置为开启default_rectangle后的位置

然后注意要对好格式不然就要像我一下像一个无头苍蝇一样到处找最重要的还是
qweather_key: # 和风天气key
gaud_map_key: # 高得地图web服务key
这两个一定要配置不然也显示不了
具体教程还是看https://blog.anheyu.com/posts/fc18.html
写的很详细我这里就不多说了
最后hexo s或 hexo clean && hexo g && hexo s就行
样式

]]>
0 /index.php/posts/239.html#comments /index.php/feed/category/xjq/
hexo+git+GitHub制作一个简易网站 /index.php/posts/202.html /index.php/posts/202.html Fri, 24 May 2024 04:59:00 +0000 种花家 hexo链接 https://hexo.io/zh-cn/
git链接 https://gitee.com/explore
GitHub链接 https://github.com/

前言
近些年来很多用户都喜欢使用 GitHub 来搭建 Hexo 静态博客网站,其最吸引人的莫过于完全免费使用,并且非常稳定。
虽然搭建时比较麻烦,有点折腾,但是配置完成后,基本不需要操心维护的事,甚至放了几年都忘记了,打开来看文章依然还在。
由于博主比较懒所以可能大部分都是参考别人的文章
我这里偷懒一下哈哈这个博主写的比较详细
https://zhuanlan.zhihu.com/p/443527549
安装完成之后打开git hexo v 一下就会显示版本号说明安装成功了Y0T<code>Q0R1NBH1FEN__]O</code>UTW.png
注册一个GitHub账号可以看看这个博主的文章
https://blog.csdn.net/m0_67906358/article/details/128808210
然后连接git GitHub可以看看这篇文章
https://zhuanlan.zhihu.com/p/370635512
之后就可以开始部署hexo了
https://go2think.com/build-blog-with-hexo-on-github-pages/
最后直接hexo s就可以了G4H2(@DIG@P7(RD9{A}O{D6.png
然后就不要动了CTRL+C会停止运行可以选中然后右键有了copy复制打开就行
1.png
2.png
3.png
我是加了butterfly主题感兴趣的可以去搜一下还是一个比较好的主题
基本上全部都部署完成了有不动的可以加我p 备注一下什么问题我可以帮你看一下当然能自己解决更好哈哈
本期内容就到此结束了下期再见!
如有侵权请告诉我,我立马改正!

]]>
2 /index.php/posts/202.html#comments /index.php/feed/category/xjq/
看板娘 /index.php/posts/185.html /index.php/posts/185.html Sun, 21 Apr 2024 05:52:00 +0000 种花家 看着别人博客主页的看板娘好萌好贴心,自己也想弄一个啊此处记录自己的学习实践过程,也供大家参考我认为一个不太够所以我弄了两个哈哈题外话.
首先第一个我是参考CSDN里的博主燕穗子博客
https://blog.csdn.net/m0_64346035/article/details/124436138?spm=1001.2014.3001.5506
421.png
XQ5H0(C9K46({IDT_~K%}K3.png

他是直接添加在PHP里面但是有时候可能加载不出来要耐心等待一下因为我弄这个搞了两天才出来的有时候不太稳定


https://www.cnblogs.com/pumpkinhlk/p/15410970.html
https://www.cnblogs.com/eve-d/p/15683541.html
第二个是在typecho里的直接修改外观改自定义CSS样式和自定义body标签末尾位置内容,自定义Footer内容可加可不加
CSS代码:

*{
transition: all 0.4s;
}

home {

margin: 0 auto;
width: 80%;/原始65/
min-width: 980px;/页面顶部的宽度/
">rgba(245, 245, 245, 0.7);
padding: 30px;
margin-top: 50px;
margin-bottom: 50px;
box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
body {
background-image: url("http://ww4.sinaimg.cn/large/637d0877gw1exlma5gj0wj21hc0u04p6.jpg");
background: rgba(12, 100, 129, 1) url('http://images.cnblogs.com/cnblogs_com/Penn000/1013849/o_123.jpg') fixed no-repeat;
background-position: 50% 5%;
background-size: cover;
}

navList li{

cursor: pointer;
transition: all 0.2s;
}

navList li:hover {

transform: scale(1.5) rotate(360deg);
color:#FF0;
opacity:0.5;
}

blogTitle {

height: 100px; /高度/
clear: both;
">rgba(245, 245, 245, 0);
}

blogTitle h1 {

font-size: 36px;
font-weight: bold;
line-height: 1.8em;/原始 1.6em/
margin-top: 10px;/原始 15px /
color: #548B54;
}

blogTitle h2 {

font-weight: normal;
font-size: 17px;/原始 16px ;font-size: 1.0rem;/
line-height: 1.8;
color: #111;
font-weight: bold;
text-align: right;
float: right;
}

navigator{

">rgba(33, 160, 139, 0.9);
}

navList a:link, #navList a:visited, #navList a:active{

color: #eee;
font-size: 18px;
font-weight: bold;
}
.blogStats{
color: #eee;
}
.postTitle {
border-left: 8px solid rgba(33, 160, 139, 0.68);
margin-left: 10px;
margin-bottom: 10px;
font-size: 20px;
float: right;
width: 100%;
clear: both;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
color: #21759b;
transition: all 0.4s linear 0s;
}
.postTitle a:hover {
margin-left: 30px;
color: #0f3647;
text-decoration: none;
}
.postCon {
float: right;
line-height: 1.5em;
width: 100%;
clear: both;
padding: 10px 0;
}

.day .postTitle a {
padding-left: 10px;
}
.day {
background: rgba(255, 255, 255, 0.5);
}
/文章附加信息/
.postDesc {
background: url(images/posted_time.png) no-repeat 0 1px;
color: #757575;
float: left;
width: 100%;
clear: both;
text-align: left;
font-family: "微软雅黑" , "宋体" , "黑体" ,Arial;
font-size: 13px;
padding-right: 20px;/5px padding-left: 90px;posted 发表时间左边距离/
margin-top: 20px;
line-height: 1.8;
padding-bottom: 35px;
}

.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory,
.catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView,
.catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory ,#blog-calendar
{
background: rgba(255, 255, 255, 0.5);
margin-bottom: 35px;
word-wrap: break-word;
}

.CalTitle{
background: rgba(255, 255, 255, 0);
}
.catListTitle{
">rgba(33, 160, 139, 0.9);
}

topics{

background: rgba(255, 255, 255, 0.5);
}

.c_ad_block{
display: none;
}

tbCommentBody{

width: 100%;
height: 200px;
background: rgba(255, 255, 255, 0.5);
}

q{background: rgba(255, 255, 255, 0);}

.CalNextPrev{background: rgba(255, 255, 255, 0);}
但是我觉得太长了因为太长了看起来很麻烦
canvas#live2dcanvas {
border: 0 !important;
left: 0;
}
这个相对了说比较适合
最重要的还是自定义body标签末尾位置内容

看板娘的图形代码地址合集:https://www.lanol.cn/post/305.html
还可以自己弄一张图片上去还有聊天内容也可以修改可以看看上面的链接
以上都是借鉴大佬们的如有侵权请及时告诉我,我立即修改!
其他版本:https://paugram.com/coding/add-poster-girl-with-plugin.html

]]>
0 /index.php/posts/185.html#comments /index.php/feed/category/xjq/
javascript弹跳小球 /index.php/posts/136.html /index.php/posts/136.html Thu, 18 Apr 2024 03:26:00 +0000 种花家 简介:无意看博客看到的觉得有点意思就上传了如有侵权请告诉我

1.png
2.png
3.png

]]>
0 /index.php/posts/136.html#comments /index.php/feed/category/xjq/
关于ps的一些使用技巧和一些快捷键 /index.php/posts/131.html /index.php/posts/131.html Fri, 05 Apr 2024 07:12:00 +0000 种花家 RGB用于线上观看
CMYK用于打印
alt+delete填充前景色
ctrl+delete填充背景色
画笔shift可以画直线
新建文档:Ctrl+N
打开文件:Ctrl+O
保存文件:Ctrl+S
撤销:Ctrl+Z
重做:Ctrl+Shift+Z
复制选区或图层:Ctrl+C
粘贴选区或图层:Ctrl+V
剪切选区或图层:Ctrl+X
全选:Ctrl+A
取消选区:Ctrl+D
放大画面:Ctrl+鼠标滚轮上滚
缩小画面:Ctrl+鼠标滚轮下滚
ctrl+G 快速创建组
ctrl+E 图层向下合并
ctrl+shift+E 合并可见图层
ctrl+alt+E 保留原图层 并向下合并
ctrl+shift+alt+E 盖印图层(将所有可见图层合并,形成一个新的图层)
ctrl+alt+G 创建剪切蒙版(谁被蒙版 谁在上 选谁) 或者 alt+点击两个图层的交接处
移动选区或图层:V
画笔工具:B
橡皮擦工具:E
文本工具:T
拾色器工具:I
切片工具:C
快速选择工具:W
矩形选择工具:M
1.魔棒的作用:比较快捷的抠图工具,对于一些分界线比较明显的图像,通过魔棒工具可以很快速的将图像抠出,魔棒的作用是可以知道你点击的那个地方的颜色,并自动获取附近区域相同的颜色,使它们处于选择状态

2.橡皮擦的作用:像皮擦工具就是把你不要的那块给擦除,你自己可以试下,用它擦图的时候,擦过的地区会是透明的,如果下面还有一层图的话,会透出下层图

复位工作区
如果面板被拖拽的很乱,想恢复原来位置,可以点击:窗口–工作区–复位基本功能

暂存盘
编辑–首选项(在最下面)–暂存盘(Ctrl+K)

历史记录
为了方便我们操作失误后,找回更多的历史记录,我们可以将 性能–历史记录改多一些

更详细的可以看
https://blog.csdn.net/qq_63317769/article/details/130504709?ops_request_misc=&request_id=&biz_id=102&utm_term=ps%E5%BF%AB%E6%8D%B7%E9%94%AE%E7%AC%94%E8%AE%B0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-8-130504709.142
这个博主讲的比较详细

]]>
0 /index.php/posts/131.html#comments /index.php/feed/category/xjq/
炫酷流光效果 /index.php/posts/126.html /index.php/posts/126.html Sun, 17 Dec 2023 09:25:00 +0000 种花家 <!DOCTYPE html>

<head>
    <meta charset="utf-8">
    <title>Document</title>
    <style>
        body{
            margin: 0;
            padding: 0;
            background-color: #000;
        }
        a{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            width: 200px;
            height: 60px;
            text-align: center;
            line-height: 60px;
            color: #fff;
            font-size: 24px;
            text-decoration: none;
            font-family: sans-serif;
            box-sizing: border-box;
            background: 
            linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);
            border-radius: 30px;
            background-size: 400%;
            z-index: 1;
            
        }
        a:hover{
            animation: animate  8s linear infinite ;
        }
        @keyframes animate{
            from{
                background-position: 0%;
            }
            to{
                background-position: 400%;
            }
        }
        a::before{
            content: '';
            position: absolute;
            inset: -5px;
            z-index: -l;
            background: (90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4); 
            background-size: 400%;
            border-radius: 40px;
            opacity: 0;
        }
        a:hover::before{
            filter: blur(20px);
            opacity: 1;
            animation: animate  8s linear infinite; 
        }
    </style>

</head>

23.png
演示:34.mov

<body>
    <a href="#">BUTTON</a>
</body>

]]>
0 /index.php/posts/126.html#comments /index.php/feed/category/xjq/
动态旋转 /index.php/posts/121.html /index.php/posts/121.html Sat, 16 Dec 2023 09:14:00 +0000 种花家 <!DOCTYPE html>

<head>
    <meta charset="utf-8">
    <title>图片动态旋转</title>
    <style>
        ul {
            width: 220px;
            height: 220px;
            position: relative;
            margin-left: 500px;
            margin-top: 400px;
        }
        li{
            list-style: none;
            position: absolute;
            left: 0;
            top: 0;
            transform-origin: left top;
            transition: all   1s;
        }
        ul:hover li:first-child{-webkit-transform: rotate(60deg);}
        ul:hover li:nth-child(2) {-webkit-transform: rotate(120deg);}
        ul:hover li:nth-child(3) {-webkit-transform: rotate(180deg);}
        ul:hover li:nth-child(4) {-webkit-transform: rotate(240deg);}
        ul:hover li:nth-child(5) {-webkit-transform: rotate(300deg);}
        ul:hover li:last-child {-webkit-transform: rotate(360deg);}
    </style>
</head>

12.jpg
34.jpg
56.jpg
1.png
演示:12.mov

<body>
    <ul>
        <li><img src="12.jpg" style="width: 200px; height: 280px;"></li>
        <li><img src="34.jpg" style="width: 200px; height: 280px;"></li>
        <li><img src="56.jpg" style="width: 200px; height: 280px;"></li>
        <li><img src="12.jpg" style="width: 200px; height: 280px;"></li>
        <li><img src="34.jpg" style="width: 200px; height: 280px;"></li>
        <li><img src="56.jpg" style="width: 200px; height: 280px;"></li>
    </ul>
</body>

]]>
0 /index.php/posts/121.html#comments /index.php/feed/category/xjq/
两栏自适应和三栏自适应 /index.php/posts/25.html /index.php/posts/25.html Sat, 25 Nov 2023 13:00:00 +0000 种花家 2.jpg<!DOCTYPE html>

<meta charset="utf-8">
<title>两栏自适应</title>
<style type="text/css">
               .parent{overflow:hidden;
                        color:#fff;
                       }
              .leftchild{
                             float:left;
                             width:100px;
                              height:100px;
                              background:red;  }
            .rightchild{background:green; 
                                 height:100px; 
                                 margin-left:100px;
                                }

             .dingweibuju{ 
                             position:relative;
                             }
             .dwlchild{width:100px;
                           height:100px;
                           background:blue;
                           position:absolute;
                           }
              .dwrchild{
                             height:100px;
                             background:yellow;
                             margin-left:100px;    }

</style>


    <!-- 浮动布局实现两栏自适应 -->
    <div class="parent">
        <div class="leftchild">222</div>
        <div class="rightchild">我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局</div>
    </div>
    <!-- 浮动布局实现两栏自适应 -->
    <div class="dingweibuju">
        <div class="dwlchild">1111</div>
        <div class="dwrchild">我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局</div>
    </div>


<!DOCTYPE html>

<head>
    <meta charset="utf-8">
    <title></title>
    <style type="">
        .dd{
            overflow:hidden;
        }
        .left{
            float: left;
            width: 200px;
            height:100px;
            background:red;
        }
        .right{    
            width:200px;
            height:100px;
            background: green;
            float:right;
        }
        .main{
            margin-right: 200px;
            margin-left: 200px;
            height:100px;
            background: blue;
        }
        .dw{position: relative;}
        .dwleft{
            position: absolute;
            left: 0;
            width: 100px;
            height: 100px;
            background: greenyellow;
        }
        .dwright{
            position: absolute;
            right: 0;
            width: 100px;
            height: 100px;
            background: gray;
        }
        .dwmain{
            margin-left: 100px;
            margin-right: 100px;
            height: 100px;
            background: rebeccapurple;
        }
    </style>
</head>
<body>
    <div class="dd">
        <div class="left">222</div>
        <div class="right">我是自适应布局我是自适应布局我是自适应布局我是自适应布局</div>
        <div class="main">我是自适应布局我是自适应布局我是自适应布局我是自适应布局</div>
    </div>
    
    <div class="dw">
        <div class="dwleft">111</div>
        <div class="dwright">我是自适应布局我是自适应布局我是自适应布局我是自适应布局</div>
        <div class="dwmain">我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局我是自适应布局</div>
    </div>
</body>

2.png

演示: [1]: /usr/uploads/2023/11/1818980144.mp4

]]>
0 /index.php/posts/25.html#comments /index.php/feed/category/xjq/
三角形圆形 /index.php/posts/18.html /index.php/posts/18.html Sat, 25 Nov 2023 12:51:00 +0000 种花家 联想截图_20231125205233.png<!DOCTYPE html>

<meta charset="utf-8">
<title>三角形</title>
<style type="text/css">
            /*等边三角形*/
             .sjx{
                    width:0;
                    height:0;
                      border-top:50px solid red;
                     border-right:50px solid  transparent;
                     border-bottom:0 solid transparent;
                      border-left:50px solid  transparent;
                   }

             .dyzj{
                    width:0;
                    height:0;
                     border-top:0 solid transparent;
                     border-right:0 solid transparent;
                     border-bottom:50px solid green;
                      border-left:50px solid transparent;
                   }
               .yuan{
                        width:100px;
                        height:100px;
                         border:1px solid blue;
                         border-radius:50px;}
</style>


           <!--等边三角形-->
            <div class="sjx"></div>
           <hr/>
          <!--等腰直角三角形-->
<div class="dyzj"></div>
          <hr/>
          <!--圆-->
         <div class="yuan"></div>


]]>
0 /index.php/posts/18.html#comments /index.php/feed/category/xjq/