File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 3232# dl-icon {
3333 width : 1rem ;
3434 height : 1rem ;
35- fill : white ;
35+ fill : var ( --button-color ) ;
3636 margin-right : 0.5rem ;
3737}
3838
Original file line number Diff line number Diff line change @@ -8,13 +8,14 @@ iframe {
88button , [role = button ] {
99 cursor : pointer;
1010 appearance : none;
11- background-color : # 3b82f6 ;
12- color : white;
13- border-radius : 0.25rem ;
11+ background-color : transparent;
12+ color : var (--button-color );
13+ border-radius : 0.5rem ;
14+ border : var (--button-color ) solid 1px ;
1415}
1516
1617button : hover {
17- background-color : # 1d4ed8 ;
18+ background-color : hsl (from var ( --button-color ) h s l / 10 % )
1819}
1920
2021.stripe {
@@ -47,6 +48,7 @@ button:hover {
4748.red {
4849 background-color : # ef4444 ;
4950 color : black;
51+ --button-color : black;
5052}
5153
5254.gold {
Original file line number Diff line number Diff line change 44 --scrollbar-thumb-hover-bg-color : # 555 ;
55 --c-button-height : 4rem ;
66 --play-zoom-factor : 0.75 ;
7+ --button-color : white;
78}
89
910html , body {
Original file line number Diff line number Diff line change 88 {{ .Content }}
99 </ div >
1010 < div class ="feature-play ">
11- < iframe loading ="lazy " src ='{{ .Param "play" }} '> </ iframe >
11+ < iframe loading ="lazy " src ='{{ .Param "play" }} ' title =" feature-playground " > </ iframe >
1212 </ div >
1313 </ div >
1414 {{ end }}
You can’t perform that action at this time.
0 commit comments