Browse Source

some reorganization

pull/1/head
Ellpeck 1 year ago
parent
commit
7aced5c274
8 changed files with 8 additions and 8 deletions
  1. +3
    -3
      index.html
  2. +3
    -3
      scripts/main.js
  3. +0
    -0
      scripts/showdown-prettify.js
  4. +0
    -0
      style/dark.css
  5. +1
    -1
      style/prettify-dark.css
  6. +1
    -1
      style/prettify.css
  7. +0
    -0
      style/pride.css
  8. +0
    -0
      style/style.css

+ 3
- 3
index.html View File

@ -12,8 +12,8 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="lib/prettify.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="style/prettify.css">
<link rel="stylesheet" href="style/style.css">
<link rel="icon" href="favicon.ico">
<meta name="og:title" content="Ellpeck.de">
@ -29,7 +29,7 @@
<script src="https://cdn.jsdelivr.net/npm/showdown@1.9.0/dist/showdown.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/prettify.js"></script>
<script src="lib/showdown-prettify.js"></script>
<script src="scripts/showdown-prettify.js"></script>
<script src="scripts/main.js"></script>
</head>


+ 3
- 3
scripts/main.js View File

@ -3,11 +3,11 @@ let cookieNotification = getCookie("notification") !== "true";
let pride = new Date().getMonth() == 5;
if (dark) {
document.write('<link rel="stylesheet" href="dark.css">')
document.write('<link rel="stylesheet" href="lib/prettify-dark.css">')
document.write('<link rel="stylesheet" href="style/dark.css">')
document.write('<link rel="stylesheet" href="style/prettify-dark.css">')
}
if (pride)
document.write('<link rel="stylesheet" href="pride.css">')
document.write('<link rel="stylesheet" href="style/pride.css">')
$(function () {
let openModals = function (hash) {


lib/showdown-prettify.js → scripts/showdown-prettify.js View File


dark.css → style/dark.css View File


lib/prettify-dark.css → style/prettify-dark.css View File

@ -55,7 +55,7 @@ ol.linenums {
}
pre.prettyprint {
border-radius: 10px;
border-radius: 5px;
}
.prettyprint {

lib/prettify.css → style/prettify.css View File

@ -134,7 +134,7 @@ projection {
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
border-radius: 10px;
border-radius: 5px;
}
.prettyprint {

pride.css → style/pride.css View File


style.css → style/style.css View File


Loading…
Cancel
Save