-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsearch.xml
45 lines (21 loc) · 7.41 KB
/
search.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title>嵌入哔哩哔哩视频</title>
<link href="/2022/11/14/bilibilivideo/"/>
<url>/2022/11/14/bilibilivideo/</url>
<content type="html"><![CDATA[<h2 id="博客嵌入哔哩哔哩视频"><a href="#博客嵌入哔哩哔哩视频" class="headerlink" title="博客嵌入哔哩哔哩视频"></a>博客嵌入哔哩哔哩视频</h2><h3 id="插入到-css-样式中"><a href="#插入到-css-样式中" class="headerlink" title="插入到 css 样式中"></a>插入到 css 样式中</h3><figure class="highlight css"><table><tr><td class="code"><pre><span class="line"><span class="selector-class">.video</span> {</span><br><span class="line"> <span class="attribute">height</span>: <span class="number">0</span>;</span><br><span class="line"> <span class="attribute">padding-bottom</span>: <span class="number">56.25%</span>; <span class="comment">/* 16:9 */</span></span><br><span class="line"> <span class="attribute">position</span>: relative;</span><br><span class="line"> <span class="attribute">width</span>: <span class="number">100%</span>;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="selector-class">.video</span> <span class="selector-tag">iframe</span> {</span><br><span class="line"> <span class="attribute">position</span>: absolute;</span><br><span class="line"> <span class="attribute">left</span>: <span class="number">0</span>;</span><br><span class="line"> <span class="attribute">top</span>: <span class="number">0</span>;</span><br><span class="line"> <span class="attribute">width</span>: <span class="number">100%</span>;</span><br><span class="line"> <span class="attribute">height</span>: <span class="number">100%</span>;</span><br><span class="line">}</span><br></pre></td></tr></table></figure><h3 id="打开-B-站任意视频,点击分享嵌入代码"><a href="#打开-B-站任意视频,点击分享嵌入代码" class="headerlink" title="打开 B 站任意视频,点击分享嵌入代码"></a>打开 B 站任意视频,点击分享嵌入代码</h3><figure class="highlight css"><table><tr><td class="code"><pre><span class="line"><<span class="selector-tag">iframe</span> <span class="attribute">src</span>="//player<span class="selector-class">.bilibili</span><span class="selector-class">.com</span>/player<span class="selector-class">.html</span>?aid=<span class="number">987493800</span>&bvid=BV15t4y1T7tR&cid=<span class="number">884616083</span>&page=<span class="number">1</span>" scrolling="no" <span class="attribute">border</span>="<span class="number">0</span>" frameborder="no" framespacing="<span class="number">0</span>" allowfullscreen="true"> </<span class="selector-tag">iframe</span>></span><br></pre></td></tr></table></figure><h3 id="写文章时引用嵌入代码-然后用-vide-的-div-包住它"><a href="#写文章时引用嵌入代码-然后用-vide-的-div-包住它" class="headerlink" title="写文章时引用嵌入代码,然后用 vide 的 div 包住它"></a>写文章时引用嵌入代码,然后用 vide 的 div 包住它</h3><figure class="highlight css"><table><tr><td class="code"><pre><span class="line"><<span class="selector-tag">div</span> class="<span class="selector-tag">video</span>"></span><br><span class="line"><<span class="selector-tag">iframe</span> <span class="attribute">src</span>="//player<span class="selector-class">.bilibili</span><span class="selector-class">.com</span>/player<span class="selector-class">.html</span>?aid=<span class="number">987493800</span>&bvid=BV15t4y1T7tR&cid=<span class="number">884616083</span>&page=<span class="number">1</span>" scrolling="no" <span class="attribute">border</span>="<span class="number">0</span>" frameborder="no" framespacing="<span class="number">0</span>" allowfullscreen="true"> </<span class="selector-tag">iframe</span>></span><br><span class="line"></<span class="selector-tag">div</span>></span><br><span class="line"></span><br></pre></td></tr></table></figure><style type="text/css">.video { height: 0; padding-bottom: 56.25%; /* 16:9 */ position: relative; width: 100%;}.video iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%;}</style><div class="video"><iframe src="//player.bilibili.com/player.html?aid=987493800&bvid=BV15t4y1T7tR&cid=884616083&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe></div>]]></content>
<categories>
<category> 博客 </category>
</categories>
<tags>
<tag> css </tag>
</tags>
</entry>
<entry>
<title>Hello World</title>
<link href="/2022/11/12/hello-world/"/>
<url>/2022/11/12/hello-world/</url>
<content type="html"><![CDATA[<p>欢迎使用 <a href="https://hexo.io/">Hexo</a>! 这是你的第一篇文章。 检查 <a href="https://hexo.io/docs/">文档 documentation</a> 了解更多信息。 如果您在使用 Hexo 时遇到任何问题, 可以在 <a href="https://hexo.io/docs/troubleshooting.html">疑难解答 troubleshooting</a>中找到答案,或者你可以在 <a href="https://github.com/hexojs/hexo/issues">GitHub</a>上问我.</p><h2 id="Quick-Start-快速入门"><a href="#Quick-Start-快速入门" class="headerlink" title="Quick Start 快速入门"></a>Quick Start 快速入门</h2><h3 id="Create-a-new-post-创建新帖子"><a href="#Create-a-new-post-创建新帖子" class="headerlink" title="Create a new post 创建新帖子"></a>Create a new post 创建新帖子</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure><p>更多信息 More info: <a href="https://hexo.io/docs/writing.html">Writing</a></p><h3 id="Run-server-运行服务器"><a href="#Run-server-运行服务器" class="headerlink" title="Run server 运行服务器"></a>Run server 运行服务器</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure><p>更多信息 More info: <a href="https://hexo.io/docs/server.html">Server</a></p><h3 id="Generate-static-files-生成静态文件"><a href="#Generate-static-files-生成静态文件" class="headerlink" title="Generate static files 生成静态文件"></a>Generate static files 生成静态文件</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure><p>更多信息 More info: <a href="https://hexo.io/docs/generating.html">Generating</a></p><h3 id="Deploy-to-remote-sites-部署到远程站点"><a href="#Deploy-to-remote-sites-部署到远程站点" class="headerlink" title="Deploy to remote sites 部署到远程站点"></a>Deploy to remote sites 部署到远程站点</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure><p>更多信息 More info: <a href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>]]></content>
</entry>
</search>