-
Notifications
You must be signed in to change notification settings - Fork 14
/
text-emphasis-various.html
executable file
·149 lines (142 loc) · 4.12 KB
/
text-emphasis-various.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Various emphasis marks</title>
<link rel="stylesheet" type="text/css" href="ch06.css">
<style type="text/css">
body {width: 60em; font-size: 1rem;}
table {border-collapse: collapse; border-spacing: 0; margin-block-end: 3em;}
table + table {margin: 0;}
th, td {border: 1px solid; border-width: 0 2px 2px 0;}
th {padding: 0.5em; font: bold 1.75em Consolas, monospace;}
tbody td div {display: flex; justify-content: space-evenly;}
td p {font-size: 1.75em; margin: 0.25em; padding: 0.25em; width: 40%; box-sizing: border-box;}
td p.v {writing-mode: vertical-rl; max-height: 5em; border-left: 1px dashed gray;}
thead th {vertical-align: bottom; padding-block-start: 0;}
tbody th {padding-inline-start: 0;}
tbody tr.filled td:nth-of-type(1) span {-webkit-text-emphasis-style: sesame; text-emphasis-style: sesame;}
tbody tr.filled td:nth-of-type(2) span {-webkit-text-emphasis-style: dot; text-emphasis-style: dot;}
tbody tr.filled td:nth-of-type(3) span {-webkit-text-emphasis-style: triangle; text-emphasis-style: triangle;}
tbody tr.open td:nth-of-type(1) span {-webkit-text-emphasis-style: open sesame; text-emphasis-style: open sesame;}
tbody tr.open td:nth-of-type(2) span {-webkit-text-emphasis-style: open dot; text-emphasis-style: open dot;}
tbody tr.open td:nth-of-type(3) span {-webkit-text-emphasis-style: open triangle; text-emphasis-style: open triangle;}
table + table tbody tr.filled td:nth-of-type(1) span {-webkit-text-emphasis-style: circle; text-emphasis-style: circle;}
table + table tbody tr.filled td:nth-of-type(2) span {-webkit-text-emphasis-style: double-circle; text-emphasis-style: double-circle;}
table + table tbody tr.filled td:nth-of-type(3) span {-webkit-text-emphasis-style: "cool"; text-emphasis-style: "cool";}
table + table tbody tr.open td:nth-of-type(1) span {-webkit-text-emphasis-style: open circle; text-emphasis-style: open circle;}
table + table tbody tr.open td:nth-of-type(2) span {-webkit-text-emphasis-style: open double-circle; text-emphasis-style: open double-circle;}
table + table tbody tr.open td:nth-of-type(3) span {-webkit-text-emphasis-style: "cool"; text-emphasis-style: "cool";}
</style>
</head>
<body>
<table>
<thead>
<tr>
<th></th>
<th>sesame</th>
<th>dot</th>
<th>triangle</th>
</tr>
</thead>
<tbody>
<tr class="filled">
<th>filled</th>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
</tr>
<tr class="open">
<th>open</th>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th></th>
<th>circle</th>
<th>double-circle</th>
<th>"cool"</th>
</tr>
</thead>
<tbody>
<tr class="filled">
<th>filled</th>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
</tr>
<tr class="open">
<th>open</th>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
<td>
<div>
<p class="h"><span>horizontal</span> language marks</p>
<p class="v"><span>세로</span> 언어 마크</p>
</div>
</td>
</tr>
</tbody>
</table>
</body>
</html>