master_stand_10_05_23
DexterHK 2023-04-20 16:02:02 +02:00
parent 9a69f1c64d
commit a31ba2efc1
10 changed files with 452 additions and 301 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -12,7 +12,7 @@
<header> <header>
<h1 class="kopf" > <h1 class="kopf" >
<br><br> <br><br>
Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/> width="200" height="200"/>
<br><br> Candle <br><br> Candle
</h1> </h1>
@ -29,11 +29,59 @@
</header> </header>
<div class="homepage"> <div class="homepage">
<img src="pictures/sidecandle.png" id="sidecandle" alt="sidecandle" > <img src="pictures/sidecandle.png" id="sidecandle" alt="sidecandle" >
<p class="p1"> <h1 id="BuchHeader">
Bücher
</h1>
</p>
</div> </div>
<!-- Es wird nur ein Buch erstellt -->
<div>
<!--Picture -->
<img class="buchBilder" src="BookPictures/Datastructure.jpg">
<!-- Überschrift -->
<h2 class = "p2" id="buechertitel">Data Structures and Algorithms in Java</h2>
<br/>
<!--Verfasser-->
<p class="autor" id="verfasser">Verfasser: </p> <p class="autor" id="verfasserWert"> Robert Lafore </p>
<!--Erscheinungsjahr-->
<p class = "p2" id="erscheingungsjahr">Erscheinungsjahr: </p> <p class = "p2" id="erscheingungsjahrwert"> 1999</p>
<br/>
<!--Verlag-->
<p class = "p2" id="verlag">Verlag: </p> <br> <p class = "p2" id="verlagwert"> Sams Publishing</p>
<br/>
<!-- Katagorie -->
<p class = "p2" id="kategorie">Kategorie: </p> <br> <p class = "p2" id="kategoriewert"> Data Structure </p>
</div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<!--Burger-->
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</nav>
<footer class="fuss" > <footer class="fuss" >
<div> <div>
<a id="impressum" href="impressum.html">Impressum</a> <a id="impressum" href="impressum.html">Impressum</a>

View File

@ -12,7 +12,7 @@
<header> <header>
<h1 class="kopf" > <h1 class="kopf" >
<br><br> <br><br>
Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/> width="200" height="200"/>
<br><br> Candle <br><br> Candle
</h1> </h1>
@ -52,6 +52,33 @@
</p> </p>
</div> </div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</nav>
<footer class="fuss" > <footer class="fuss" >
<div> <div>
<a id="impressum" href="impressum.html">Impressum</a> <a id="impressum" href="impressum.html">Impressum</a>

View File

@ -12,7 +12,7 @@
<header> <header>
<h1 class="kopf" > <h1 class="kopf" >
<br><br> <br><br>
Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/> width="200" height="200"/>
<br><br> Candle <br><br> Candle
</h1> </h1>
@ -114,6 +114,33 @@
</p> </p>
</div> </div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</nav>
<footer class="fuss" > <footer class="fuss" >
<div> <div>
<a id="impressum" href="impressum.html">Impressum</a> <a id="impressum" href="impressum.html">Impressum</a>

View File

@ -12,7 +12,7 @@
<header> <header>
<h1 class="kopf" > <h1 class="kopf" >
<br><br> <br><br>
Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/> width="200" height="200"/>
<br><br> Candle <br><br> Candle
</h1> </h1>
@ -46,6 +46,33 @@
</p> </p>
</div> </div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</nav>
<footer class="fuss" > <footer class="fuss" >
<div> <div>
<a id="impressum" href="impressum.html">Impressum</a> <a id="impressum" href="impressum.html">Impressum</a>

View File

