-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.module.css
More file actions
148 lines (126 loc) · 2.78 KB
/
styles.module.css
File metadata and controls
148 lines (126 loc) · 2.78 KB
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
.flexRow {
display: flex;
flex-direction: row;
}
.flexColumn {
display: flex;
flex-direction: column;
}
.functionParametersTable,
.functionReturnValuesTable,
.structMembersTable,
.dictionaryKeyValuesTable {
font-size: 0.85em;
border-collapse: collapse;
display: inline-block;
margin: 0;
margin-right: 1.5em;
}
/* Assumes these won't ever occur without a return or args table*/
.structMembersTable,
.dictionaryKeyValuesTable {
margin-top: 1.5em;
margin-bottom: 0;
}
.dictionaryHeadRow {
font-style: italic;
}
.functionParametersTable * td,
.functionReturnValuesTable * td,
.structMembersTable * td,
.dictionaryKeyValuesTable * td {
padding: 0.25rem;
text-align: center;
width: 7.5rem;
}
.functionParametersTableBody {
border-left: 0.5ex solid #00802b;
}
.functionParametersFirstRow {
background: #00802b;
text-align: center;
color: white;
}
.functionReturnValuesTableBody {
border-left: 0.5ex solid #006699;
}
.functionReturnValuesFirstRow {
background: #006699;
text-align: center;
color: white;
}
.structMembersTableBody {
border-left: 0.5ex solid #b38600;
}
.structMembersFirstRow {
background: #b38600;
text-align: center;
color: white;
}
.dictionaryKeyValuesTableBody {
border-left: 0.5ex solid #00aaaa;
}
.dictionaryKeyValuesFirstRow {
background: #00aaaa;
text-align: center;
color: white;
}
.functionParametersFirstRow th,
.functionParametersHeadRow th,
.functionReturnValuesFirstRow th,
.functionReturnValuesHeadRow th,
.structMembersFirstRow th,
.structMembersHeadRow th,
.dictionaryKeyValuesFirstRow th,
.dictionaryKeyValuesHeadRow th {
padding: 0.25rem;
text-align: center;
}
/* This must be assigned to all table cells that should include the index counter (one per row) */
.tdCounter::before {
counter-increment: parameter-index-counter;
content: counter(parameter-index-counter);
}
/* Whenever this tag is encountered, a new parameters table should be created (with new indices) */
.tdCounterReset {
counter-reset: parameter-index-counter;
}
/* The counter needs to be at the highest level in order to work (no idea why; I didn't spend much time on this) */
body {
counter-reset: parameter-index-counter;
}
.experimental {
border: 3px solid #d60026;
padding: 0.5rem;
color: #d60026;
font-weight: 600;
}
.stable {
border: 3px solid #0060ff;
padding: 0.5rem;
color: #0060ff;
font-weight: 600;
}
.deprecated {
border: 3px solid #888800;
padding: 0.5rem;
color: #888800;
font-weight: 600;
}
.external {
border: 3px solid black;
padding: 0.5rem;
color: black;
font-weight: 600;
}
.descriptionBox {
padding: 0rem 1rem;
margin-top: 1rem;
}
.sinceBlock {
border: 1px solid var(--ifm-color-primary-darkest);
border-radius: 15px;
padding: 0.25rem 0.75rem;
font-style: oblique;
font-size: 0.75rem;
}