Skip to content

Commit

Permalink
Nouveau style pour les définitions de commandes (#304)
Browse files Browse the repository at this point in the history
Uniquement avec le builder html, pour le moment.
  • Loading branch information
n-peugnet authored Jul 27, 2024
1 parent c37e590 commit 13daf84
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions _static/club1.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/* Define some variables */
:root {
--color-highlight: #f1c40f;
}

/* Override blockquotes style */
.rst-content blockquote {
border-left: #bbb solid 4px;
Expand All @@ -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;
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 13daf84

Please sign in to comment.