@ -1,285 +1,92 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"/> <meta lang="de"/>
<meta name="viewport" content="device=device-width, initial-scaling=1.0"/> <meta charset="utf-8"/>
<title> Candle Bibliothek</title> <meta name="viewport" content="device=device-width, initial-scaling=1"/>
<link rel="icon" href="pictures/Candle.png" type="image/png"> <link rel="Stylesheet" type="text/css" href="probestyle.css"/>
<link rel="Stylesheet" type="text/css" href="style.css"/> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <title>Candle Bibliothek</title>
</head> </head>
<body> <body>
<header> <header>
<h1 class="firsthead">Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" class="logo"/> Candle</h1> <h1 class="kopf" >
<br><br>
Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/>
<br><br> Candle
<nav id="activeid" class="active"> </h1>
<div class="navLinks"> <div>
<a id="uberuns" href="uberUns.html">Über Uns</a>
<form action="action_page.php"> <a id="buecher" href="bücher.html">Bücher</a>
<button type="submit" id="ButtonID" class="searchButton"><i class="fa fa-search"></i> </button> <a id="meinebuecher" href="meineBücher.html">Meine Bücher</a>
<input type="text" class="searchTerm" placeholder="Suche..."> <form action="">
<input class="suchleiste" type="search" placeholder="Suche..." >
<button type="submit" id="buttonID" class="searchButton"><i class="fa fa-search"></i> </button>
</form> </form>
<a id="erweitertesuche" href="erweiterteSuche.html">Erweiterte Suche</a>
<a class="uberUns" href="">Über Uns</a> </div>
<a class="buecher" href="">Bücher</a> </header>
<a class="meineBuecher" href="">Meine Bücher</a> <div class="homepage">
</div> <img src="pictures/sidecandle.png" id="sidecandle" alt="sidecandle">
<p class="p1">
<span id="titleschwarz">HERZLICH WILLKOMMEN!</span>
<br><br>
Die Bibliothek CANDLE begrüßt Sie ganz herzlich auf ihren Internetseiten. <br> <br>
Nutzen Sie unser umfangreiches Angebot aus den beliebtesten Büchern. <br> <br>
Wir freuen uns auf Ihren Besuch!
<br><br>
<span id="titleschwarz">VERANSTALTUNGEN!</span>
<br><br>
Leserunde | jeden Mittwoch | 17:30 Uhr
<br><br>
<span style="color: #000;" >HARRY POTTER-REIHE (aktuell) </span>
<br><br>
<span style="color: #000;">
Die erfolgreiche Buchreihe um den Zauberlehrling Harry James Potter umfasst insgesamt sieben Bände.
In jedem wird ein Schul- und Lehrjahr von Harry und seinen Freunden auf dem Zauberinternat Hogwarts erzählt.
Neben alltäglichen Problemen eines Jugendlichen, wird Harry immer wieder mit dem bösen Magier Lord Voldemort und seinen Gefolgsleuten,
den sogenannten Todessern, konfrontiert.
</span>
<br>
<a href="" style="font-style: italic; text-decoration: none; color: #000;" >mehr dazu...</a>
</p>
</div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";> <input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" > <label for="nav-toggle" class="icon-burger" >
<div class="line"></div> <div class="line"></div>
<div class="line"></div> <div class="line"></div>
<div class="line"></div> <div class="line"></div>
</label> </label>
</nav> </nav>
<a id="erweiterteSuche" href="">Erweiterte Suche</a>
</header>
<script>
var showVisible = ` <footer class="fuss" >
.searchTerm{ <div>
pointer-events: none; <a id="impressum" href="impressum.html">Impressum</a>
opacity: 0; <a id="kontakt" href="kontakt.html">Kontakt</a>
} <a id="datenschutz" href="datenschutz.html">Datenschutz</a>
.searchButton{
pointer-events: none;
opacity: 0;
}
.navLinks{
pointer-events: none;
opacity:0;
}
`
var showNav = `
.searchTerm{
pointer-events: auto;
opacity: 1;
position:relative;
left: 17.9em;
bottom:18em;
width: 150px;
}
.searchTerm::placeholder {
font: 16px/3 sans-serif;
}
.searchButton{
pointer-events: auto;
opacity: 1;
position:relative;
left: 10em;
}
#erweiterteSuche{
position:relative;
left: 8.5em;
bottom: 17em;
}
.uberUns{
position:relative;
left: 5.45em;
bottom: 7.4em;
width: 160px;
height: 40px;
}
.meineBuecher{
position:relative;
right: 14em;
bottom: 4.8em;
width: 160px;
height: 60px;
}
.buecher{
position:relative;
right: 4.3em;
bottom: 10em;
width: 160px;
height: 40px;
}
.navLinks{
pointer-events: auto;
opacity:1;
width:100%;
display: flex;
justify-content: center;
}
.logo{
opacity:0;
}
.searchButton{
position: relative;
bottom: 14.98em;
left: 21.2em;
float:right;
color: #ffffff;
padding: 0.8em 1em;
background: #664220;
}
`
var disableNav = `
.searchTerm{
pointer-events: none;
opacity: 0;
}
.searchButton{
pointer-events: none;
opacity: 0;
}
.navLinks{
pointer-events: none;
opacity:0;
}
.firsthead{
display: flex;
align-items:center;
justify-content: center;
background-color: #24140d; /*#24140d;*/
color:rgb(255, 255, 255); /*#bf6538*/
}
.logo{
opacity:1;
}
.searchTerm {
position: relative;
bottom: 15.05em;
float:right;
text-align: center;
color: #ffffff;
padding: 0.915em 2em;
background: #664220;
border: 0;
outline: 0;
margin-right: 1px;
}
.searchButton{
position: relative;
bottom: 14.98em;
float:right;
color: #ffffff;
padding: 0.8em 1em;
background: #664220;
}
}`
navActivated = false;
function openNav() {
navActivated = !navActivated;
if(navActivated){
var styleSheet = document.createElement("style")
styleSheet.innerText = showNav
document.head.appendChild(styleSheet)
}
else{
var styleSheet = document.createElement("style")
styleSheet.innerText = disableNav
document.head.appendChild(styleSheet)
}
}
var visibleAgain = `
.searchTerm{
pointer-events: auto;
opacity: 1;
}
.searchButton{
pointer-events: auto;
opacity: 1;
}
.navLinks{
pointer-events: auto;
opacity:1;
}
.firsthead{
display: flex;
align-items:center;
justify-content: center;
background-color: #24140d; /*#24140d;*/
color:rgb(255, 255, 255); /*#bf6538*/
}
.logo{
opacity:1;
}
.searchTerm {
position: relative;
bottom: 15.05em;
float:right;
text-align: center;
color: #ffffff;
padding: 0.915em 2em;
background: #664220;
border: 0;
outline: 0;
margin-right: 1px;
}
.searchButton{
position: relative;
bottom: 14.98em;
float:right;
color: #ffffff;
padding: 0.8em 1em;
background: #664220;
}`
function myFunction(x)
{
if (x.matches) {
var styleSheet = document.createElement("style")
styleSheet.innerText = disableNav
document.head.appendChild(styleSheet)
}
else
{
var styleSheet = document.createElement("style")
styleSheet.innerText = visibleAgain
document.head.appendChild(styleSheet)
}
}
var x = window.matchMedia("(max-width: 768px)")
myFunction(x)
x.addListener(myFunction)
</script>
<footer id="footer">
<div id="footer-menu">
<ul>
<li><a href="">Impressum</a></li>
<li><a href="">Kontakt</a></li>
<li><a href="">Datenschutz</a></li>
</ul>
</div> </div>
</footer> </footer>
</body> </body>
</html>
</html>

