style: Blog/Tech/Worksページのテック感統一
Deploy Docusaurus Site / deploy (push) Successful in 29s

This commit is contained in:
2026-02-28 02:11:46 +00:00
parent 51a1104284
commit 7a509d5dc5
3 changed files with 108 additions and 16 deletions
+52
View File
@@ -23,3 +23,55 @@
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
/* ===== Markdown Pages - Tech Style ===== */
@keyframes mdFadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.theme-doc-markdown {
animation: mdFadeInUp 0.5s ease both;
}
.theme-doc-markdown h1,
.theme-doc-markdown h2 {
font-family: var(--site-font-mono, "JetBrains Mono", monospace);
color: var(--ifm-color-primary);
}
.theme-doc-markdown ul > li {
list-style: none;
margin-bottom: 0.5rem;
}
.theme-doc-markdown ul {
padding-left: 0;
}
.theme-doc-markdown ul > li > a {
display: block;
padding: 0.9rem 1.1rem;
border-radius: 8px;
background: var(--ifm-background-surface-color);
border: 1px solid var(--ifm-color-emphasis-200);
border-left: 3px solid var(--ifm-color-primary);
text-decoration: none;
color: inherit;
transition: all 0.2s ease;
font-family: var(--site-font-mono, "JetBrains Mono", monospace);
font-size: 0.95rem;
}
.theme-doc-markdown ul > li > a:hover {
border-color: var(--ifm-color-primary);
border-left-color: var(--ifm-color-primary);
transform: scale(1.02);
box-shadow: 0 0 16px rgba(46,133,85,0.25);
text-decoration: none;
color: inherit;
}
[data-theme="dark"] .theme-doc-markdown ul > li > a:hover {
box-shadow: 0 0 16px rgba(37,194,160,0.25);
}