From d687bbf564c591e647c4fde4386e09a14e187c83 Mon Sep 17 00:00:00 2001 From: YusukeKato Date: Thu, 18 Jul 2024 22:06:23 +0900 Subject: [PATCH] =?UTF-8?q?ul=E3=81=AEmargin=E3=82=92=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 6 ++---- scripts/generate_index.py | 2 +- scripts/md2html.py | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/css/style.css b/css/style.css index 5eac8e9..f3f76e3 100644 --- a/css/style.css +++ b/css/style.css @@ -198,7 +198,9 @@ ul li { padding-top: 0.3rem; padding-bottom: 0.3rem; padding-left: 0; + padding-right: auto; margin-left: 0; + margin-right: auto; } .aButton { @@ -420,10 +422,6 @@ body p{ 33% {left: -100%;} 100% {left: -100%;} } - - .main-ul { - width: 90%; - } } @media screen and (max-width: 599px) { diff --git a/scripts/generate_index.py b/scripts/generate_index.py index cd23673..eba9a72 100644 --- a/scripts/generate_index.py +++ b/scripts/generate_index.py @@ -49,7 +49,7 @@ write_lines.append('\n') write_lines.append('\n') write_lines.append('\n') -write_lines.append('\n') +write_lines.append('\n') write_lines.append('\n') write_lines.append('\n') write_lines.append('\n') diff --git a/scripts/md2html.py b/scripts/md2html.py index b0940e2..9d9dbd5 100644 --- a/scripts/md2html.py +++ b/scripts/md2html.py @@ -63,7 +63,7 @@ write_lines.append('\n') write_lines.append('\n') write_lines.append('\n') - write_lines.append('\n') + write_lines.append('\n') write_lines.append('\n') write_lines.append('\n') write_lines.append('\n') @@ -130,7 +130,7 @@ i -= 1 heading_loop_flag = False elif re.match('^-.+', read_lines[i]): # 箇条書きを変換 - write_lines.append('