Skip to content

Commit 4ab71c4

Browse files
author
y-yamasaki
committed
Merge branch 'develop'
2 parents 08909d6 + b5ed052 commit 4ab71c4

9 files changed

Lines changed: 4170 additions & 2 deletions

File tree

assets/css/base.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ body {
5959
/* リンク */
6060
a {
6161
color: inherit;
62+
color: aqua;
6263
}
6364
a:hover {
6465
opacity: 0.9;

assets/css/blog.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,14 @@
255255
monospace;
256256
}
257257

258+
.blog-detail-body img {
259+
max-width: 100%; /* コンテナ幅以内に収める */
260+
height: auto; /* アスペクト比維持 */
261+
display: block;
262+
margin: 1rem auto; /* 余白(お好みで) */
263+
border-radius: 12px; /* 角丸にしたい場合 */
264+
}
265+
258266
/* スマホ向け */
259267
@media (max-width: 640px) {
260268
.blog-filters,

assets/css/portfolio.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,14 @@
237237
font-size: 0.85rem;
238238
}
239239

240+
.portfolio-detail-body img {
241+
max-width: 100%;
242+
height: auto;
243+
display: block;
244+
margin: 1rem auto;
245+
border-radius: 12px;
246+
}
247+
240248
#portfolioDetailLinks {
241249
margin-top: 10px;
242250
font-size: 0.9rem;

0 commit comments

Comments
 (0)