Skip to content

Commit

Permalink
Fix Topbar
Browse files Browse the repository at this point in the history
  • Loading branch information
EmpressAutumn committed Apr 5, 2024
1 parent 9012d01 commit 11f4efe
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 2 additions & 0 deletions devnotes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
<head>
<meta charset="UTF-8">
<title>Dev Notes | Atom596.com</title>
<script type="text/javascript" src="/script/topbar.js"></script>
<link rel="stylesheet" href="/style/main.css">
</head>
<body>
<h1>Dev Notes</h1>
<div id="topbar"></div>
</body>
</html>
4 changes: 0 additions & 4 deletions style/home.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
h1 {
text-align: center;
}

.plans {
padding: 10px;
width: 70%;
Expand Down
4 changes: 4 additions & 0 deletions style/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
h1 {
text-align: center;
}

body {
background-image: url("https://www.toptal.com/designers/subtlepatterns/uploads/moroccan-flower.png");
background-repeat: repeat;
Expand Down
11 changes: 11 additions & 0 deletions style/topbar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.topbar {
width: 100%;
border: 4px solid lightslategray;
background-color: silver;
text-align: center;
}

.links {
margin-top: 10px;
margin-bottom: 10px;
}
7 changes: 4 additions & 3 deletions topbar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<hr>
<h3>
<link rel="stylesheet" href="/style/topbar.css">
<div class="topbar">
<h3 class="links">
<a href="https://www.atom596.com/">Home</a>
| <a href="https://www.atom596.com/devnotes/">Dev Notes</a>
</h3>
</hr>
</div>

0 comments on commit 11f4efe

Please sign in to comment.