coffreobsidian/.obsidian/snippets/title_colors.css
2025-03-23 20:59:56 +01:00

76 lines
1.9 KiB
CSS

/* Titre de niveau 1 */
.markdown-preview-view h1 {
color: #FF0000;
background-color: #A9A9A9;
text-transform: capitalize;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
border-left: 4px solid #98FF98;
border-right: 4px solid #98FF98;
padding: 1px 4px;
border-radius: 5px;
}
/* Titre de niveau 2 */
.markdown-preview-view h2 {
color: #40E0D0;
background-color: #000000;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
border-left: 4px solid #8B0000;
border-right: 4px solid #8B0000;
padding: 1px 4px;
border-radius: 5px;
}
/* Titre de niveau 3 */
.markdown-preview-view h3 {
color: #FF0000;
background-color: #A9A9A9;
text-transform: capitalize;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
border-left: 4px solid #98FF98;
border-right: 4px solid #98FF98;
padding: 1px 4px;
border-radius: 5px;
}
/* Titre de niveau 4 */
.markdown-preview-view h4 {
color: #27ae60;
background-color: #000000;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
border-left: 4px solid #8B0000;
border-right: 4px solid #8B0000;
padding: 1px 4px;
border-radius: 5px;
}
/* Titre de niveau 5 */
.markdown-preview-view h5 {
color: #00008B;
background-color: #A9A9A9;
text-transform: capitalize;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
border-left: 4px solid #98FF98;
border-right: 4px solid #98FF98;
padding: 1px 4px;
border-radius: 5px;
}
/* Titre de niveau 6 */
.markdown-preview-view h6 {
color: #FFD700;
background-color: #000000;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
border-left: 4px solid #8B0000;
border-right: 4px solid #8B0000;
padding: 6px 8px;
border-radius: 5px;
}