Skip to content

Commit e466ba2

Browse files
committed
インライン CSS がフッターなどの要素に反映されてしまうバグを修正
1 parent 69b40cf commit e466ba2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

tasks/upsert_project_pages_by_data.rb

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,12 @@
8888
.box { width:auto; margin: 50px auto 30px; }
8989
.box h5 { text-align: left; }
9090
.box p { text-align: left; }
91-
a { color: #7e2639; }
92-
.contents{ width:auto; margin: 0 auto;padding:5px; }
91+
.box a { color: #7e2639; }
92+
.contents {
93+
width: auto;
94+
margin: 0 auto;
95+
padding: 5px;
96+
}
9397
.main_content{
9498
display: block;
9599
margin: 0 auto 12px;
@@ -99,9 +103,9 @@
99103
}
100104
@media screen and (max-width: 1000px) {
101105
.main_content {
102-
padding: 8px 0;
103-
width: 80%;
104-
}
106+
padding: 8px 0;
107+
width: 80%;
108+
}
105109
}
106110
107111
/* 前後の作品へのナビゲーションバー */

0 commit comments

Comments
 (0)