summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-11-12 08:04:40 -0500
committerJames Moger <james.moger@gitblit.com>2013-11-12 16:12:59 -0500
commitdc7c2f650de99c7f9ae8d6c049f419fcd00fb2a2 (patch)
tree65afcc7c5a7a8ccdb36412f2a150ddc9964adca9 /src/main/resources
parent07d55f6164eff792ec5d127b865871074194c14b (diff)
downloadgitblit-dc7c2f650de99c7f9ae8d6c049f419fcd00fb2a2.tar.gz
gitblit-dc7c2f650de99c7f9ae8d6c049f419fcd00fb2a2.zip
Refactor markup processing in preparation for supporting other formats
Change-Id: I0eb217064abc4f4b0f6bfbbc21302c470cc2f9c6
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/gitblit.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css
index 91bd4aa0..9e75fa65 100644
--- a/src/main/resources/gitblit.css
+++ b/src/main/resources/gitblit.css
@@ -1540,6 +1540,29 @@ div.markdown a {
text-decoration: underline;
}
+div.markdown table {
+ max-width: 100%;
+ background-color: transparent;
+ border-collapse: collapse;
+ border-spacing: 0px;
+ font-size: inherit;
+ border-width: 0px 1px 1px 0px;
+ border-style: solid solid solid none;
+ border-color: rgb(221, 221, 221);
+ border-image: none;
+ border-collapse: separate;
+ margin: 10px 0px 20px;
+}
+
+div.markdown table td, div.markdown table th {
+ padding: 8px;
+ line-height: 20px;
+ text-align: left;
+ vertical-align: top;
+ border-top: 1px solid rgb(221, 221, 221);
+ border-left: 1px solid rgb(221, 221, 221);
+}
+
div.markdown table.text th, div.markdown table.text td {
vertical-align: top;
border-top: 1px solid #ccc;