Commit 67bab72d authored by Remi Rampin's avatar Remi Rampin

Make disabled links non-clickable, different color

parent 47061ea1
......@@ -95,7 +95,7 @@ def get_html_body(body):
if not (href.startswith('http://') or
href.startswith('https://') or
href.startswith('mailto:')):
e.attrs['href'] = '#'
del e.attrs['href']
# Back to string
body = str(soup)
del soup
......
......@@ -17,6 +17,11 @@
color: #3498DB;
}
/* Disabled links */
#document-contents a:not([href]) {
color: #216490;
}
.container-body a:not(.btn, .dropdown, .badge):hover {
color: #0f2d41 !important;
text-decoration: underline;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment