summaryrefslogtreecommitdiff
path: root/docs/modules/theme/pages/link.adoc
blob: 3081465f045840faeaf4de050ce90facb929d0e0 (plain) (blame)
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
= Link Category Keys
:description: Reference list of the available link category keys and their value types.
:navtitle: Link
:source-language: yaml

The keys in the `link` category style hyperlink text.

[cols="3,4,6a"]
|===
|Key |Value Type |Example

|background-color
|xref:color.adoc[Color] +
(default: _not set_)
|[source]
link:
  background-color: #EFEFEF

|border-offset
|xref:language.adoc#values[Number] +
(default: `0`)
|[source]
link:
  border-offset: 2

|font-color
|xref:color.adoc[Color] +
(default: `'0000EE'`)
|[source]
link:
  font-color: #428BCA

|font-family
|xref:font-support.adoc[Font family name] +
(default: _inherit_)
|[source]
link:
  font-family: Roboto

|font-size
|xref:language.adoc#values[Number] +
(default: _inherit_)
|[source]
link:
  font-size: 9

|font-style
|xref:text.adoc#font-style[Font style] +
(default: _inherit_)
|[source]
link:
  font-style: italic

|text-decoration
|xref:text.adoc#decoration[Text decoration] +
(default: `none`)
|[source]
link:
  text-decoration: underline

|text-decoration-color
|xref:color.adoc[Color] +
(default: `$link-font-color`)
|[source]
link:
  text-decoration-color: #0000FF

|text-decoration-width
|xref:language.adoc#values[Number] +
(default: _inherit_)
|[source]
link:
  text-decoration-width: 0.5
|===