Commit 7c6aa90fb14386b9eb6db77d58a5294964995e52
1 parent
af2c7cad
Exists in
master
and in
1 other branch
- moved tables CSS to test.css
Showing
3 changed files
with
18 additions
and
13 deletions
Show diff stats
static/css/test.css
| @@ -20,3 +20,12 @@ body { | @@ -20,3 +20,12 @@ body { | ||
| 20 | textarea { | 20 | textarea { |
| 21 | font-family: monospace !important; | 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 +11,17 @@ | ||
| 11 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css"> | 11 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css"> |
| 12 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap-theme.min.css"> <!-- optional --> | 12 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap-theme.min.css"> <!-- optional --> |
| 13 | <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css"> | 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 | <script src="/static/js/jquery.min.js"></script> | 15 | <script src="/static/js/jquery.min.js"></script> |
| 17 | <script src="/static/bootstrap/js/bootstrap.min.js"></script> | 16 | <script src="/static/bootstrap/js/bootstrap.min.js"></script> |
| 18 | <script src="/static/js/admin.js"></script> | 17 | <script src="/static/js/admin.js"></script> |
| 18 | + | ||
| 19 | + <style> | ||
| 20 | + body { | ||
| 21 | + padding-top: 100px; | ||
| 22 | + background: #ccc; | ||
| 23 | + } | ||
| 24 | + </style> | ||
| 19 | </head> | 25 | </head> |
| 20 | <!-- ===================================================================== --> | 26 | <!-- ===================================================================== --> |
| 21 | <body> | 27 | <body> |
templates/test.html
| @@ -20,6 +20,8 @@ | @@ -20,6 +20,8 @@ | ||
| 20 | <!-- Bootstrap --> | 20 | <!-- Bootstrap --> |
| 21 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css"> | 21 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css"> |
| 22 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap-theme.min.css"> <!-- optional --> | 22 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap-theme.min.css"> <!-- optional --> |
| 23 | + | ||
| 24 | +<!-- other --> | ||
| 23 | <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css"> | 25 | <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css"> |
| 24 | <link rel="stylesheet" href="/static/css/github.css"> <!-- syntax highlight --> | 26 | <link rel="stylesheet" href="/static/css/github.css"> <!-- syntax highlight --> |
| 25 | <link rel="stylesheet" href="/static/css/sticky-footer-navbar.css"> | 27 | <link rel="stylesheet" href="/static/css/sticky-footer-navbar.css"> |
| @@ -33,18 +35,6 @@ | @@ -33,18 +35,6 @@ | ||
| 33 | <script src="/static/js/prevent_enter_submit.js"></script> | 35 | <script src="/static/js/prevent_enter_submit.js"></script> |
| 34 | <script src="/static/js/tabkey_in_textarea.js"></script> | 36 | <script src="/static/js/tabkey_in_textarea.js"></script> |
| 35 | <script src="/static/js/detect_unfocus.js"></script> | 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 | </head> | 38 | </head> |
| 49 | <!-- ===================================================================== --> | 39 | <!-- ===================================================================== --> |
| 50 | <body> | 40 | <body> |