View File

@ -12,7 +12,7 @@
<header> <header>
<h1 class="kopf" > <h1 class="kopf" >
<br><br> <br><br>
Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/> width="200" height="200"/>
<br><br> Candle <br><br> Candle
</h1> </h1>
@ -38,6 +38,32 @@
E-Mail: 2211780@stud.hs-mannheim.de <br> E-Mail: 2211780@stud.hs-mannheim.de <br>
</p> </p>
</div> </div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</nav>
<footer class="fuss" > <footer class="fuss" >
<div> <div>
<a id="impressum" href="impressum.html">Impressum</a> <a id="impressum" href="impressum.html">Impressum</a>

View File

@ -12,7 +12,7 @@
<header> <header>
<h1 class="kopf" > <h1 class="kopf" >
<br><br> <br><br>
Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/> width="200" height="200"/>
<br><br> Candle <br><br> Candle
</h1> </h1>
@ -28,12 +28,53 @@
</div> </div>
</header> </header>
<div class="homepage"> <div class="homepage">
<img src="pictures/sidecandle.png" id="sidecandle" alt="sidecandle" >
<p class="p2">
<h1 id="BuchHeader">
</p> Meine Bücher
</h1>
</div> </div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<!--Burger-->
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</nav>
<!-- Es wird nur ein Buch erstellt -->
<div>
<!--Picture -->
<img class="buchBilder" src="BookPictures/Datastructure.jpg">
<!-- Überschrift -->
<h2 class = "p2" id="buechertitel">Data Structures and Algorithms in Java</h2>
<br/>
<!--Verfasser-->
<p class="autor" id="verfasser">von </p> <p class="autor" id="meineBucherverfasserWert"> Robert Lafore </p>
<a id="Aboholbereit" href="">Sofort Abholbereit</a>
<p id="Bucherwartung">Diese Reservierung verfällt, wenn das Buch nicht bis zum 20.04.2023 abgeholt wurde </p>
</div>
<footer class="fuss" > <footer class="fuss" >
<div> <div>
<a id="impressum" href="impressum.html">Impressum</a> <a id="impressum" href="impressum.html">Impressum</a>

