Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: tools/md_browser/md_browser.py

Issue 2738053004: rework css to better match gitiles (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/md_browser/header.html ('k') | tools/md_browser/prettify.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/md_browser/md_browser.py
diff --git a/tools/md_browser/md_browser.py b/tools/md_browser/md_browser.py
index d423c66c1ca5c28b82d00de7517b52d202093420..f0937dda603bf836fe4029ea2a46d73ff47b56b6 100755
--- a/tools/md_browser/md_browser.py
+++ b/tools/md_browser/md_browser.py
@@ -130,8 +130,8 @@ class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
if not full_path.startswith(self.server.top_level):
self._DoUnknown()
- elif path == '/doc.css':
- self._DoCSS('doc.css')
+ elif path in ('/base.css', '/doc.css', '/prettify.css'):
+ self._DoCSS(path[1:])
elif not os.path.exists(full_path):
self._DoNotFound()
elif path.lower().endswith('.md'):
« no previous file with comments | « tools/md_browser/header.html ('k') | tools/md_browser/prettify.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698