Skip to content

Commit

Permalink
CSSチェック
Browse files Browse the repository at this point in the history
  • Loading branch information
huideyeren committed Jul 5, 2024
1 parent 96f5ced commit 266d294
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 22 deletions.
2 changes: 1 addition & 1 deletion backcover.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>裏表紙</title>
</head>
<body>
<section class="backcover">
<section class="backcover" id="backcover" role="doc-backcover">
<img src="images/backcover.png" />
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion colophon.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>奥付</title>
</head>
<body>
<section class="colophon">
<section class="colophon" id="colophon" role="doc-colophon">
<img src="images/colophon.png" />
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion cover.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>表紙</title>
</head>
<body>
<section class="cover">
<section class="cover" id="cover" role="doc-cover">
<img src="images/title.png" />
</section>
</body>
Expand Down
Binary file modified images/backcover.pdf
Binary file not shown.
Binary file modified images/backcover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 14 additions & 18 deletions sass/common/_contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ figcaption {
figure > img[src$='.png'],
figure > img[src$='.jpg'],
figure > img[src$='.jpeg'] {
image-resolution: 300dpi;
image-resolution: 350dpi;
}

p > img, div > img {
Expand All @@ -43,22 +43,16 @@ p > img, div > img {
}

/* 奥付 */
.colophon {
// font-size: 7pt;
// // 3行空け
// margin-block-start: $base-line-height * 3;

// p {
// text-indent: 0;
// hanging-punctuation: none;
// }
img {
display: block;
margin: 0;
max-width: 100%;
height: auto;
}
}
// .colophon {
// // font-size: 7pt;
// // // 3行空け
// // margin-block-start: $base-line-height * 3;

// // p {
// // text-indent: 0;
// // hanging-punctuation: none;
// // }
// }

/* 改ページ */
.page-break {
Expand Down Expand Up @@ -92,10 +86,12 @@ p > img, div > img {
}

/* 表紙 */
.cover, .title, .backcover {
.cover, .title, .colophon, .backcover {
img {
image-resolution: 350dpi;
display: block;
margin: 0;
padding: 0;
max-width: 100%;
height: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion title.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title></title>
</head>
<body>
<section class="title">
<section class="title" id="title" role="doc-title">
<img src="images/title.png" />
</section>
</body>
Expand Down

0 comments on commit 266d294

Please sign in to comment.