View File

@ -120,6 +120,17 @@ body{
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
} }
#BuchHeader{
position: fixed;
top: 220px;
left: 30px;
font-size: 40px;
color:#000000;
}
.p1{ .p1{
overflow-y: scroll; overflow-y: scroll;
max-width: 87%; max-width: 87%;
@ -133,6 +144,9 @@ body{
bottom: 75px; bottom: 75px;
} }
.p1{ .p1{
-ms-overflow-style: none; /* IE and Edge */ -ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
@ -162,13 +176,100 @@ body{
display: none; display: none;
} }
/* Dieser Teil ist für Bücher,
eine eigene Style CSS sollte dafür erstellt werden */
.buchBilder{
width: 200px;
height: 300px;
position: fixed;
top: 320px;
left: 70px;
}
#buechertitel{
position: fixed;
top: 320px;
left: 300px;
font-size: 25px;
}
#verfasser{
position: relative;
top: 380px;
left: 300px;
}
#verfasserWert{
position: relative;
top: 360px;
left: 380px;
}
#erscheingungsjahr{
position: relative;
top: 365px;
left: 300px;
}
#erscheingungsjahrwert{
position: relative;
top: 338px;
left: 435px;
}
#verlag{
position: relative;
top: 320px;
left: 300px;
}
#verlagwert{
position: relative;
top: 275px;
left: 360px;
}
#kategorie{
position: relative;
top: 260px;
left: 300px;
}
#kategoriewert{
position: relative;
top: 214px;
left: 380px;
}
/* Dieser Teil ist für Meine Bücher,
eine eigene Style CSS sollte dafür erstellt werden */
#meineBucherverfasserWert{
position: relative;
top: 361px;
left: 330px;
}
#Aboholbereit{
position: fixed;
left: 300px;
top: 550px;
width: 180px;
height: 25px;
background-color:#7DAD47 ;
color:rgb(255, 255, 255);
padding-right:0px;
padding-left: 0px;
padding-top: 10px;
padding-bottom: 0px;
text-align: center;
text-decoration: none;
}
#Bucherwartung{
position: relative;
top: 540px;
left: 300px;
}
/*....................................*/ /*....................................*/
.buchtitel{ .buchtitel{
position: fixed; position: fixed;
top: 260px; top: 260px;
width: 100px;
left:100px; left:100px;
} }
@ -446,6 +547,25 @@ body{
opacity: 0; opacity: 0;
} }
#uberuns{
position: fixed;
left: 0px;
top: 150px;
text-align: center;
}
#buecher{
position: fixed;
left: 50%;
top: 50%;
}
#meinebuecher{
position: fixed;
left: 300px;
top: 150px;
}
} }
/*small Devices*/ /*small Devices*/
@media screen and (max-width:620px){ @media screen and (max-width:620px){
@ -555,7 +675,8 @@ body{
top: 640px; top: 640px;
} }
/*Burger Menu*/

View File

@ -12,7 +12,7 @@
<header> <header>
<h1 class="kopf" > <h1 class="kopf" >
<br><br> <br><br>
Bibliothek <img src="pictures/Candle.png" alt="Bild von einer Kerze" Bibliothek <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
width="200" height="200"/> width="200" height="200"/>
<br><br> Candle <br><br> Candle
</h1> </h1>
@ -44,6 +44,33 @@
</p> </p>
</div> </div>
<!--Link JS file-->
<script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
<script>
var widthissue = false;
window.addEventListener("resize", function(event) {
if(window.innerWidth > 800 && widthissue) {
widthissue = false
unset()
}
else if(window.innerWidth < 800) widthissue = true;
})
</script>
<nav id="activeid" class="active">
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</nav>
<footer class="fuss" > <footer class="fuss" >
<div> <div>
<a id="impressum" href="impressum.html">Impressum</a> <a id="impressum" href="impressum.html">Impressum</a>