From 973a714032c3a9fb1eb79d1987cce84225dc3598 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 13 三月 2023 22:42:14 +0800 Subject: [PATCH] # --- src/main/webapp/static/css/api_index/api_index.css | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/css/api_index/api_index.css b/src/main/webapp/static/css/api_index/api_index.css index 07f55c7..8bd64ae 100644 --- a/src/main/webapp/static/css/api_index/api_index.css +++ b/src/main/webapp/static/css/api_index/api_index.css @@ -32,6 +32,7 @@ border-right: 1px solid #eaecef; display: inline-block; float: left; + cursor: pointer; } @@ -44,7 +45,7 @@ .main-box { max-width: 740px; margin: 0 auto; - padding: 2rem 2.5rem; + /*padding: 2rem 2.5rem;*/ /*border: 1px solid #eaecef;*/ } h2 { @@ -53,4 +54,35 @@ } h1,h2,h3,h4,h5,h6,p { margin: 30px auto; -} \ No newline at end of file +} +h1 { + padding-top: 4.6rem; + margin-top: -1.6rem; +} +table { + margin: auto; + margin-top: 20px; + max-width: 100%; + min-width: 80%; + border-collapse: collapse; + border-spacing: 2px; + border-color: grey; + text-align: center; +} +table th { + padding: 7px 5px; + border: 1px solid #ccc; + background-color: #EDEDED; +} +table td { + padding: 5px 5px; + border: 1px solid #ccc; +} +table tr:nth-child(2n-1) { + background-color: #f8f8f8 +} +.code { + height: auto; + text-align: left; +} + -- Gitblit v1.9.1