New navigation style adding new_nav.css stylesheet

bookshelf
Gutenberg back end service account 2020-02-14 15:51:08 -05:00
parent 11852204b0
commit 9694e61f3a
5 changed files with 321 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<link rel="stylesheet" href="/gutenberg/style.css?v=1.1">
<link rel="stylesheet" href="/gutenberg/collapsible.css?1.1">
<link rel="stylesheet" href="/gutenberg/nav.css?v=1.1">
<link rel="stylesheet" href="/gutenberg/new_nav.css?v=1.321231">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="books, ebooks, free, kindle, android, iphone, ipad"/>

View File

@ -3,7 +3,7 @@
<div class="box_shadow">
<div class="lib latest no-select">
{% include latestbooks-template.html %}
<p><i>Some of our latest eBooks</i></p>
<p><i>Some of our latest eBooks</i><a href="https://dev.gutenberg.org/browse/recent/last1">Click Here for more latest books!</a></p>
</div>
</div>
</div>

67
_includes/menu_old.html Normal file
View File

@ -0,0 +1,67 @@
<nav>
<a href="/" class="no-hover">
<img class="logo" src="/gutenberg/pg-logo-129x80.png" alt="Project Gutenberg" draggable="false" />
</a>
<label for="show-menu" class="show-menu"><img src="/gutenberg/menu-icon.png" class="menu" alt="Menu"/></label>
<input type="checkbox" id="show-menu" role="button" />
<ul id="menu">
<li><a href="/about/">About</a>
<ul class="hidden">
<li><a href="/about/">About Project Gutenberg</a></li>
<li><a href="/policy/collection_development.html">Collection Development</a></li>
<li><a href="/about/contact_information.html">Contact Us</a></li>
<li><a href="/about/background/">History &amp; Philosophy</a></li>
<li><a href="/policy/permission.html">Permissions &amp; License</a></li>
<li><a href="/policy/privacy_policy.html">Privacy Policy</a></li>
<li><a href="/policy/terms_of_use.html">Terms of Use</a></li>
</ul>
</li>
<li><a href="/ebooks/">Search &amp; Browse</a>
<ul class="hidden">
<li><a href="/ebooks/">Book Search</a></li>
<li><a href="/ebooks/bookshelf/">Bookshelves</a></li>
<li><a href="/browse/scores/top">Frequently Downloaded</a></li>
<li><a href="/ebooks/offline_catalogs.html">Offline Catalogs</a></li>
</ul>
</li>
<li><a href="/donate/">Donate</a></li>
<li><a href="/help/">Help</a>
<ul class="hidden">
<li><a href="/help/public_domain_ebook_submission.html">Public Domain eBook Submission</a></li>
<li><a href="/help/submitting_your_own_work.html">Submitting Your Own Work</a></li>
<li><a href="/help/">All help topics</a></li>
<li><a href="/help/copyright.html">Copyright Procedures</a></li>
<li><a href="/help/errata.html">Errata, Fixes &amp; Bug Reports</a></li>
<li><a href="/help/file_formats.html">File Formats</a></li>
<li><a href="/help/faq.html">Frequently Asked Questions</a></li>
<li><a href="/policy/">Policies</a></li>
<li><a href="/help/mobile.html">Tablets, Phones &amp; eReaders</a></li>
<li><a href="/attic/">The Attic</a></li>
</ul>
</li>
</ul>
<div class="searchbox">
<form method="get" action="/ebooks/search/" accept-charset="utf-8" enctype="multipart/form-data" class="searchbox">
<input type="text" value="" id="menu-book-search" name="query" class="searchInput" title="Quick search" tabindex="20" size="20" maxlength="80" placeholder=" Quick search" />
<input type="submit" name="submit_search" value="Go!" style="vertical-align:middle;" />
</form>
</div>
<div class="donate">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="new">
<p>Project Gutenberg appreciates your <a href="/donate/">donation</a>. Direct Paypal Donation Link: </p>
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="XKAL6BZL3YPSN" />
<input class="donbtn" type="image" src="/pics/en_US.gif" style="vertical-align:top;" name="submit" alt="Donate via PayPal" />
</form>
</div>
</nav>

View File

