+
@markdown(page.content, repository, true, false)
-
- Last edited by @page.committer at @datetime(page.time)
-
}
}
diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css
index 99888f4..b7526e6 100644
--- a/src/main/webapp/assets/common/css/gitbucket.css
+++ b/src/main/webapp/assets/common/css/gitbucket.css
@@ -10,6 +10,37 @@
margin: 0px;
}
+h1 {
+ font-size: 30px;
+ line-height: 32px;
+}
+
+h2 {
+ font-size: 28px;
+ line-height: 30px;
+}
+
+h3 {
+ font-size: 26px;
+ line-height: 28px;
+}
+
+h4 {
+ font-size: 24px;
+}
+
+h5 {
+ font-size: 22px;
+}
+
+h6 {
+ font-size: 18px;
+}
+
+h7 {
+ font-size: 14px;
+}
+
/* ======================================================================== */
/* Global Header */
/* ======================================================================== */
@@ -554,7 +585,7 @@
}
#readme .box-content {
- padding: 30px;
+ padding: 20px;
}
li.highlight {
@@ -977,6 +1008,26 @@
display: none;
}
-h1 a.markdown-anchor-link, h2 a.markdown-anchor-link, h3 a.markdown-anchor-link {
- top: 10px;
+h1 a.markdown-anchor-link {
+ top: 8px;
+}
+
+h2 a.markdown-anchor-link {
+ top: 6px;
+}
+
+h3 a.markdown-anchor-link {
+ top: 6px;
+}
+
+h4 a.markdown-anchor-link {
+ top: 2px;
+}
+
+h5 a.markdown-anchor-link {
+ top: 2px;
+}
+
+h6 a.markdown-anchor-link {
+ top: 2px;
}