metanorma-standoc 2.8.9 → 2.8.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d7a510054b98ebc499b0e59b1a21685ee1dae2a038f2e1ac0cd5f4c8d29d9c8
4
- data.tar.gz: a748a7834be53490e998f21e4236a1b41d24b13d40522e86ad29ebdf241f80c5
3
+ metadata.gz: e6a03a5dfead99850405d6b949a0103367ff0c280aa22d55e9c637eb34d1fe2c
4
+ data.tar.gz: '06098dc9ad34cc0fdbd3df1ccaeedd51ef3b79e89a645e0ccb66979f582f82bf'
5
5
  SHA512:
6
- metadata.gz: e23a71d8ce405a29267831a0d0c8fc85c023122265d41b6623c70b3fcb01d33df01f3cfde2afbafdcd79599eebb77a287cc5e680e5dbb1ffa1cbe7c5bd5bd9e4
7
- data.tar.gz: 421a8574228773ad16ae79d2f33eed300516d7985692c77d15abdfac0569710f40d6827945ec720d604ec4bfb69567304b0ee79465a01699bcca77cf691e899f
6
+ metadata.gz: a35bd65e87ae978c0e34694b94365d364a528168e8aad39aa2733f6e900a14f219a85a38a275f9c24d00001fd0e19b5931a24578063dd1d45d1016066d744677
7
+ data.tar.gz: 9e8e5215b27ba6b2e11fe50d0a544084afb32aa7d74fabde539844ff38797bd3217c48b8f980e97cfdd93f446bb4ef44e9cd80e610081996d45941cfc10f2357
@@ -177,12 +177,15 @@ table.rouge-line-table pre {
177
177
  overflow-x: visible;
178
178
  font-size: 100%; }
179
179
 
180
+ /* header § links */
180
181
  a.header {
181
182
  color: inherit;
182
183
  text-decoration: none; }
183
184
 
184
185
  a.header:hover {
185
- color: #a53221; }
186
+ color: #a53221 !important;
187
+ background: inherit;
188
+ box-shadow: none; }
186
189
 
187
190
  a.header:visited {
188
191
  color: inherit;
@@ -205,6 +208,11 @@ a.anchor::before {
205
208
  display: block;
206
209
  padding-top: .1em; }
207
210
 
211
+ a.anchor:hover {
212
+ color: #a53221;
213
+ background: inherit;
214
+ box-shadow: none; }
215
+
208
216
  h1 > a.anchor:hover,
209
217
  h2 > a.anchor:hover,
210
218
  h3 > a.anchor:hover,
@@ -107,8 +107,9 @@ module Metanorma
107
107
  end
108
108
 
109
109
  def doctype(node)
110
- ret = node.attr("doctype")&.gsub(/\s+/, "-")&.downcase || "standard"
111
- ret = "standard" if ret == "article"
110
+ ret = node.attr("doctype")&.gsub(/\s+/, "-")&.downcase ||
111
+ @default_doctype
112
+ ret = @default_doctype if ret == "article"
112
113
  ret
113
114
  end
114
115