@ -9,7 +9,7 @@ nav {
right: 0;
top: 0;
z-index: 999;
font-weight: bold;
/*font-weight: bold;*/
font-family: "Trebuchet MS", Helvetica, sans-serif;
}
nav ul {
@ -24,6 +24,7 @@ nav li {
display:inline-block;
float: left;
margin-right: 1px;
font-weight:bold;
}
/*Style for menu links*/
nav li a {
@ -143,6 +144,7 @@ nav .donate p{
margin-top:0px;
margin-left:140px;
display: inline;
/*font-weight:unset;*/
}
nav .donate .donbtn{

249
gutenberg/new_nav.css Normal file
View File

@ -0,0 +1,249 @@
/*Strip the ul of padding and list styling*/
nav {
background-color:#EDDAB7;
color:#000000;
left: 0;
padding: 0 10vw 0 0;
position: fixed;
right: 0;
top: 0;
z-index: 999;
height:60px;
font-family: "Trebuchet MS",Helvetica, sans-serif;
}
#main_logo{
top:0;
left:0;
position: absolute;
}
nav .searchbox{
position: relative;
float:right;
width:200px;
padding:10px;
}
nav .searchbox input[type=text]{
height:25px;
width:100px;
border-radius:25px;
color: black;
background-color: #f5f5f5;
}
nav .donate{
background-color:#F5ECDB;
color:black;
font-size: 16px;
width:115%;
margin-top: 60px;
margin-left:129px;
}
nav .donate p{
margin-top:0px;
margin-left:10px;
display: inline;
}
nav .donate .donbtn{
display:inline-block;
cursor: pointer;
}
nav .donate a:link{
text-decoration: underline;
}
nav .donate a:hover{
background: #BDAE92;
color: #fff; /* white */
}
@media screen and /*(orientation: portrait)*/(max-width : 1024px) {
nav {
height:auto;
font-size:12px;
position:absolute;
}
nav .donate{
display: none;
}
nav .searchbox{
margin-left: 65px;
float:left;
display:inline-block;
padding: 5px;
}
}
#menu{
margin-left:140px;
background-color: #EDDAB7;
font-weight:bold;
}
#menu a{
text-decoration:none;
}
#menu ul {
margin: 0;
padding: 0;
}
#menu .main-menu {
display: none;
background-color:#EDDAB7;
}
#tm:checked + .main-menu {
display: block;
}
#menu input[type="checkbox"],
#menu ul span.drop-icon {
display: none;
}
#menu li,
#toggle-menu,
#menu .sub-menu {
border-style: solid;
border-color: rgba(0, 0, 0, .05);
}
#menu li,
#toggle-menu {
border-width: 0 0 1px;
}
#menu .sub-menu {
background-color: #f0e1c5;
border-width: 1px 1px 0;
margin: 0 1em;
}
#menu .sub-menu li:last-child {
border-width: 0;
}
#menu li,
#toggle-menu,
#menu a {
position: relative;
display: block;
color: black;
text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
}
/*#toggle-menu {
background: #333;
}*/
#toggle-menu,
#menu a {
padding: 1em 1.5em;
}
#menu a {
transition: all .125s ease-in-out;
-webkit-transition: all .125s ease-in-out;
}
#menu a:hover {
color: #09c;
}
#menu .sub-menu {
display: none;
}
#menu input[type="checkbox"]:checked + .sub-menu {
display: block;
}
#menu .sub-menu a:hover {
color: #444;
}
#toggle-menu .drop-icon,
#menu li label.drop-icon {
position: absolute;
right: 0;
top: 0;
}
#menu label.drop-icon, #toggle-menu span.drop-icon {
padding: 1em;
font-size: 1em;
text-align: center;
background-color: rgba(0, 0, 0, .125);
text-shadow: 0 0 0 transparent;
color: rgba(255, 255, 255, .75);
}
@media only screen and (max-width: 1200px) and (min-width:1024px) {
}
@media only screen and (min-width: 1024px) {
/*TESTING_____________________*/
#menu .main-menu > li:last-child{
display: none;
}
#menu .main-menu li{
background-color:#EDDAB7;
}
#menu .main-menu {
display: block;
}
#toggle-menu,
#menu label.drop-icon {
display: none;
}
#menu ul span.drop-icon {
display: inline-block;
}
#menu li {
float: left;
border-width: 0 1px 0 0;
}
#menu .sub-menu li {
float: none;
}
#menu .sub-menu {
border-width: 0;
margin: 0;
position: absolute;
top: 100%;
left: 0;
width:max-content;
z-index: 3000;
}
#menu .sub-menu,
#menu input[type="checkbox"]:checked + .sub-menu {
display: none;
}
#menu .sub-menu li {
border-width: 0 0 1px;
background-color: #f0e1c5;
}
#menu .sub-menu .sub-menu {
top: 0;
left: 100%;
}
#menu .sub-menu .drop-icon {
position: absolute;
top: 0;
right: 0;
padding: 1em;
}
#menu li:hover > input[type="checkbox"] + .sub-menu {
display: block;
}
}