Skip to content

Commit 3b043e3

Browse files
committed
better blockquote
1 parent 614bd2c commit 3b043e3

File tree

1 file changed

+41
-6
lines changed

1 file changed

+41
-6
lines changed

assets/style.css

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,19 +256,19 @@ h5 {
256256
margin-bottom: 1rem;
257257
}
258258

259-
/* インラインコードを本文と区別しやすく */
260259
.content .inline-code {
261260
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
262261
background-color: #f6f8fa;
263262
border: 1px solid #ddd;
264263
border-radius: 4px;
265-
padding: 0rem 0rem;
264+
padding: 0rem 0.25rem;
266265
margin: 0 0rem;
267266
font-size: 0.95em;
268267
overflow-wrap: break-word;
269268
word-break: break-all;
270269
white-space: pre-wrap;
271270
max-width: 100%;
271+
color: #db2955;
272272
}
273273

274274
/* 箇条書きの字下げ */
@@ -358,6 +358,14 @@ strong {
358358
font-weight: 1000;
359359
}
360360

361+
blockquote {
362+
border-left: 4px solid #ddd;
363+
margin: 1rem 0;
364+
padding-left: 1rem;
365+
color: #353434;
366+
background-color: #f9f9f9;
367+
}
368+
361369
/* ===============================================
362370
Footer
363371
=============================================== */
@@ -536,6 +544,32 @@ footer {
536544
max-width: 100%;
537545
}
538546

547+
/*=============================================
548+
ちょっとした span
549+
=============================================*/
550+
551+
/* 文字の上にドットをつける */
552+
.dot-over {
553+
-webkit-text-emphasis: filled;
554+
text-emphasis: filled;
555+
-webkit-text-emphasis-color: #ff9800;
556+
text-emphasis-color: #ff9800;
557+
-webkit-text-emphasis-style: circle;
558+
text-emphasis-style: circle;
559+
font-weight: bold;
560+
}
561+
562+
563+
/* 文字の下に水色の波線をつける */
564+
.wave-underline {
565+
text-decoration: underline wavy;
566+
text-decoration-color: currentColor;
567+
text-decoration-thickness: 0.15em;
568+
text-underline-offset: 0.1em;
569+
text-decoration-color: #80bdff;
570+
}
571+
572+
539573
/* ===============================================
540574
Footnotes
541575
=============================================== */
@@ -847,7 +881,8 @@ pre code.hljs::-webkit-scrollbar {
847881
}
848882

849883
/* すべてのコードブロックに等幅フォントを確実に適用 */
850-
pre, code {
884+
pre,
885+
code {
851886
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
852887
font-size: 13px;
853888
line-height: 1.5;
@@ -1000,7 +1035,7 @@ body.light-mode button {
10001035
border-radius: 8px;
10011036
overflow: hidden;
10021037
background: #fff;
1003-
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
1038+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
10041039
max-width: 600px;
10051040
}
10061041

@@ -1116,13 +1151,13 @@ body.light-mode button {
11161151
flex-direction: column;
11171152
height: auto;
11181153
}
1119-
1154+
11201155
.link-card-image {
11211156
flex: none;
11221157
height: 160px;
11231158
width: 100%;
11241159
}
1125-
1160+
11261161
.link-card-content {
11271162
padding: 16px;
11281163
}

0 commit comments

Comments
 (0)