Commits

Sepehr Taghdisian  committed ad76552

small fixes

  • Participants
  • Parent commits 9e6f514

Comments (0)

Files changed (2)

File src/mdwiki.py

         themename = 'default'
         
     exedir = get_exec_dir()
-    themedir = os.path.abspath(exedir + '/themes/' + themename);
+    themedir = os.path.join(exedir, 'themes', themename);
     themedir_rel = os.path.relpath(themedir, exedir)
+    print themedir
     
     if not os.path.isdir(themedir):
         print 'Error: theme does not exist'
     html = string.join(r, '')
     
     # change class for tables
-    html = html.replace('<table>', '<table class="pure-table">')
+    html = html.replace('<table>', '<table class="pure-table pure-table-bordered">')
     
     # put prefix path inside inside html for js access
     html += '<div id="prefix-path" style="visibility:hidden;">{0}</div>'.format(prefix_path)

File src/themes/darkhammer/theme.css

     border: 1px solid black;
 }
 
+header > div > div > img {
+    border: none;
+}
+
+
+