Skip to content

Commit e5b16f9

Browse files
committed
Update style.css
1 parent 5264298 commit e5b16f9

File tree

1 file changed

+32
-7
lines changed

1 file changed

+32
-7
lines changed

static/style.css

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -588,26 +588,51 @@ h3 {
588588
align-items: center;
589589
justify-content: center;
590590
padding: 0;
591-
background: transparent;
592-
border: none;
591+
background: none !important;
592+
border: none !important;
593+
outline: none;
594+
box-shadow: none !important;
595+
border-radius: 0 !important;
593596
cursor: pointer;
594-
opacity: .75;
597+
opacity: .8;
595598
transition: opacity .15s, transform .15s;
596599
}
597600
.fav-btn svg {
598-
width: 18px;
599-
height: 18px;
601+
width: 20px;
602+
height: 20px;
600603
fill: none;
601604
stroke: #fff;
602605
stroke-width: 2;
606+
stroke-linejoin: round;
603607
transition: fill .15s, stroke .15s;
604-
filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
608+
filter: drop-shadow(0 1px 3px rgba(0,0,0,.7));
605609
}
606610
.fav-btn.active svg {
607611
fill: #facc15;
608612
stroke: #facc15;
609613
}
610-
.fav-btn:hover { opacity: 1; transform: scale(1.15); }
614+
.fav-btn:hover { opacity: 1; transform: scale(1.2); }
615+
616+
/* Bouton Favoris dans le menu en haut */
617+
.controls .favbtn {
618+
display: inline-flex;
619+
align-items: center;
620+
gap: .35rem;
621+
}
622+
.controls .favbtn svg {
623+
width: 14px;
624+
height: 14px;
625+
fill: none;
626+
stroke: currentColor;
627+
stroke-width: 2;
628+
stroke-linejoin: round;
629+
transition: fill .15s, stroke .15s;
630+
flex-shrink: 0;
631+
}
632+
.controls .favbtn.active svg {
633+
fill: #111;
634+
stroke: #111;
635+
}
611636

612637
/* --- Tagbar collapse toggle (mobile) --- */
613638
.tagbar-toggle {

0 commit comments

Comments
 (0)