HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<style>
<?php
include 'CSS/tablet_index.css';
?>
img {
float: left;
margin-right: 5px;
}
.a {background-color: #f0f8ec;}
/* link wechsel */
.link_change ul {
list-style-type: none;
}
.link_change li { display: inline; }
.link_change a {
display: inline;
text-decoration: none;
border: 1px solid gray;
background-color: green;
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: #66ff66;
}
#pages {
list-style-type: none;
margin-right: 10px;
background-color: #ccffcc;
border-style: solid;
border-width: 1px;
padding: 8px;
}
</style>
</head>
<body>
<div class="big-werbung">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="3875132846"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<header></header>
<nav id="navs">
<ul>
<li><a href="about_us.php">About Us</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
<ul>
<li><a href="index.php">Home</a></li>
<li class="dropdown">
<a href="#" class="dropbtn">Linux OS</a>
<div class="dropdown-content">
<a href="linux_mint.php">Linux Mint</a>
<a href="ubuntu.php">Ubuntu</a>
<a href="debian.php">Debian</a>
<a href="android.php">Android</a>
</div>
</li>
<li class="new-link">
<a href="#" class="neuen">News & More</a>
<div class="new-content">
<a href="#">News</a>
<a href="#">Geek</a>
</div>
</li>
<li><a id="book" href="#">Books</a></li>
<li class="languag">
<a href="#" class="language">🌍 Spanish</a>
<div class="languages">
<a href="https://linuxusers.net/es/index.php">Spanish</a>
<a href="https://linuxusers.net/de/index.php">German</a>
</div>
</li>
</ul>
</nav>
<br>
<br>
<main>
<br>
<br>
<div class="seste">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- tablet -->
<ins class="adsbygoogle"
style="display:inline-block;width:580px;height:90px"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="2682083058"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="siebte">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- tablet2 -->
<ins class="adsbygoogle"
style="display:inline-block;width:480px;height:90px"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="8388677637"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<br>
<br>
<article class="a">
<h4>Install PHP, Apache2, Mysql and Adminer on Debian Buster</h4>
<img src="/Photo/debian.jpg" alt="Icon debian"/>
<p> Here I will explain how to install <b>PHP 7.3</b> on Debian Buster. If you to want to install another version of <b>PHP</b>, you only should change in <b>all</b> places where <b>PHP 7.3</b> it is, for the version you to want to install. I will also explain how to install <b>Apache2</b>, <b>Mysql</b> and <b>Adminer</b>.
</p>
<a style="text-decoration: none;" href="/debian/install_php_apache2_mysql_and_adminer_on_debian_buster.php">Read more...</a>
</article>
<br>
<br>
<br>
<article class="a">
<h4>Install the latest version of Firefox on Debian</h4>
<img src="/Photo/debian.jpg" alt="Icon debian">
<p>
When you install Debian, the <b>Firefox ESR</b> which comes with your installation comes without updating. Here I will explain how to install the latest version of <b>Firefox</b>.
</p>
<a style="text-decoration: none;" href="/debian/install_the_latest_version_of_firefox_on_debian.php">Read more...</a>
</article>
<br>
<br>
<br>
<article class="a">
<h4>How Install Debian 10 Buster with Nvidia</h4>
<img src="/Photo/debian.jpg" alt="Icon debian">
<p>
In July 2019 Debian has the new version public to does, his name is Debian 10 Buster, it will receive support over the next five years. I will explain here with this Tutorial how Install Debian 10 Buster with Mate with Nvidia, but it is working similarly with all Desktop's (Gnome, Kde, Lxde, Lxqt, Xfce, Cinnamon, Debian and Mate).
</p>
<a style="text-decoration: none;" href="/debian/how_install_debian_10_buster_with_nvidia.php">Read more...</a>
</article>
<br>
<br>
<br>
<article class="a">
<h4>How enable root password on Ubuntu</h4>
<img src="/Photo/linux.svg" alt="Icon linux">
<p>By default, Ubuntu does not set up a <b>root</b> password and therefore, you don't get the ability to log in as root. To log you as root on Ubuntu you have to use <b>sudo -s</b> or <b>sudo -i</b>, with <b>sudo -s</b> runs a shell with root privileges and <b>sudo -i</b> also acquires the root user's environment.
</p>
<a style="text-decoration: none;" href="/ubuntu/how_enable_root_password_on_ubuntu.php">Read more...</a>
</article>
<br>
<br>
<br>
<article class="a">
<h4>How to create a bootable USB flash drive on Linux Mint</h4>
<img src="/Photo/linux.svg" alt="Icon linux">
<p>I will explain here how to create a bootable USB flash drive on Linux Mint with the tool dd (disk dump).
</p>
<a style="text-decoration: none;" href="/linux_mint/how_create_bootable_usb_drive_on_linux_Mint.php">Read more...</a>
</article>
<br>
<br>
<br>
<article class="a">
<h4>How install VirtualBox on Ubuntu 18.04 LTS</h4>
<img src="/Photo/ubuntu.jpeg" alt="Icon ubuntu">
<p>Here will explain how to install VirtualBox in Ubuntu 18.04 LTS (Bionic Beaver), we will use to install VirtualBox adding the third-party repository from VirtualBox
</p>
<a style="text-decoration: none;" href="/ubuntu/how_install_virtualbox_ubuntu_18_04_lts.php">Read more...</a>
</article>
<br>
<br>
<br>
<ul class="link_change">
<li id="pages">Pages</li>
<li><a <?php if ($current_page=="1"): ?>aria-current="page" <?php endif ?> href="/index.php">1</a></li>
<li><a <?php if ($current_page=="2"): ?>aria-current="page" <?php endif ?> href="/index2.php">2</a></li>
</ul>
<br>
<br>
<br>
<div class="erste">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horinzotal3 -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="8292071760"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="seste">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- tablet -->
<ins class="adsbygoogle"
style="display:inline-block;width:580px;height:90px"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="2682083058"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="siebte">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- tablet2 -->
<ins class="adsbygoogle"
style="display:inline-block;width:480px;height:90px"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="8388677637"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<br>
<br>
<br>
</main>
<div class="zwei">
</div>
<aside>
<div class="drei">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- vertikal -->
<ins class="adsbygoogle"
style="display:inline-block;width:160px;height:600px"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="6303368523"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="ipad-lange">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ipad-lange -->
<ins class="adsbygoogle"
style="display:inline-block;width:120px;height:600px"
data-ad-client="ca-pub-1609502594068294"
data-ad-slot="3563356209"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</aside>
<footer id="copry" >
<p>My Website: Computer and More © 2019. All Rights Reserved.</p>
<a id="img1" href="https://creativecommons.org/licenses/by-nc-nd/4.0/">
<img class="bild" src="/Photo/by-nc-nd.png" alt="icon creative commons">
</a>
<p>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Content of this site cannot be republished either online or offline without our permissions. </p>
</footer>
</body>
</html>
body {
display: grid;
display: -ms-grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 17rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
-ms-grid-columns: 8% 64% 28%;
-ms-grid-row: 7.5rem 5rem 6.4375rem;
-ms-grid-gap: 0.3125rem;
}
/* Nav */
nav {background-color: #d2f5c4; display: flex; }
nav a{
color: black;
text-decoration: none;
display: inline;
padding: 0.625rem 0.625rem 0.625rem;
font-size: 1.25rem;
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: 7.5rem;
}
.dropbtn {
padding: 0.9375rem;
padding-top: 0.5625rem;
padding-bottom: 0.625rem;
}
/* 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: 0.8125rem;
position: absolute; /* die stellung folgt der Erste Link(li) */
background-color: #f1f1f1;
min-width: 0.9375rem; /* macht größer die Inneren Links */
box-shadow: 0rem 0.5rem 1rem 0rem 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 a {
color: black;
padding: 0.75rem 1.6875rem 0.9375rem 0.5rem;
text-decoration: none; /* Bekomme die Liks keine Unten Stricht ....*/
display: block;
font-size: 0.9375rem;
text-align: left;
font-weight: bold;
}
.dropdown-content a:hover {
background-color: #9f9e9e;
}
/* Offnen die Innere Links */
.dropdown:hover .dropdown-content {
display: block;
top: 1.875rem;
}
/* New link to Nav */
li a:hover, .new-link:hover .neuen{
background-color: #f1ebeb;
}
.new-link:hover .new-content {
display: block;
}
.new-link {
position: relative;
}
.new-content a {
color: black;
padding: 0.75rem 3rem;
text-decoration: none; /* Bekomme die Liks keine Unten Stricht ....*/
display: block;
text-align: right;
font-size: 1rem;
font-weight: bold;
}
.new-content {
display: none; /* display wird ausgeschaltet ,aber erlaubt die anderen elemente, position ,background ,.... */
font-size: 0.8125rem;
position: absolute; /* die stellung folgt der Erste Link(li) */
background-color: #f1f1f1 ;
min-width: 0.625rem; /* macht größer die Inneren Links */
box-shadow: 0rem 0.5rem 1rem 0rem 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... */
}
.new-content {
color: black;
text-decoration: none; /* Bekomme die Liks keine Unten Stricht ....*/
}
.new-content a:hover { background-color: #9f9e9e; }
.new-link:hover .new-content { top: 1.875rem}
/* ende !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
/* Main */
input, textarea{
background:rgba(220,220,220,0.75);
border:0.0625rem solid rgba(220,220,220,0.75);
font:inherit;
border-radius:0.2941rem;/*5px;*/
padding:0.4118rem;/*7px;*/
/*farbigen Rahmen in Chrome und Safari abschalten.*/
outline:none;
}
input:focus, textarea:focus{
background:#fff;
border:0.0625rem 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 1rem #fb9d23;
padding:0.5882rem;/*10px*/
}
input[type=submit]:focus, input[type=submit]:active{
background-color:#A33202;
}
main {
grid-area: main;
display: block;
background-color: #e1f2d9;
height: 100%;
}
/* Footer */
#copry {
overflow: auto;
font-size: 0.5882rem;
list-style-type: none;
font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, sans-serif;
}
#img1 {float: left; margin: 0.3125rem; }
#copry a {text-decoration: none; margin-bottom: 0.1875rem;}
#copry p {font-size: 0.625rem; margin-bottom: 0rem; }
.bild {
width: 8rem;
height: 2.8625rem;
}
/* Komment Button */
#comment:hover { box-shadow: 0rem 0.5rem 1rem 0rem rgba(0,0,0,0.2);}
#comment {font-size: 0.6875rem;} /* Button from comment */
#form {font-size: 0.875rem;} /* size from comment window */
/* language */
.languag {
position: relative;
}
.language {
padding: 0.9375rem;
padding-top: 0.5625rem;
padding-bottom: 0.625rem;
}
li a:hover, .languag:hover .language {
background-color: #f1ebeb;
}
.languages {
display: none; /* display wird ausgeschaltet ,aber erlaubt die anderen elemente, position ,background ,.... */
font-size: 0.8125rem;
position: absolute; /* die stellung folgt der Erste Link(li) */
background-color: #f1f1f1 ;
min-width: 0.625rem; /* macht größer die Inneren Links */
box-shadow: 0rem 0.5rem 1rem 0rem 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... */
}
.languages {
color: black;
text-decoration: none;
}
.languages a {
color: black;
padding: 0.75rem 1.3125rem 0.9375rem 0.5rem;
text-decoration: none; /* Bekomme die Liks keine Unten Stricht ....*/
display: block;
font-size: 1rem;
text-align: left;
font-weight: bold;
}
.languages a:hover { background-color: #9f9e9e;}
.languag:hover .languages { display: block; top: 2rem; }
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 80.0625em)
*/
@media (min-width: 80.0625em) {
body {
display: grid;
display: -ms-grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 16rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
-ms-grid-columns: 8% 64% 28%;
-ms-grid-row: 7.5rem 5rem 6.4375rem;
-ms-grid-gap: 0.3125rem;
}
nav a {
color: black;
text-decoration: none;
display: inline-block;
padding: 0.625rem 0.5rem 0.625rem;
font-size: 1.25rem;
font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, sans-serif;
}
.dropdown-content a {
font-size: 1rem;
padding: 0.75rem 1rem;
}
.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content {top: 2.5625rem; }
.new-link:hover .new-content, .new-link:focus-within .new-link { top: 2.5625rem;}
.languag:hover .languages, .languag:focus-within .languag {top: 2.5625rem;}
.new-content a { padding: 0.75rem 3.125rem; }
.languages a { padding: 0.75rem 2.125rem; }
.dropdown-content a { -webkit-padding-start: 1.375rem; }
.new-content a { -webkit-padding-start: 3rem;}
.languages a {-webkit-padding-start: 2.4375rem;}
article {margin-left: 0.25rem;}
body > main {
grid-area: main;
box-sizing: border-box; /* margin wo der test anfang */
padding: 0.4375rem; /* margin wo der test anfang , padding für den margin */
height: 100%;
}
body > aside {
grid-area: info;
display: block;
display: -ms-grid;
-ms-grid-column: 3;
-ms-grid-row: 3;
margin: 1px;
background-color: #d2f3c6;
margin-top: 3.75rem;
margin-left: 9.375rem;
}
/* contac big */
.mellat {padding-bottom: 7.5rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
/* link wechsel */
.link_change ul { list-style-type: none; }
.link_change li { display: inline; }
.link_change a {
display: inline;
text-decoration: none;
border: 0.0625rem solid gray;
background-color: green;
color: black;
padding: 0.5rem;
opacity: 0;
font-family: Times New Roman;
}
.link_change a:hover { background-color: #9f9e9e; }
.link_change a[aria-current=page] { background-color: #66ff66;}
#pages {
list-style-type: none;
margin-right: 0.625rem;
background-color: #ccffcc;
border-style: solid;
border-width: 0.0625rem;
padding: 0.5rem;
}
}
header {
grid-area: header;
background-image: url('Photo/bridge.webp');
background-repeat: no-repeat;
background-size: 100% auto;
width: 100%;
height: 8.75rem;
-ms-grid-column: 1/3;
-ms-grid-column-span: 3;
-ms-grid-row: 1;
}
nav {
grid-area: nav;
-ms-grid-column: 1/3;
-ms-grid-column-span: 3;
-ms-grid-row: 2;
background-color: #d2f5c4;
margin: 0.0625rem;
}
main {
grid-area: main;
display: block;
-ms-grid-column: 1/2;
-ms-grid-column-span: 2;
-ms-grid-row: 3;
background-color: #e1f2d9;
margin: 0.125rem;
margin-left: 1.1875rem;
}
/* Werbung Recht */
.drei {
grid-area: info;
display: block;
position: -webkit-sticky;
position: sticky;
top: 0;
width: 10rem;
height: 37.5rem;
margin-top: 3.75rem;
margin-left: 8.125rem;
}
/* Erste Link */
.erste {
display: inline;
width: 45.5rem;
height: 5.625rem;
margin-left: 1.25rem
}
footer {
grid-area: footer;
-ms-grid-column: 1;
-ms-grid-column-span: 3;
-ms-grid-row: 6;
-ms-grid-row-span: 6;
background-color: #99ee7a;
}
/*
##Device = Laptops, Desktops
##Screen = B/w 1025px to 1280px
@media (min-width: 64.0625em) and (max-width: 80em)
*/
@media (min-width: 64.0625em) and (max-width: 80em) {
body {
display: grid;
display: -ms-grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 10rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
-ms-grid-columns: 8% 64% 28%;
-ms-grid-row: 7.5rem 13.33rem 6.4375rem;
-ms-grid-gap: 0.3125rem;
}
body > main {
grid-area: main;
box-sizing: border-box; /* margin wo der test anfang */
padding: 0.4375rem; /* margin wo der test anfang , padding für den margin */
height: 100%;
}
body > aside {
grid-area: info;
display: block;
display: -ms-grid;
-ms-grid-column: 3;
-ms-grid-row: 3;
margin: 0.0625rem;
background-color: #d2f3c6;
margin-top: 7.5rem;
margin-left: 8.125rem;
}
article {margin-left: 0.25rem;}
nav a {
color: black;
text-decoration: none;
display: inline-block;
padding: 0.625rem 0.5rem 0.625rem;
font-size: 1.25rem;
font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, sans-serif;
}
.dropdown-content a {
font-size: 0.9375rem;
padding: 0.75rem 1.08rem;
}
.languag:hover .languages {top: 2.4375rem;}
.dropdown:hover .dropdown-content {top: 2.4375rem; }
.new-link:hover .new-content { top: 2.4375rem;}
.languages a {padding: 0.75rem 2.07rem;}
.new-content a { padding: 0.75rem 2.9rem; }
.dropdown-content a { -webkit-padding-start: 1rem; }
.new-content a { -webkit-padding-start: 2.8125rem;}
.languages a {-webkit-padding-start: 1.9rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
}
header {
grid-area: header;
background-image: url('Photo/bridge.webp');
background-repeat: no-repeat;
background-size: 100% auto;
width: 100%;
height: 8.75rem;
-ms-grid-column: 1/3;
-ms-grid-column-span: 3;
-ms-grid-row: 1;
}
nav {
grid-area: nav;
-ms-grid-column: 1/3;
-ms-grid-column-span: 3;
-ms-grid-row: 2;
background-color: #d2f5c4;
margin: 0.0625rem;
}
main {
grid-area: main;
display: block;
-ms-grid-column: 1/2;
-ms-grid-column-span: 2;
-ms-grid-row: 3;
background-color: #e1f2d9;
margin: 0.125rem;
margin-left: 1.1875rem;
}
/* linke werbung */
.drei {
display: block;
position: -webkit-sticky;
position: sticky;
top: 0;
width: 10rem;
height: 37.5rem;
margin-top: 1.5625rem;
margin-left: 1.875rem;
}
/* Erste werbung */
.erste {
display: inline;
width: 45.5rem;
height: 5.625rem;
margin-left: 1.25rem;
}
footer {
grid-area: footer;
-ms-grid-column: 1;
-ms-grid-column-span: 3;
-ms-grid-row: 6;
-ms-grid-row-span: 6;
background-color: #99ee7a;
}
/*
##Device = Tablets, Ipads (portrait)
##Screen = B/w 768px to 1024px
@media (min-width: 48em) and (max-width: 64em)
*/
@media only screen and (min-width: 48em)
and (max-width: 64em)
and (orientation: portrait) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 13rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
body > main {
grid-area: main;
height: 100%;
margin: 0.0625rem;
}
body > main {
grid-area: main;
box-sizing: border-box; /* margin wo der test anfang */
padding: 0.5rem; /* margin wo der test anfang , padding für den margin */
font-size: 1rem;
margin-right: 0.125rem;
margin-left: 1.1875rem;
}
article {margin-left: 0.25rem;}
header {
grid-area: header;
background-image: url('/Photo/bridge.webp');
background-repeat: no-repeat;
background-size: 100% auto;
width: 100%;
height: 5.625rem;
margin-bottom: 0.125rem;
}
nav a { font-size: 1.125rem; }
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0rem 0rem 0.5625rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0.0625rem 0rem 0.625rem;}
/* new-links */
.dropdown-content a {
font-size: 0.89rem;
padding: 0.625rem 0.8rem;
}
.dropdown:hover .dropdown-content {top: 1.875rem; }
.new-link:hover .new-content { top: 1.875rem;}
.languag:hover .languages {top: 1.875rem;}
.link_change ul {margin-left: 12.5rem;}
.new-content a { padding: 0.75rem 2.7rem; font-size: 0.89rem;}
.languages a { padding: 0.75rem 1.8rem; font-size: 0.89rem; }
.dropdown-content a { -webkit-padding-start: 0.98rem;}
.new-content a { -webkit-padding-start: 2.8rem;}
.languages a {-webkit-padding-start: 2rem;}
#name {font-size: 0.55rem; }
#email {font-size: 0.55rem;}
#text {font-size: 0.8rem;}
#comment {font-size: 0.5rem;}
.bild { width: 7.5rem; height: 2.375rem; }
/* Werbung Recht */
body > aside {
grid-area: info;
display: block;
margin: 0.062rem;
background-color: #d2f3c6;
margin-top: 1em;
margin-left: 4.6875rem;
}
/* Recht */
.ipad-lange {
grid-area: info;
display: block;
position: -webkit-sticky;
position: sticky;
top: 0;
width: 7.5rem;
height: 37.5rem;
margin-top: 0.3125rem;
margin-left: 0.3125rem;
}
/* Werbung Links */
.erste {display: none;}
.drei {display: none; }
.seste {display: none;}
.siebte {
display: none;
width: 36.25rem;
height: 5.625rem;
margin-left: 0.625rem;
}
/* link wechsel */
.a {background-color: #f0f8ec;}
.link_change ul { list-style-type: none; }
.link_change li { display: inline; }
.link_change a {
display: inline;
text-decoration: none;
border: 0.0625rem solid gray;
background-color: green;
color: black;
padding: 0.5rem;
opacity: 0;
font-family: Times New Roman;
}
.link_change a:hover { background-color: #9f9e9e; }
.link_change a[aria-current=page] { background-color: #66ff66;}
#pages {
list-style-type: none;
margin-right: 0.625rem;
background-color: #ccffcc;
border-style: solid;
border-width: 0.0625rem;
padding: 0.5rem;
}
}
/*
##Device = Tablets, Ipads (landscape)
##Screen = B/w 768px to 1023px
*/
@media (min-width: 48em) and (max-width: 64em) and (orientation: landscape) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 16rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
header {
grid-area: header;
background-image: url('/Photo/bridge.webp');
background-repeat: no-repeat;
background-size: 100% auto;
width: 100%;
height: 6.25rem;
margin-bottom: 0.125rem;
}
body > main {
grid-area: main;
height: 100%;
margin: 0.125rem;
}
body > main {
grid-area: main;
box-sizing: border-box; /* margin wo der test anfang */
padding: 0.5rem; /* margin wo der test anfang , padding für den margin */
margin-left: 1.1875rem;
font-size: 1rem;
margin-right: 0.125rem;
}
body > aside {
grid-area: info;
display: block;
margin: 0.062rem;
background-color: #d2f3c6;
margin-top: 1em;
margin-left: 6rem;
}
article {margin-left: 0.25rem;}
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0rem 0rem 0.5625rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0.0625rem 0rem 12.5rem;}
nav a { font-size: 1.25rem; }
/* new-links */
.dropdown-content a {
padding: 0.625rem 1.0625rem;
font-size: 0.9375rem;
}
.dropdown:hover .dropdown-content {top: 1.875rem; }
.new-link:hover .new-content { top: 1.875rem;}
.languag:hover .languages {top: 1.875rem;}
.link_change ul {margin-top: 1.25rem;}
.new-content a { padding: 0.75rem 3.1rem; font-size: 0.9375rem;}
.languages a { padding: 0.75rem 2.1875rem; font-size: 0.9375rem; }
.dropdown-content a { -webkit-padding-start: 1rem;}
.new-content a { -webkit-padding-start: 2.9rem;}
.languages a {-webkit-padding-start: 2.1rem;}
#name {font-size: 0.8rem;}
#email {font-size: 0.8rem;}
#text {font-size: 1.0rem;}
.bild {
width: 7.5rem;
height: 2.375rem;
}
/* Werbung */
.drei {
grid-area: info;
display: block;
position: -webkit-sticky;
position: sticky;
top: 0;
width: 10rem;
height: 37.5rem;
margin-top: 1.25rem;
margin-left: 0.9375rem;
}
.erste {display: none;}
.siebte {display: none;}
.ipad-lange { display: none; }
.seste {
display: none;
width: 36.25rem;
height: 5.625rem;
margin-left: 1.25rem;
}
}
/*
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/
@media only screen and (min-width: 41.75em) and (max-width: 47.9375em) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 7rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
body > header { grid-area: header; background-image: url('/Photo/bridge.webp'); background-size: 100% auto; width: 100%; height: 5rem; }
body > main {grid-area: main; display: block; padding: 0.3125rem; margin-top: 0.0625rem; margin-left: 0.375rem; }
body > main { height: 100%;}
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0rem 0rem 0rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0rem 0rem 2rem; }
nav {grid-area: nav; background-color: #d2f5c4; margin: 0.0625rem; }
nav a {font-size: 1rem;}
body > footer { grid-area: footer; display: inline; background-color: #99ee7a;}
#copry { grid-area: footer; overflow: auto; margin-top: 0.625rem; }
#copry p {font-size: 0.875rem; }
.bild { width: 6.5625rem; height: 2.1875rem;}
.dropdown-content a { font-size: 0.875rem; padding: 0.6rem 0.72rem;}
.dropdown:hover .dropdown-content {top: 1.6875rem; }
.new-link:hover .new-content { top: 1.6875rem;}
.languag:hover .languages {top: 1.6875rem;}
.new-content a { padding: 0.75em 2.45rem; font-size: 0.875rem;}
.languages a { padding: 0.75em 1.67rem; font-size: 0.875rem;}
.dropdown-content a { -webkit-padding-start: 0.7rem;}
.new-content a { -webkit-padding-start: 2.45rem;}
.languages a {-webkit-padding-start: 1.67rem;}
article {margin-left: 0.125rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
.smartphone-breit {display: none;}
.drei {display: none;}
.erste {display: none;}
}
/* für iPhone 6/7/8 766,4px x 375px */
@media only screen and (max-width: 47.9em)
and (min-width: 23.4375em)
and (orientation: landscape) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 9rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
body > header { grid-area: header; background-image: url('/Photo/bridge.webp'); background-size: 100% auto; width: 100%; height: 5rem; }
body > main {grid-area: main; display: block; padding: 0.3125rem; margin-top: 0.0625rem; margin-left: 0.375rem; }
body > main { height: 100%;}
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0.625rem 0rem 0.125rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0.0625rem 0rem 1.125rem; }
nav {grid-area: nav; background-color: #d2f5c4; margin: 0.0625rem; }
nav a {font-size: 1rem;}
body > footer { grid-area: footer; display: inline; background-color: #99ee7a;}
#copry { grid-area: footer; overflow: auto; margin-top: 10px; }
#copry p {font-size: 1rem; }
.bild { width: 6.5625rem; height: 2.1875rem;}
.dropdown-content a { font-size: 0.875rem; padding: 0.6rem 0.74rem;}
.dropdown:hover .dropdown-content {top: 1.6875rem; }
.new-link:hover .new-content { top: 1.6875rem;}
.languag:hover .languages {top: 1.6875rem;}
.new-content a { padding: 0.75rem 2.43rem; font-size: 0.875rem;}
.languages a { padding: 0.75rem 1.6rem; font-size: 0.875rem;}
.dropdown-content a { -webkit-padding-start: 0.7rem;}
.new-content a { -webkit-padding-start: 2.4rem;}
.languages a {-webkit-padding-start: 1.7rem;}
article {margin-left: 0.125rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
.smartphone-breit {display: none;}
.drei {display: none;}
.erste {display: none;}
}
/* kleine smartphone Landscape 640px x 319px kleine als Galaxy S5 */
@media only screen and (max-width: 40em) and (orientation: landscape) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 4rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
body > header { grid-area: header; background-image: url('/Photo/bridge.webp'); background-size: 100% auto; width: 100%; height: 4rem; }
body > main {grid-area: main; display: block; padding: 0.3125rem; margin-top: 0.0625rem; margin-left: 0.375rem; }
body > main { height: 100%;}
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0rem 0rem 0.125rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0rem 0rem 0rem; }
nav {grid-area: nav; background-color: #d2f5c4; margin: 0.0625rem;}
nav a {font-size: 1rem;}
body > footer { grid-area: footer; display: inline; background-color: #99ee7a; }
#img1 {float: left; margin-top: 0.0625rem;}
#copry { grid-area: footer; overflow: auto; margin-top: 0.625rem; }
#img1 {float: left; margin-top: 0.0625rem;}
.bild { width: 3.4375rem; height: 1.875rem;}
.dropdown-content a { padding: 0.625rem 0.9rem; font-size: 0.8rem; }
.new-content a { padding: 0.75rem 2.52rem; font-size: 0.8rem;}
.languages a { padding: 0.75rem 1.77rem; font-size: 0.8rem;}
.dropdown-content a { -webkit-padding-start: 0.9rem;}
.new-content a { -webkit-padding-start: 2.5rem;}
.languages a {-webkit-padding-start: 1.7rem;}
.dropdown:hover .dropdown-content {top: 1.5rem; }
.new-link:hover .new-content { top: 1.5rem;}
.languag:hover .languages {top: 1.5rem;}
article {margin-left: 0.125rem; }
.link_change {font-size: 0.5rem; padding-left: 0.3125rem;}
#pages li { padding-bottom: 7.8125rem; }
#name {font-size: 0.3rem;}
#email {font-size: 0.3rem;}
#text {font-size: 0.4rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
.smartphone-breit {display: none;}
.drei {display: none;}
.erste {display: none;}
#book { display: none; }
}
/* iphone 5 und kleine 528px */
@media only screen and (max-width: 33em) and (orientation: landscape) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 8rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
body > header { grid-area: header; background-image: url('/Photo/bridge.webp'); background-size: 100% auto; width: 100%; height: 3.75rem; }
body > main {grid-area: main; display: block; padding: 0.3125rem; margin-top: 0.0625rem; margin-left: 0.375rem; }
body > main { height: 100%;}
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0.125rem 0rem 0.125rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0.0625rem 0rem 0.375rem; }
nav {grid-area: nav; background-color: #d2f5c4; margin: 0.0625rem; }
nav a {font-size: 0.9375rem;}
body > footer { grid-area: footer; display: inline; background-color: #99ee7a;}
#copry { grid-area: footer; overflow: auto; margin-top: 0.625rem; }
#copry p {font-size: 0.8125rem; }
.bild { width: 6.5625rem; height: 2.1875rem;}
.dropdown-content a { padding: 0.625rem 0.6rem; font-size: 0.875rem; }
.new-content a { padding: 0.75rem 2rem; font-size: 0.875rem;}
.languages a { padding: 0.75rem 1.23rem; font-size: 0.875rem;}
.dropdown:hover .dropdown-content {top: 1.6875rem; }
.new-link:hover .new-content { top: 1.6875rem; }
.languag:hover .languages {top: 1.6875rem; }
.dropdown-content a { -webkit-padding-start: 0.6rem;}
.new-content a { -webkit-padding-start: 2rem;}
.languages a {-webkit-padding-start: 1.2rem;}
article {margin-left: 0.125rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
.smartphone-breit {display: none;}
.drei {display: none;}
.erste {display: none;}
#book { display: none; }
}
/* ich selb gebaut 767px x 481px iPhone 6/7/8 */
@media only screen and (max-width: 30.0625em) and (orientation: portrait) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 4rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
body > header { grid-area: header; background-image: url('/Photo/bridge.webp'); background-size: 100%; width: 100%; height: 2.5rem; }
body > main {grid-area: main; display: block; padding: 0.3125rem; margin-top: 0.0625rem; margin-left: 0.375rem; }
body > main { height: 100%;}
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0rem 0rem 0.125rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0rem 0rem 0.5rem; }
nav {grid-area: nav; background-color: #d2f5c4; margin: 0.0625rem; }
nav a {font-size: 1rem;}
body > footer { grid-area: footer; display: inline; background-color: #99ee7a; }
#img1 {float: left; margin-top: 0.0625rem;}
#copry { grid-area: footer; overflow: auto; margin-top: 0.625rem; }
#img1 {float: left; margin-top: 0.0625rem;}
.bild { width: 3.4375rem; height: 1.875rem;}
.dropdown-content a { padding: 0.625rem 1.05em; font-size: 0.8125rem; }
.dropdown-content a { -webkit-padding-start: 0.9rem;}
.dropdown:hover .dropdown-content {top: 1.7rem; }
article {margin-left: 2px;}
#name {font-size: 0.3rem;}
#email {font-size: 0.3rem;}
#text {font-size: 0.4rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
.smartphone-breit {display: none;}
.drei {display: none;}
.erste {display: none;}
#book { display: none; }
.languag {display: none; }
.new-link {display: none; }
}
/* iphone 5 galaxy S5 */
@media only screen and (max-width: 23em) and (orientation: portrait) {
body {
display: grid;
background-color: #eaf6e5;
grid-row-gap: 0.3125rem;
grid-template:
"header header header" auto
"nav nav nav" auto
"main main werb" 4rem
"main main gap1" auto
"main main info" 1fr
"footer footer footer" auto / 8% 64% 28%;
}
body > header { grid-area: header; background-image: url('/Photo/bridge.webp'); background-size: 100%; width: 100%; height: 2.2rem; }
body > main {grid-area: main; display: block; padding: 0.3125rem; margin-top: 0.0625rem; margin-left: 0.375rem; }
body > main { height: 100%;}
nav ul {list-style-type: none; flex: 1 0 auto; padding: 0rem 0rem 0rem 0.3rem;}
nav ul:nth-of-type(2) { text-align: left; padding: 0rem 0.9rem 0rem 0rem; }
nav {grid-area: nav; background-color: #d2f5c4; margin: 0.0625rem; }
nav a {font-size: 0.84rem;}
body > footer { grid-area: footer; display: inline; background-color: #99ee7a; }
#img1 {float: left; margin-top: 0.0625rem;}
#copry { grid-area: footer; overflow: auto; margin-top: 0.625rem; }
#img1 {float: left; margin-top: 0.0625rem;}
.bild { width: 3.4375rem; height: 1.875rem;}
.dropdown-content a { padding: 0.625rem 0.69em; font-size: 0.8125rem; }
.dropdown-content a { -webkit-padding-start: 0.57rem;}
.dropdown:hover .dropdown-content {top: 1.7rem; }
article {margin-left: 2px;}
#name {font-size: 0.3rem;}
#email {font-size: 0.3rem;}
#text {font-size: 0.4rem;}
.seste {display: none;}
.siebte{display: none; }
.erste-unten {display: none; }
.ipad-lange {display: none; }
.smartphone-breit {display: none;}
.drei {display: none;}
.erste {display: none;}
#book { display: none; }
.languag {display: none; }
.new-link {display: none; }
}
Also see: Tab Triggers