Skip to content

Commit 1816fe6

Browse files
committed
chore: clean up footer
1 parent 9aefc54 commit 1816fe6

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

demo.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717

1818
<body>
1919
<header>
20-
<h4>dev.css</h4>
21-
<h1>Demo</h1>
20+
<h1>dev.css</h1>
2221
<p>This is the demo page for dev.css.</p>
2322
<nav>
2423
<ul>
@@ -36,10 +35,9 @@ <h1>Demo</h1>
3635
</nav>
3736
</header>
3837

39-
<h1>Heading 1</h1>
38+
<h1>Demo</h1>
4039
<p>
41-
This is paragraph text. Lorem ipsum dolor sit amet consectetur adipisicing
42-
elit.
40+
This is the demo page for dev.css, a classless, lightweight, and accessible CSS framework!
4341
</p>
4442
<h2>Heading 2</h2>
4543
<p>

dev.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -301,15 +301,7 @@ header nav ul li:not(:first-child)::before {
301301
/* 11. footer */
302302
footer {
303303
border-top: 1px solid var(--dc-bg-3);
304-
padding: 0.5rem calc(50vw - 50%);
305-
margin: 2rem calc(50% - 50vw) -2rem;
306-
}
307-
308-
footer * {
309-
padding-top: 0rem;
310-
padding-bottom: 0rem;
311-
margin-top: 0.25rem;
312-
margin-bottom: 0.25rem;
304+
padding-top: 0.5rem;
313305
}
314306

315307
footer h1,

0 commit comments

Comments
 (0)