Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Optimize the style
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeBottle committed Oct 31, 2021
1 parent bb1e5d1 commit 3541493
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ a.item:hover {
}

.readme {
margin: 2em 0;
margin: 1.1em 0;
background-color: rgba(0, 0, 0, 0);
}

footer {
Expand Down
16 changes: 9 additions & 7 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<link href="https://cdn.jsdelivr.net/gh/SomeBottle/OdIndex@2.4.2/assets/style.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/gh/SomeBottle/OdIndex@3.2/assets/style.css" rel="stylesheet">
<link href='https://cdn.jsdelivr.net/gh/SomeBottle/[email protected]/assets/woff.css' rel='stylesheet'>
<link href='https://cdn.jsdelivr.net/npm/github-markdown-css/github-markdown.css' rel='stylesheet'>
<link href='https://cdn.jsdelivr.net/npm/github-markdown-css/github-markdown-light.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism.min.css">
<title>OdIndex - /{[Path]}</title>
</head>
Expand All @@ -21,7 +21,9 @@
<div style='min-width:600px'>{[Items]}</div>
</div>
<!--CurrentPage:{[CurrentPage]}-->{[Pagination]}
<div class='readme markdown-body' id='readme'></div>
<div class='readme'>
<div class='markdown-body' id='readme'></div>
</div>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/prismjs/prism.min.js"></script>
Expand Down Expand Up @@ -91,8 +93,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<link href="https://cdn.jsdelivr.net/gh/SomeBottle/OdIndex@2.4.2/assets/style.css" rel="stylesheet">
<link href='https://cdn.jsdelivr.net/npm/github-markdown-css/github-markdown.css' rel='stylesheet'>
<link href="https://cdn.jsdelivr.net/gh/SomeBottle/OdIndex@3.2/assets/style.css" rel="stylesheet">
<link href='https://cdn.jsdelivr.net/npm/github-markdown-css/github-markdown-light.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism.min.css">
<title>OdIndex Preview</title>
</head>
Expand Down Expand Up @@ -189,8 +191,8 @@ <h2 style='margin-top:0;'>此预览需要前往Office</h2>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<link href="https://cdn.jsdelivr.net/gh/SomeBottle/OdIndex@2.4.2/assets/style.css" rel="stylesheet">
<link href='https://cdn.jsdelivr.net/npm/github-markdown-css/github-markdown.css' rel='stylesheet'>
<link href="https://cdn.jsdelivr.net/gh/SomeBottle/OdIndex@3.2/assets/style.css" rel="stylesheet">
<link href='https://cdn.jsdelivr.net/npm/github-markdown-css/github-markdown-light.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism.min.css">
<title>OdIndex - /{[Path]}</title>
</head>
Expand Down

0 comments on commit 3541493

Please sign in to comment.