Skip to content

Commit fc9cca8

Browse files
nikhiltidke101Nikhil Tidke
and
Nikhil Tidke
authored
exp: css variables (#115)
* update: package.json and schema.ts * fix: fern schema * exp: css variables * Add styling for custom header and footer components * Update footer styling in CSS file --------- Co-authored-by: Nikhil Tidke <[email protected]>
1 parent 67c7e98 commit fc9cca8

File tree

1 file changed

+9
-25
lines changed

1 file changed

+9
-25
lines changed

custom-implementation/src/components/footer.css

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,17 @@
44
cursor: pointer;
55
}
66

7-
.custom-footer html, body, div, applet, object, iframe,
8-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
9-
a, abbr, acronym, address, big, cite, code,
10-
del, dfn, em, img, ins, kbd, q, s, samp,
11-
small, strike, strong, sub, sup, tt, var,
12-
b, u, i, center,
13-
dl, dt, dd, ol, ul, li,
14-
fieldset, form, label, legend,
15-
table, caption, tbody, tfoot, thead, tr, th, td,
16-
article, aside, canvas, details, embed,
17-
figure, figcaption, footer, header, hgroup,
18-
menu, nav, output, ruby, section, summary,
19-
time, mark, audio, video, button {
20-
margin: 0;
21-
padding: 0;
22-
border: 0;
23-
vertical-align: baseline;
24-
}
25-
26-
27-
/* HTML5 display-role reset for older browsers */
28-
.custom-footer article, aside, details, figcaption, figure,
29-
footer, header, hgroup, menu, nav, section {
30-
display: block;
7+
.custom-footer * {
8+
margin: 0;
9+
padding: 0;
10+
border: 0;
3111
}
3212

3313
.custom-footer ol, ul {
3414
list-style: none;
3515
}
3616

37-
.custom-footer blockquote, q {
17+
.custom-footer blockquote {
3818
quotes: none;
3919
}
4020

@@ -46,4 +26,8 @@ footer, header, hgroup, menu, nav, section {
4626
.custom-footer table {
4727
border-collapse: collapse;
4828
border-spacing: 0;
29+
}
30+
31+
.custom-footer {
32+
border-top-width: 0;
4933
}

0 commit comments

Comments
 (0)