Skip to content

Commit

Permalink
Add nav and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanny committed Jan 21, 2025
1 parent 378f3ab commit bb15f5b
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
35 changes: 35 additions & 0 deletions src/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,38 @@ body{
max-width: 50em;
padding: calc(8px + 1.5625vw);
}

header{
align-items: center;
background-color: #eeeeee;
display: flex;
justify-content: space-between;
padding: 8px;
width: 100%;
}

header > a{
float: left;
}

nav{
float: right;
}

nav ul{
display: flex;
list-style: none;
margin: 0;
padding: 0;
}

nav li{
margin-left: 1em;
padding: 8px;
}

footer{
font-size: .8em;
margin-top: 2em;
text-align: center;
}
53 changes: 38 additions & 15 deletions src/index.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,43 @@
<link href="css/core.css" rel="stylesheet"/>
</head>
<body>
<h2>Ebook Projects</h2>
<h3>Published</h3>
<ul>
<li><i><a href="https://standardebooks.org/ebooks/julia-peterkin/scarlet-sister-mary">Scarlet Sister Mary</a></i> (1928) by Julia Peterkin: Pulitzer winner in 1929</li>
<li><i><a href="https://standardebooks.org/ebooks/pearl-s-buck/the-mother">The Mother</a></i> (1934) by Pearl S. Buck: by Nobel Laureate Pearl Buck and written contemporaneously with her Pulitzer winner <i>The Good Earth</i></li>
<li><i><a href="https://standardebooks.org/ebooks/nella-larsen/quicksand">Quicksand</a></i> (1928) by Nella Larsen</li>
<li><i><a href="https://standardebooks.org/ebooks/sinclair-lewis/dodsworth">Dodsworth</a></i> (1929) by Sinclair Lewis</li>
<li><i><a href="https://standardebooks.org/ebooks/mahatma-gandhi/the-story-of-my-experiments-with-truth/mahadev-desai">The Story of My Experiments with Truth</a></i> (1929) by Gandhi, translated by Mahadev Desai</li>
<li><i><a href="https://standardebooks.org/ebooks/thomas-wolfe/look-homeward-angel">Look Homeward, Angel</a></i> (1929) by Thomas Wolfe</li>
</ul>
<h3>In progress</h3>
<ul>
<li><i><a href="https://github.com/brendanny/bjornstjerne-bjornson_the-fisher-maiden_rasmus-b-anderson">The Fisher Maiden (Fiskerjenten)</a></i> (1882) by Bjørnstjerne Bjørnson, translated by Rasmus B. Anderson</li>
<li><i><a href="https://github.com/brendanny/winston-churchill_savrola">Savrola</a></i> (1899) by Winston Churchill</li>
</ul>
<header>
<a href="/">brendanny</a>
<nav>
<ul>
<li>
<a href="#ebooks">ebooks</a>
</li>
<!-- <li>
<a href="#about">about</a>
</li> -->
<!-- <li>
<a href="/blog">blog</a>
</li> -->
</ul>
</nav>
</header>
<section id="ebooks">
<h2>ebook projects</h2>
<h3>published</h3>
<ul>
<li><i><a href="https://standardebooks.org/ebooks/julia-peterkin/scarlet-sister-mary">Scarlet Sister Mary</a></i> (1928) by Julia Peterkin: Pulitzer winner in 1929</li>
<li><i><a href="https://standardebooks.org/ebooks/pearl-s-buck/the-mother">The Mother</a></i> (1934) by Pearl S. Buck: by Nobel Laureate Pearl Buck and written contemporaneously with her Pulitzer winner <i>The Good Earth</i></li>
<li><i><a href="https://standardebooks.org/ebooks/nella-larsen/quicksand">Quicksand</a></i> (1928) by Nella Larsen</li>
<li><i><a href="https://standardebooks.org/ebooks/sinclair-lewis/dodsworth">Dodsworth</a></i> (1929) by Sinclair Lewis</li>
<li><i><a href="https://standardebooks.org/ebooks/mahatma-gandhi/the-story-of-my-experiments-with-truth/mahadev-desai">The Story of My Experiments with Truth</a></i> (1929) by Gandhi, translated by Mahadev Desai</li>
<li><i><a href="https://standardebooks.org/ebooks/thomas-wolfe/look-homeward-angel">Look Homeward, Angel</a></i> (1929) by Thomas Wolfe</li>
</ul>
<h3>in progress</h3>
<ul>
<li><i><a href="https://github.com/brendanny/bjornstjerne-bjornson_the-fisher-maiden_rasmus-b-anderson">The Fisher Maiden (Fiskerjenten)</a></i> (1882) by Bjørnstjerne Bjørnson, translated by Rasmus B. Anderson</li>
<li><i><a href="https://github.com/brendanny/winston-churchill_savrola">Savrola</a></i> (1899) by Winston Churchill</li>
</ul>
</section>
<footer>
<p>content on this website authored by me is<br/>
<a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a> brendan fattig</p>
<p><a href="https://github.com/brendanny/brendanny.github.io">this website at github</a></p>
</footer>
</body>
</html>

0 comments on commit bb15f5b

Please sign in to comment.