@@ -840,4 +840,75 @@ body {
840
840
::-webkit-scrollbar-thumb {
841
841
background : var (--accent-secondary );
842
842
border-radius : 4px ;
843
- }
843
+ }
844
+
845
+ /* GitHub Star Button */
846
+ .github-button {
847
+ display : inline-flex;
848
+ align-items : center;
849
+ font-weight : 500 ;
850
+ font-size : 14px ;
851
+ text-decoration : none;
852
+ border-radius : 6px ;
853
+ transition : all 0.2s ease;
854
+ overflow : hidden;
855
+ box-shadow : 0 1px 3px rgba (0 , 0 , 0 , 0.12 );
856
+ }
857
+
858
+ .github-button : hover {
859
+ text-decoration : none;
860
+ }
861
+
862
+ .star-button {
863
+ display : flex;
864
+ align-items : center;
865
+ padding : 5px 12px ;
866
+ background-color : var (--bg-primary );
867
+ color : var (--text-primary );
868
+ border : 1px solid var (--border-color );
869
+ border-right : 0 ;
870
+ border-top-right-radius : 0 ;
871
+ border-bottom-right-radius : 0 ;
872
+ border-top-left-radius : 6px ;
873
+ border-bottom-left-radius : 6px ;
874
+ transition : background-color 0.2s ;
875
+ }
876
+
877
+ .star-count {
878
+ position : relative;
879
+ padding : 5px 12px ;
880
+ font-weight : 600 ;
881
+ background-color : var (--bg-primary );
882
+ color : var (--text-primary );
883
+ border : 1px solid var (--border-color );
884
+ border-top-right-radius : 6px ;
885
+ border-bottom-right-radius : 6px ;
886
+ transition : background-color 0.2s ;
887
+ }
888
+
889
+ .star-count ::before {
890
+ content : '' ;
891
+ position : absolute;
892
+ left : -5px ;
893
+ top : 50% ;
894
+ transform : translateY (-50% ) rotate (45deg );
895
+ width : 8px ;
896
+ height : 8px ;
897
+ background-color : var (--bg-primary );
898
+ border-left : 1px solid var (--border-color );
899
+ border-bottom : 1px solid var (--border-color );
900
+ }
901
+
902
+ .github-button : hover .star-button {
903
+ background-color : var (--hover-bg );
904
+ }
905
+
906
+ .star-icon {
907
+ fill : var (--accent-primary );
908
+ margin-right : 4px ;
909
+ transition : transform 0.3s ease;
910
+ }
911
+
912
+ .github-button : hover .star-icon {
913
+ transform : rotate (-15deg ) scale (1.2 );
914
+ }
0 commit comments