Commit 7c6aa90fb14386b9eb6db77d58a5294964995e52

Authored by Miguel Barao
1 parent af2c7cad
Exists in master and in 1 other branch dev

- moved tables CSS to test.css

static/css/test.css
... ... @@ -20,3 +20,12 @@ body {
20 20 textarea {
21 21 font-family: monospace !important;
22 22 }
  23 +/* make markdown tables beautiful */
  24 +table {
  25 + border-collapse: collapse;
  26 + margin-left: 50px;
  27 +}
  28 +thead, tbody, td, th {
  29 + padding: 5px;
  30 + border-bottom: 1px solid #ddd;
  31 +}
... ...
templates/admin.html
... ... @@ -11,11 +11,17 @@
11 11 <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
12 12 <link rel="stylesheet" href="/static/bootstrap/css/bootstrap-theme.min.css"> <!-- optional -->
13 13 <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
14   - <link rel="stylesheet" href="/static/css/test.css">
15 14  
16 15 <script src="/static/js/jquery.min.js"></script>
17 16 <script src="/static/bootstrap/js/bootstrap.min.js"></script>
18 17 <script src="/static/js/admin.js"></script>
  18 +
  19 + <style>
  20 + body {
  21 + padding-top: 100px;
  22 + background: #ccc;
  23 + }
  24 + </style>
19 25 </head>
20 26 <!-- ===================================================================== -->
21 27 <body>
... ...
templates/test.html
... ... @@ -20,6 +20,8 @@
20 20 <!-- Bootstrap -->
21 21 <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
22 22 <link rel="stylesheet" href="/static/bootstrap/css/bootstrap-theme.min.css"> <!-- optional -->
  23 +
  24 +<!-- other -->
23 25 <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
24 26 <link rel="stylesheet" href="/static/css/github.css"> <!-- syntax highlight -->
25 27 <link rel="stylesheet" href="/static/css/sticky-footer-navbar.css">
... ... @@ -33,18 +35,6 @@
33 35 <script src="/static/js/prevent_enter_submit.js"></script>
34 36 <script src="/static/js/tabkey_in_textarea.js"></script>
35 37 <script src="/static/js/detect_unfocus.js"></script>
36   -
37   -<!-- My table style -->
38   - <style>
39   - table {
40   - border-collapse: collapse;
41   - margin-left: 50px;
42   - }
43   - thead, tbody, td, th {
44   - padding: 5px;
45   - border-bottom: 1px solid #ddd;
46   - }
47   - </style>
48 38 </head>
49 39 <!-- ===================================================================== -->
50 40 <body>
... ...