]> git.za3k.com Git - za3k.git/commitdiff
Uniform markdown.css
authorZachary Vance <za3k@za3k.com>
Mon, 17 Jul 2023 17:21:06 +0000 (13:21 -0400)
committerZachary Vance <za3k@za3k.com>
Mon, 17 Jul 2023 17:21:06 +0000 (13:21 -0400)
archive/markdown.css [deleted symlink]
cgi-bin/markdown/Markdown.cgi
games/markdown.css [deleted file]

diff --git a/archive/markdown.css b/archive/markdown.css
deleted file mode 120000 (symlink)
index c586a46..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../markdown.css
\ No newline at end of file
index bed5466aedf6751bcd9066aab569ed942fe4d961..3055d64664f4d35eddc8c8e6a97aa87b18ba24eb 100755 (executable)
@@ -18,7 +18,7 @@ content = markdown.render(File.read(ENV['PATH_TRANSLATED']))
 puts %Q{
 <html>
 <head>
-<link rel="stylesheet" type="text/css" href="markdown.css">
+<link rel="stylesheet" type="text/css" href="/markdown.css">
 </head>
 <body>
 #{content}
diff --git a/games/markdown.css b/games/markdown.css
deleted file mode 100644 (file)
index b6ca5a5..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-@media (min-width: 800px) {
-    body {
-        margin-left: 20%;
-        width: max(500px, 50%);
-        padding: 5em;
-    }
-    body > *:first-child { /* nav bar */
-        margin-bottom: 4em;
-    }
-}
-
-table, th, td {
-  border: 1px solid black;
-  padding: 6px 10px 6px 10px;
-}
-
-table {
-  border-collapse: collapse;
-}
-
-/*
-tr:nth-child(even) {
-  background-color: #f0f0ff;
-}
-*/
-
-table {
-  width: 100%;
-}
-
-th {
-  background-color: #FFFFDD;
-  min-height: 50px;
-}
-
-tr.alt td {
-  background-color: #EAF2D3;
-}
-
-img {
-  max-width: 300px;
-}
-
-li {
-  margin: 8px 0 8px 0;
-  overflow: auto;
-}