Skip to content

Commit

Permalink
ulのmarginを設定
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeKato committed Jul 18, 2024
1 parent b65e488 commit d687bbf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -420,10 +422,6 @@ body p{
33% {left: -100%;}
100% {left: -100%;}
}

.main-ul {
width: 90%;
}
}

@media screen and (max-width: 599px) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
write_lines.append('<meta charset="utf-8">\n')
write_lines.append('<meta name="viewport" content="width=device-width, initial-scale=1.0">\n')
write_lines.append('<link rel="icon" href="https://yusukekato.jp/images/favicon.png">\n')
write_lines.append('<link rel="stylesheet" href="https://yusukekato.jp/css/style.css?version=45">\n')
write_lines.append('<link rel="stylesheet" href="https://yusukekato.jp/css/style.css?version=46">\n')
write_lines.append('<link rel="preconnect" href="https://fonts.googleapis.com">\n')
write_lines.append('<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n')
write_lines.append('<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:[email protected]&display=swap" rel="stylesheet">\n')
Expand Down
4 changes: 2 additions & 2 deletions scripts/md2html.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
write_lines.append('<meta charset="utf-8">\n')
write_lines.append('<meta name="viewport" content="width=device-width, initial-scale=1.0">\n')
write_lines.append('<link rel="icon" href="https://yusukekato.jp/images/favicon.png">\n')
write_lines.append('<link rel="stylesheet" href="https://yusukekato.jp/css/style.css?version=45">\n')
write_lines.append('<link rel="stylesheet" href="https://yusukekato.jp/css/style.css?version=46">\n')
write_lines.append('<link rel="preconnect" href="https://fonts.googleapis.com">\n')
write_lines.append('<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n')
write_lines.append('<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:[email protected]&display=swap" rel="stylesheet">\n')
Expand Down Expand Up @@ -130,7 +130,7 @@
i -= 1
heading_loop_flag = False
elif re.match('^-.+', read_lines[i]): # 箇条書きを変換
write_lines.append('<ul class="main-ul">\n')
write_lines.append('<ul>\n')
write_lines.append('<li>' + read_lines[i][2:] + '</li>\n')
ul_loop_flag = True
while ul_loop_flag:
Expand Down

0 comments on commit d687bbf

Please sign in to comment.