Verlängerung zu 90% fertig, scrolling muss noch hinzugefügt werden und überschrift wrapping
parent
999db09eb1
commit
97ff793306
|
@ -90,8 +90,8 @@
|
|||
</h3>
|
||||
<p class="discinItem">von Stephen King <br>
|
||||
</p>
|
||||
<a class="redbutton" href="" >Rückgabe am: 03.05.2023</a>
|
||||
<a class="binPicture" href=""><img src="pictures/extend_hover.png" width="25" height="25"></a>
|
||||
<a class="redbutton" href="verlaengerung.html" >Rückgabe am: 03.05.2023</a>
|
||||
<a class="binPicture" href="verlaengerung.html"><img src="pictures/extend_hover.png" width="25" height="25"></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
103
probestyle.css
103
probestyle.css
|
@ -1282,6 +1282,109 @@ input[type=number] {
|
|||
|
||||
/*Reservierung Ende*/
|
||||
|
||||
/*Verlängerung Start*/
|
||||
|
||||
#verlängerung {
|
||||
overflow-y: scroll;
|
||||
display:flex;
|
||||
-ms-overflow-style: none; /* IE and Edge */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
position: absolute;
|
||||
top: 230px;
|
||||
left: 50px;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
#verlängerung h1 {
|
||||
font-size: 40px;
|
||||
font-weight: normal;
|
||||
}
|
||||
#verlängerungContent {
|
||||
position: fixed;
|
||||
margin-top: 40px;
|
||||
margin-left: 25px;
|
||||
display: grid;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#verlängerungContent #möchten-sie {
|
||||
font-size: 24px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
.beschreibung h2 {
|
||||
font-size: 22px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#verlängerungItem .beschreibung h3{
|
||||
font-weight: normal;
|
||||
margin-top: -100px;
|
||||
}
|
||||
|
||||
#verlängerungContent .item {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#verlängerungContent hr {
|
||||
margin: 20px 0;
|
||||
width: 80%;
|
||||
background-color:#A78766;
|
||||
height: 2px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#verlängerungButtonContainer {
|
||||
margin-top: 25px;
|
||||
display: flex;
|
||||
width: 80%;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
#verlängerungButtonContainer #verlängerungButton1{
|
||||
margin-right: 20px;
|
||||
width: 110px;
|
||||
}
|
||||
|
||||
#verlängerungButtonContainer #verlängerungButton2{
|
||||
width: 110px;
|
||||
}
|
||||
|
||||
#verlängerungContent .beschreibung {
|
||||
margin-left: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.b2 {
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
line-height: 40px;
|
||||
height: 40px;
|
||||
width: 200px;
|
||||
border-width: 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.beschreibung .green {
|
||||
background-color: #70AD47;
|
||||
}
|
||||
.beschreibung .red {
|
||||
background-color: #F22C2C;
|
||||
}
|
||||
#verlängerungButtonContainer a {
|
||||
height: 25px;
|
||||
background-color: #664220;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 10px 15px;
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
line-height: 25px;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
border: 0;
|
||||
}
|
||||
/*Verlängerung Ende*/
|
||||
|
||||
/*Largest Devices*/
|
||||
@media screen and (max-width:1400px){
|
||||
#sidecandle{
|
||||
|
|
|
@ -0,0 +1,98 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta lang="de"/>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
||||
<link rel="Stylesheet" type="text/css" href="probestyle.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>
|
||||
<script src="burgerIcon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1 class="kopf" >
|
||||
<br><br>
|
||||
Bibliothek <a href="index.html" id="bildID"> <img id="CandleID" src="pictures/Candle.png" alt="Bild von einer Kerze"
|
||||
width="200" height="192"/> </a>
|
||||
<br><br> Candle
|
||||
</h1>
|
||||
<div>
|
||||
<a id="uberuns" href="uberuns.html">Über Uns</a>
|
||||
<a id="buecher" href="buecher.html">Bücher</a>
|
||||
<a id="meinebuecher" href="meineBuecher.html">Meine Bücher</a>
|
||||
<form action="">
|
||||
<input class="suchleiste" type="search" placeholder="Suche..." >
|
||||
<button type="submit" id="buttonID" class="searchButton"><i class="fa fa-search"></i> </button>
|
||||
</form>
|
||||
<a id="erweitertesuche" href="erweiterteSuche.html">Erweiterte Suche</a>
|
||||
<a href="warenkorb.html" id="warenKorbID"> <img id="shoppingCard" src="pictures/shopingcart.png" alt="Bild von einem Wagen"
|
||||
width="50" height="50"/> </a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="hauptcontainer" id="verlängerung">
|
||||
<h1 id="verlängerungH1">Buch verlängern</h1>
|
||||
<div id="verlängerungContent">
|
||||
<p id="möchten-sie">Möchten Sie das folgende Buch um 7 Tage verlängern?</p>
|
||||
|
||||
<div class="item" id="verlängerungItem">
|
||||
<img src="pictures/es.jpg" alt="Es" height="200">
|
||||
<div class="beschreibung">
|
||||
<h2>Es</h2>
|
||||
<h3>von Stephen King</h3>
|
||||
<div class="b2 green">Rückgabe am: 03.05.2023</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="verlängerungButtonContainer">
|
||||
<a id = "verlängerungButton1" href="verlaengerungErfolgreich.html">Bestätigen</a>
|
||||
<a id = "verlängerungButton2" href="meinebuecher.html">Abbrechen</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--Link JS file-->
|
||||
<!--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>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<footer class="fuss" >
|
||||
<div>
|
||||
<a id="impressum" href="impressum.html">Impressum</a>
|
||||
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
||||
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue