mirror of
https://github.com/sophokles187/data-cards.git
synced 2026-07-22 12:30:26 +00:00
47 lines
No EOL
944 B
CSS
47 lines
No EOL
944 B
CSS
/* Custom styles for DataCards documentation */
|
|
|
|
:root {
|
|
--theme-color: #3F51B5;
|
|
--sidebar-width: 300px;
|
|
}
|
|
|
|
/* Image styling */
|
|
.markdown-section img {
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Note boxes */
|
|
.note {
|
|
padding: 1em;
|
|
margin: 1em 0;
|
|
border-left: 4px solid var(--theme-color);
|
|
background-color: rgba(63, 81, 181, 0.1);
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
|
|
/* Card component */
|
|
.card {
|
|
padding: 1.5em;
|
|
margin: 1em 0;
|
|
border-radius: 8px;
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.card-title {
|
|
margin-top: 0;
|
|
color: var(--theme-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Code block titles */
|
|
.code-block-title {
|
|
font-family: var(--code-font-family);
|
|
font-size: 0.85em;
|
|
padding: 0.5em 1em;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border-radius: 4px 4px 0 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
margin-bottom: -0.5em;
|
|
} |