File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 147147 background-color : var (--background-tertiary );
148148 }
149149
150+ table td : has (ruby ) {
151+ padding-block : 8px ;
152+ }
153+
150154 p : has (ruby ),
151155 li : has (> ruby ) {
152156 padding : 0.5rem 0 ;
Original file line number Diff line number Diff line change @@ -114,6 +114,41 @@ export const Typography = (): JSX.Element => {
114114 : Teacher
115115 </ li >
116116 </ ul >
117+ < h3 > Ruby in Tables</ h3 >
118+ < table >
119+ < thead >
120+ < tr >
121+ < th > Number</ th >
122+ < th > Chinese</ th >
123+ </ tr >
124+ </ thead >
125+ < tbody >
126+ < tr >
127+ < td > 0</ td >
128+ < td >
129+ < ruby >
130+ 零< rt > líng</ rt >
131+ </ ruby >
132+ </ td >
133+ </ tr >
134+ < tr >
135+ < td > 1</ td >
136+ < td >
137+ < ruby >
138+ 一< rt > yī</ rt >
139+ </ ruby >
140+ </ td >
141+ </ tr >
142+ < tr >
143+ < td > 2</ td >
144+ < td >
145+ < ruby >
146+ 二< rt > èr</ rt >
147+ </ ruby >
148+ </ td >
149+ </ tr >
150+ </ tbody >
151+ </ table >
117152 </ section >
118153 </ div >
119154 ) ;
You can’t perform that action at this time.
0 commit comments