Hallo ,
nicht , weil alles was ich mache habe in meine Rechner , auf meine Website bringe nur wenn bevor in meine Rechner ausprobiert und keine fehler bekomme habe...
Hier die Code die jetzt habe ,habe auch andere CSS code in andere Datei , aber sie ist nicht so wichtig weil sie für Nav ist , sie ist dieser;
/* Nav */
nav {background-color: #d2f5c4; display: flex; }
nav a{
color: black;
text-decoration: none;
display: inline;
padding: 10px 8px 10px;
font-size: 16px;
font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, sans-serif;
}
nav ul {list-style-type: none; flex: 1 0 auto;}
nav li { display: inline-block;}
nav ul:nth-of-type(2) {
text-align:right; /* beweget computer, News und Bucher */
padding-right:120px;
}
#navs {
padding: 8px 0px 8px; /* Großer Nav , nur Obern und Unten */
}
/* Geben an Link1, link2, link3 ; Farbe , Padding, .... */
.dropdown {
position: relative; /* brauche um die neue link in Nav zubauen */
}
li a:hover, .dropdown:hover .dropbtn {
background-color: #f1ebeb;
}
.dropdown-content {
display: none; /* display wird ausgeschaltet ,aber erlaubt die anderen elemente, position ,background ,.... */
font-size: 12px;
position: absolute; /* die stellung folgt der Erste Link(li) */
background-color: #f1f1f1 ;
min-width: 10px; /* macht größer die Inneren Links */
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Bau ein Schatte und geben an dem Schatten Farbe */
z-index: 1; /* Zeigen die Ordnung wie die Links gezeigt werden... */
}
.dropdown-content {
color: black;
text-decoration: none; /* Bekomme die Liks keine Unten Stricht ....*/
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none; /* Bekomme die Liks keine Unten Stricht ....*/
display: block;
}
.dropdown-content a:hover {
background-color: #9f9e9e;
}
/* Offnen die Innere Links */
.dropdown:hover .dropdown-content {
display: block;
}
/* Main */
input, textarea{
background:rgba(220,220,220,0.75);
border:1px solid rgba(220,220,220,0.75);
font:inherit;
border-radius:0.2941em;/*5px;*/
padding:0.4118em;/*7px;*/
/*farbigen Rahmen in Chrome und Safari abschalten.*/
outline:none;
}
input:focus, textarea:focus{
background:#fff;
border:1px solid #000;
outline: none; /* einige Browser add line auf input , das verhindert es... */
}
input[type=submit]{
background:#be633c;
border:none;
color:#fff;
border-radius:50% 50%;
box-shadow:inset 0 0 1em #fb9d23;
padding:0.5882em;/*10px*/
}
input[type=submit]:focus, input[type=submit]:active{
background-color:#A33202;
}
/* Footer */
#copry {
overflow: auto;
font-size: 10px;
list-style-type: none;
font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, sans-serif;
}
#img1 {float: left; margin: 5px; }
#copry a {text-decoration: none; margin-bottom: 3px;}
#copry p {font-size: 10px; margin-bottom: 0px; }
/* Getting your footer under control */
#content-wrap {
padding-bottom: 2.5rem; /* Footer height */
}
/* Komment Button */
#comment:hover { box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);}
#comment {font-size: 11px;} /* Button from comment */
#form {font-size: 14px;} /* size from comment window */
/* Old links */
.link_change ul {
list-style-type: none;
margin-left: 340px;
}
.link_change li {
display: inline;
}
.link_change a {
display: inline;
text-decoration: none;
border: 1px solid gray;
background-color: #FE2E64;
color: black;
padding: 8px;
opacity: 0.5;
font-family: Times New Roman;
}
.link_change a:hover {
background-color: #9f9e9e;
}
.link_change a[aria-current=page] {
background-color:green;
}