Skip to content

Commit 6445661

Browse files
committed
ci/lint
1 parent 5c25c06 commit 6445661

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

src/Elastic.Documentation.Site/Assets/api-docs.css

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.api-url-listing {
32
@apply mt-4;
43
margin-left: 0 !important;
@@ -32,34 +31,49 @@
3231
list-style-type: none;
3332
margin-left: 0;
3433
a {
35-
@apply no-underline w-full p-4 pl-4 pr-4 inline-block text-grey-80;
36-
@apply border rounded-sm border-grey-20 bg-grey-10;
34+
@apply text-grey-80 inline-block w-full p-4 pr-4 pl-4 no-underline;
35+
@apply border-grey-20 bg-grey-10 rounded-sm border;
3736
}
3837
a.current {
39-
@apply border-grey-30 bg-white p-4 text-grey-120;
38+
@apply border-grey-30 text-grey-120 bg-white p-4;
4039
font-weight: bold;
4140
}
4241
a:hover {
43-
@apply border-grey-30 bg-white text-grey-120;
42+
@apply border-grey-30 text-grey-120 bg-white;
4443
font-weight: bold;
4544
}
4645
}
4746
li:only-child {
4847
a.current {
49-
@apply border rounded-sm border-grey-20 bg-white;
48+
@apply border-grey-20 rounded-sm border bg-white;
5049
}
5150
a.current:hover {
5251
@apply border-grey-20 bg-white;
5352
}
54-
5553
}
5654
.api-method {
57-
@apply border rounded-sm;
55+
@apply rounded-sm border;
5856
padding-left: var(--spacing);
5957
padding-right: var(--spacing);
60-
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
61-
font-feature-settings: var(--default-mono-font-feature-settings, normal);
62-
font-variation-settings: var(--default-mono-font-variation-settings, normal);
58+
font-family: var(
59+
--default-mono-font-family,
60+
ui-monospace,
61+
SFMono-Regular,
62+
Menlo,
63+
Monaco,
64+
Consolas,
65+
'Liberation Mono',
66+
'Courier New',
67+
monospace
68+
);
69+
font-feature-settings: var(
70+
--default-mono-font-feature-settings,
71+
normal
72+
);
73+
font-variation-settings: var(
74+
--default-mono-font-variation-settings,
75+
normal
76+
);
6377
font-size: 0.8em;
6478
display: inline-block;
6579
font-weight: bold;
@@ -80,16 +94,15 @@
8094
margin-left: calc(var(--spacing) * 2);
8195
display: inline-block;
8296
}
83-
.api-url-list-item
84-
{
97+
.api-url-list-item {
8598
@apply mt-4;
8699
}
87100
}
88101
#elastic-api-v3 {
89102
dt a {
90103
@apply no-underline;
91104
code {
92-
@apply p-1 inline-block;
105+
@apply inline-block p-1;
93106
}
94107
}
95108
h1 {

0 commit comments

Comments
 (0)