diff --git a/_static/club1.css b/_static/club1.css index d14f8b07..b1588510 100644 --- a/_static/club1.css +++ b/_static/club1.css @@ -1,3 +1,8 @@ +/* Define some variables */ +:root { + --color-highlight: #f1c40f; +} + /* Override blockquotes style */ .rst-content blockquote { border-left: #bbb solid 4px; @@ -6,6 +11,21 @@ padding-left: 20px; } +/* Override "commande" terms style (using #force fake id to increase specificity) */ +#force, +dl.commande { + dt { + background: #222; + --color-highlight: #806600 ; + } + dt span { + color: white; + } + dt a { + color: #e7f2fa; + } +} + /* Style links on hover */ a:not(.btn):hover { text-decoration: underline solid 1px !important; @@ -54,8 +74,8 @@ section:target > h5, figure:target figcaption, .target:target, dt:target { - background: #F1C40F !important; - box-shadow: 0 0 0 2px #F1C40F; + background: var(--color-highlight) !important; + box-shadow: 0 0 0 2px var(--color-highlight); } /* Fix navbar scroll until bottom */