|
5 | 5 | <title>Various emphasis marks</title>
|
6 | 6 | <link rel="stylesheet" type="text/css" href="ch06.css">
|
7 | 7 | <style type="text/css">
|
8 |
| -body {width: 80em; font-size: 1rem;} |
9 |
| -table {border-collapse: collapse; border-spacing: 0;} |
| 8 | +body {width: 60em; font-size: 1rem;} |
| 9 | +table {border-collapse: collapse; border-spacing: 0; margin-block-end: 3em;} |
| 10 | +table + table {margin: 0;} |
10 | 11 | th, td {border: 1px solid; border-width: 0 2px 2px 0;}
|
11 |
| -th {padding: 0.5em; font: bold 1.5em Consolas, monospace;} |
12 |
| -tbody td div {display: flex; justify-content: space-between;} |
13 |
| -td p {font-size: 1.5em; margin: 0.25em; padding: 0.25em; width: 50%; box-sizing: border-box;} |
| 12 | +th {padding: 0.5em; font: bold 1.75em Consolas, monospace;} |
| 13 | +tbody td div {display: flex; justify-content: space-evenly;} |
| 14 | +td p {font-size: 1.75em; margin: 0.25em; padding: 0.25em; width: 40%; box-sizing: border-box;} |
14 | 15 | td p.v {writing-mode: vertical-rl; max-height: 5em; border-left: 1px dashed gray;}
|
15 | 16 | thead th {vertical-align: bottom; padding-block-start: 0;}
|
16 | 17 | tbody th {padding-inline-start: 0;}
|
17 | 18 |
|
18 | 19 | tbody tr.filled td:nth-of-type(1) span {-webkit-text-emphasis-style: sesame; text-emphasis-style: sesame;}
|
19 | 20 | tbody tr.filled td:nth-of-type(2) span {-webkit-text-emphasis-style: dot; text-emphasis-style: dot;}
|
20 |
| -tbody tr.filled td:nth-of-type(3) span {-webkit-text-emphasis-style: circle; text-emphasis-style: circle;} |
21 |
| -tbody tr.filled td:nth-of-type(4) span {-webkit-text-emphasis-style: double-circle; text-emphasis-style: double-circle;} |
22 |
| -tbody tr.filled td:nth-of-type(5) span {-webkit-text-emphasis-style: triangle; text-emphasis-style: triangle;} |
23 |
| -tbody tr.filled td:nth-of-type(6) span {-webkit-text-emphasis-style: "cool"; text-emphasis-style: "cool";} |
24 |
| - |
| 21 | +tbody tr.filled td:nth-of-type(3) span {-webkit-text-emphasis-style: triangle; text-emphasis-style: triangle;} |
25 | 22 | tbody tr.open td:nth-of-type(1) span {-webkit-text-emphasis-style: open sesame; text-emphasis-style: open sesame;}
|
26 | 23 | tbody tr.open td:nth-of-type(2) span {-webkit-text-emphasis-style: open dot; text-emphasis-style: open dot;}
|
27 |
| -tbody tr.open td:nth-of-type(3) span {-webkit-text-emphasis-style: open circle; text-emphasis-style: open circle;} |
28 |
| -tbody tr.open td:nth-of-type(4) span {-webkit-text-emphasis-style: open double-circle; text-emphasis-style: open double-circle;} |
29 |
| -tbody tr.open td:nth-of-type(5) span {-webkit-text-emphasis-style: open triangle; text-emphasis-style: open triangle;} |
30 |
| -tbody tr.open td:nth-of-type(6) span {-webkit-text-emphasis-style: "cool"; text-emphasis-style: "cool";} |
| 24 | +tbody tr.open td:nth-of-type(3) span {-webkit-text-emphasis-style: open triangle; text-emphasis-style: open triangle;} |
| 25 | + |
| 26 | +table + table tbody tr.filled td:nth-of-type(1) span {-webkit-text-emphasis-style: circle; text-emphasis-style: circle;} |
| 27 | +table + table tbody tr.filled td:nth-of-type(2) span {-webkit-text-emphasis-style: double-circle; text-emphasis-style: double-circle;} |
| 28 | +table + table tbody tr.filled td:nth-of-type(3) span {-webkit-text-emphasis-style: "cool"; text-emphasis-style: "cool";} |
| 29 | +table + table tbody tr.open td:nth-of-type(1) span {-webkit-text-emphasis-style: open circle; text-emphasis-style: open circle;} |
| 30 | +table + table tbody tr.open td:nth-of-type(2) span {-webkit-text-emphasis-style: open double-circle; text-emphasis-style: open double-circle;} |
| 31 | +table + table tbody tr.open td:nth-of-type(3) span {-webkit-text-emphasis-style: "cool"; text-emphasis-style: "cool";} |
| 32 | + |
31 | 33 | </style>
|
32 | 34 | </head>
|
33 | 35 | <body>
|
|
39 | 41 | <th></th>
|
40 | 42 | <th>sesame</th>
|
41 | 43 | <th>dot</th>
|
42 |
| -<th>circle</th> |
43 |
| -<th>double-circle</th> |
44 | 44 | <th>triangle</th>
|
45 |
| -<th>"cool"</th> |
46 | 45 | </tr>
|
47 | 46 | </thead>
|
48 | 47 | <tbody>
|
|
66 | 65 | <p class="v"><span>세로</span> 언어 마크</p>
|
67 | 66 | </div>
|
68 | 67 | </td>
|
| 68 | +</tr> |
| 69 | +<tr class="open"> |
| 70 | +<th>open</th> |
69 | 71 | <td>
|
70 | 72 | <div>
|
71 | 73 | <p class="h"><span>horizontal</span> language marks</p>
|
|
84 | 86 | <p class="v"><span>세로</span> 언어 마크</p>
|
85 | 87 | </div>
|
86 | 88 | </td>
|
87 |
| -<tr class="open"> |
88 |
| -<th>open</th> |
| 89 | +</tr> |
| 90 | +</tbody> |
| 91 | +</table> |
| 92 | + |
| 93 | +<table> |
| 94 | +<thead> |
| 95 | +<tr> |
| 96 | +<th></th> |
| 97 | +<th>circle</th> |
| 98 | +<th>double-circle</th> |
| 99 | +<th>"cool"</th> |
| 100 | +</tr> |
| 101 | +</thead> |
| 102 | +<tbody> |
| 103 | +<tr class="filled"> |
| 104 | +<th>filled</th> |
89 | 105 | <td>
|
90 | 106 | <div>
|
91 | 107 | <p class="h"><span>horizontal</span> language marks</p>
|
|
104 | 120 | <p class="v"><span>세로</span> 언어 마크</p>
|
105 | 121 | </div>
|
106 | 122 | </td>
|
| 123 | +</tr> |
| 124 | +<tr class="open"> |
| 125 | +<th>open</th> |
107 | 126 | <td>
|
108 | 127 | <div>
|
109 | 128 | <p class="h"><span>horizontal</span> language marks</p>
|
|
0 commit comments