www_projectmycelium_io/poc_threefold/static/css/markdown.css

84 lines
1.8 KiB
CSS
Raw Permalink Normal View History

2024-11-15 13:01:00 +00:00
/* Specific styles for markdown content section */
.markdown-content {
flex: 1;
padding-right: 2rem;
border-right: 1px solid #a4b6ba;
}
/* Override general styles specifically for markdown content */
.markdown-content h2 {
font-size: 1.2rem;
font-weight: 500;
line-height: 1.2;
margin-bottom: 1rem;
text-transform: none;
letter-spacing: normal;
}
.markdown-content h3 {
font-size: 1rem;
font-weight: 500;
line-height: 1.3;
margin-bottom: 0.8rem;
text-transform: none;
letter-spacing: normal;
}
/* Light theme colors - more specific selectors */
.light-theme .markdown-content h2,
.light-theme .markdown-content h3,
.light-theme .markdown-content p,
.light-theme .markdown-content ul,
.light-theme .markdown-content li {
color: #444444 !important;
}
/* Dark theme colors - more specific selectors */
.markdown-content h2,
.markdown-content h3,
.markdown-content p,
.markdown-content ul,
.markdown-content li {
color: #cccccc !important;
}
/* Make list items and paragraphs consistent size */
.markdown-content p,
.markdown-content li {
font-size: 0.75rem;
font-weight: 200;
line-height: 1.25;
margin-bottom: 0.25rem;
padding-left: 1rem;
}
/* List specific styling */
.markdown-content ul {
font-weight: 200;
padding-left: 2.5rem;
margin-bottom: 1rem;
margin-top: 0;
}
/* Links styling specific to markdown content */
.markdown-content a {
font-size: 0.75rem;
font-weight: 200;
text-decoration: none;
color: inherit;
}
.markdown-content a:hover {
text-decoration: underline;
}
/* Responsive design */
@media (max-width: 768px) {
.markdown-content {
border-right: none;
border-bottom: 1px solid #ddd;
padding-right: 0;
padding-bottom: 2rem;
}
}