54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
+
+
+
+
+
+
|
h1,h2,h3,h4,h5,h6 {
font-size: 1.5em;
color: #3F5770;
border-bottom: 0.1em solid #666666;
margin: 1.2em 0em;
}
a {
list-style: none;
border-right: 0.3em solid #5183C466;
border-left: 0.3em solid #5183C466;
padding: 0.2em 0.4em;
margin-bottom: 0.2em;
margin-top: 0.3em;
background-color: white;
text-decoration-color: blue;
}
a:visited {
color: blue;
text-decoration-color: white;
}
|
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
150
151
152
153
|
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
-
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
+
+
-
-
-
-
-
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
.title {
background-color: white;
font-size: 2em;
text-align: center;
}
b {
background-color: white;
}
a {
target: _blank;
list-style: none;
border-right: 0.3em solid #5183C466;
border-left: 0.3em solid #5183C466;
padding: 0.2em 0.4em;
margin-bottom: 0.2em;
margin-top: 0.3em;
}
details > summary {
list-style: none;
border-right: 0.3em solid #5183C466;
border-left: 0.3em solid #5183C466;
padding: 0.2em 0.4em;
margin-bottom: 0.2em;
margin-top: 0.3em;
}
details > summary:active {
transform:
rotateX(38deg)
translateY(7px);
}
pre {
background: #f6f6f6;
border-left: 0.5em solid #ccc;
padding: 0.4em;
border-radius: 0.2em;
}
pre:active {
transform:
rotateX(38deg)
translateY(7px);
}
code {
font-family: "Verdana";
}
button {
background: #ffffff;
color: #20894d;
}
button:active {
transform:
rotateX(38deg)
translateY(7px);
}
</style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<div class="title">
残局与实战
</div>
<details>
<summary>
前言
</summary>
<header id="title-block-header">
<h1 class="title">残局与实战</h1>
</header>
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#前言" id="toc-前言"><span class="toc-section-number">1</span> 前言</a></li>
<li><a href="#残局优势" id="toc-残局优势"><span class="toc-section-number">2</span> 残局优势</a></li>
</ul>
</nav>
<h1 data-number="1" id="前言"><span class="header-section-number">1</span> 前言</h1>
<p>普通残局与实战不同。</p>
<p>练习残局,则残局方面的技术会提升;</p>
<p><b>练习实战</b>,则实战方面的技术会提升。</p>
</details>
<details>
<summary>
残局优势
<h1 data-number="2" id="残局优势"><span class="header-section-number">2</span> 残局优势</h1>
</summary>
<ol type="1">
<li>残局<b>必有解</b></li>
<li>残局已知双方所有卡</li>
<li>残局可反复进入同一场面</li>
</ol>
</details>
<script>
document.onmouseup = function(event) {
var 元素 = event.target
document.onclick = function(event) {
var target = event.target
if (元素.tagName == "PRE"
|| 元素.tagName == "CODE") {
var 文本 = 元素.textContent
if (target.tagName == "PRE"
|| target.tagName == "CODE") {
if (window.getSelection().toString() !== "") {
navigator.clipboard.writeText(文本)
}
}
return
}
document.addEventListener('touchend', function(event) {
var target = event.target;
if (target.tagName == "PRE" || target.tagName == "CODE") {
var range = document.createRange();
range.selectNodeContents(target);
window.getSelection().removeAllRanges();
window.getSelection().addRange(range);
var successful = document.execCommand('copy');
target.removeAttribute('contenteditable');
var successful = document.execCommand("copy");
target.removeAttribute("contenteditable");
window.getSelection().removeAllRanges();
}
});
}
}
目录列表 = document.getElementsByTagName("details")
function 展开或收起() {
if (目录列表[0].open == true) {
for (i = 0;
i < 目录列表.length;
i++) {
目录列表[i].open = false;
}
}
else {
for (i = 0;
i < 目录列表.length;
i++) {
目录列表[i].open = true;
}
}
}
</script>
</body>
</html>
|