Skip to content

Commit

Permalink
sidebar color fix & jquery fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord committed Aug 1, 2022
1 parent f4255b0 commit aef671d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 2 additions & 0 deletions _includes/LY_OVERRIDE/younglord.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
#sidebar{
font-family: inherit;
font-size: inherit;
color: inherit;
background-color: inherit;
}

.sidebar-toggle {/*调节侧边栏开关到顶部的距离,防止移动端无法显示搜索按钮*/
Expand Down
13 changes: 5 additions & 8 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@
{%- include snippets/get-lang.html -%}
<html lang="{{ __return }}">
<head>
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/poole/lanyon@ac85a3115c094b3e6cb92cc41771e98b443f6c5d/public/css/poole.min.css">

<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/poole/lanyon@ac85a3115c094b3e6cb92cc41771e98b443f6c5d/public/css/syntax.min.css">

<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/poole/lanyon@ac85a3115c094b3e6cb92cc41771e98b443f6c5d/public/css/lanyon.min.css">

<link rel="stylesheet" href="/assets/css/wu-kan.css">

<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/poole/lanyon@ac85a3115c094b3e6cb92cc41771e98b443f6c5d/public/css/poole.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/poole/lanyon@ac85a3115c094b3e6cb92cc41771e98b443f6c5d/public/css/syntax.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/poole/lanyon@ac85a3115c094b3e6cb92cc41771e98b443f6c5d/public/css/lanyon.min.css">
<link rel="stylesheet" href="/assets/css/wu-kan.css">
<script src="//cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
{%- include analytics.html -%}
{%- include head.html -%}
<style type="text/css">
Expand Down
1 change: 0 additions & 1 deletion assets/css/wu-kan.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*From https://github.com/wu-kan/wu-kan.github.io , shared by MIT License*/
@media (min-width: 70em) {
body {
background-image: url(about:blank);
background-size: 100%;
background-repeat: no-repeat;
background-attachment: fixed;
Expand Down
1 change: 0 additions & 1 deletion assets/js/jekyll_table_of_contents.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
document.write('<div id="toc"></div>');
document.write('<script src="//cdn.jsdelivr.net/gh/ghiculescu/jekyll-table-of-contents/toc.min.js"></script>');
document.write('<script src="//cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>');
document.addEventListener("DOMContentLoaded", function () {$('#toc').toc();});

0 comments on commit aef671d

Please sign in to comment.