File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -553,3 +553,11 @@ h1 {
553553.pagination span {
554554 font-weight : bold;
555555}
556+ .video-info .video-title {
557+ color : # 333 !important ;
558+ font-weight : 600 ;
559+ }
560+
561+ [data-theme = 'dark' ] .video-info .video-title {
562+ color : # fff !important ;
563+ }
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ const VideoCard: React.FC<{
155155 >
156156 < div className = "video-content" >
157157 < div className = "video-info" >
158- < div className = "video-title" > { title } </ div >
158+ < div className = "video-title" style = { { color : '#333' , fontWeight : '600' } } > { title } </ div >
159159 < div className = "video-type" >
160160
161161 </ div >
Original file line number Diff line number Diff line change 212212.video-title {
213213 margin : 0 0 1rem 0 ;
214214 font-size : 1.25rem ;
215- color : var (--ifm-heading-color );
216215 display : -webkit-box;
217216 -webkit-line-clamp : 2 ;
218217 line-clamp : 2 ;
221220 line-height : 1.5 ;
222221 font-weight : 700 ;
223222 letter-spacing : -0.02em ;
224- background : linear-gradient (135deg , var ( --ifm-heading-color ) 0% , var ( --ifm-color-emphasis-800 ) 100% );
223+ background : linear-gradient (135deg , # 333 0% , # 666 100% );
225224 background-clip : text;
226225 -webkit-background-clip : text;
227226 -webkit-text-fill-color : transparent;
228- color : transparent;
229227}
230228
231229[data-theme = 'dark' ] .video-title {
232- background : linear-gradient (135deg , var ( --dark-text-primary ) 0% , # cbd5e1 100% );
230+ background : linear-gradient (135deg , # fff 0% , # cbd5e1 100% );
233231 background-clip : text;
234232 -webkit-background-clip : text;
235233 -webkit-text-fill-color : transparent;
236- color : transparent;
237234}
238235
239236.video-type {
You can’t perform that action at this time.
0 commit comments