WEB-Team-A4/public/css/desktop.css

362 lines
5.7 KiB
CSS
Raw Normal View History

2023-04-24 17:04:22 +02:00
* {
2023-04-21 09:31:06 +02:00
box-sizing: border-box;
2023-04-24 17:04:22 +02:00
font-family: Helvetica, Arial, sans-serif;
2023-04-21 09:31:06 +02:00
}
body {
2023-04-24 17:04:22 +02:00
min-height: 100vh;
padding: 0;
2023-04-21 09:31:06 +02:00
}
body::-webkit-scrollbar {
2023-04-24 17:04:22 +02:00
width: 10px
2023-04-21 09:31:06 +02:00
}
body::-webkit-scrollbar-track {
background-color: white;
}
body::-webkit-scrollbar-thumb {
background: #476B1C;
}
2023-04-24 17:04:22 +02:00
header {
background-color: #9BB558;
}
header > h1 {
2023-04-30 12:05:53 +02:00
padding-top: 0.1em;
2023-04-24 17:04:22 +02:00
padding-left: 7em;
margin: 0;
2023-04-30 12:05:53 +02:00
font-size: 1.875em;
2023-04-24 17:04:22 +02:00
}
header > p {
padding-left: 17.6em;
2023-04-30 12:05:53 +02:00
margin-top: 0em;
margin-bottom: 0.5em;
font-size: 0.75em;
2023-04-24 17:04:22 +02:00
}
.header_logo {
float: left;
2023-04-30 12:05:53 +02:00
margin-top: -18px;
margin-bottom: -20px;
margin-left: -20px;
transform: scale(0.8);
2023-04-24 17:04:22 +02:00
}
.navbar {
background-color: #476B1C;
display: grid;
grid-template-columns: repeat(var(--items), 1fr);
width: 100%;
}
.navbar a {
text-align: center;
text-decoration: none;
color: white;
padding: 0.5em 0 0.5em 0;
}
2023-04-29 17:58:47 +02:00
.aktuell a {
color: #f4eb49;
}
2023-04-24 17:04:22 +02:00
.content {
2023-04-21 09:31:06 +02:00
position: relative;
2023-04-30 12:05:53 +02:00
color: black;
2023-04-21 09:31:06 +02:00
}
2023-04-24 17:04:22 +02:00
.content p {
margin-top: 0.1em;
margin-bottom: 0.1em;
}
.content :not(h1, strong) {
margin-left: 3.5em;
2023-04-30 12:05:53 +02:00
color: #606060;
2023-04-24 17:04:22 +02:00
}
.content h1 {
text-align: center;
2023-04-30 12:05:53 +02:00
font-size: 1.875em;
font-weight: normal;
margin-top: 0;
2023-04-24 17:04:22 +02:00
}
.content h2 {
2023-04-30 12:05:53 +02:00
font-size: 1em;
2023-04-24 17:04:22 +02:00
text-align: center;
}
2023-04-30 12:05:53 +02:00
.content a {
margin-left: 0em;
}
2023-04-24 17:04:22 +02:00
html body.index .content::before,
html body.datenschutz .content::before,
html body.ueberuns .content::before,
html body.kontakt .content::before,
html body.impressum .content::before{
2023-04-21 09:31:06 +02:00
content: "";
background-image: url('../pictures/gemuese_transparent.png');
2023-04-21 09:31:06 +02:00
background-repeat: no-repeat;
2023-04-29 17:58:47 +02:00
background-position: center top;
2023-04-21 09:31:06 +02:00
position: absolute;
overflow: auto;
2023-04-21 09:31:06 +02:00
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
opacity: 0.2;
pointer-events: none;
2023-04-21 09:31:06 +02:00
}
#aktuelle_auswahl {
2023-04-30 12:05:53 +02:00
margin-left: 2.7em;
margin-bottom: -0.5em;
font-size: 1em;
2023-04-21 09:31:06 +02:00
}
.beispiel_produkte img {
border: #606060 1px solid;
2023-04-30 12:05:53 +02:00
height: 160px;
width: 150px;
margin-top: 1em;
margin-left: 2em;
2023-04-21 09:31:06 +02:00
}
2023-04-30 12:05:53 +02:00
#button_produkte {
2023-04-21 09:31:06 +02:00
background-color: #476B1C;
color: white;
padding: 5px 20px;
border-radius: 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1em;
cursor: pointer;
2023-04-30 12:05:53 +02:00
margin-left: -1em;
2023-04-21 09:31:06 +02:00
}
#balken {
background-color: #9BB558;
height: 20px;
position: relative;
left: 0;
bottom: 0;
width: 100%;
2023-04-24 18:07:35 +02:00
}
input {
font-family: Arial, Helvetica, sans-serif;
color: #606060
}
label {
font-weight: normal;
border: none;
}
#anrede,
#titel,
#vorname,
#name,
#straße,
#hausnummer,
#plz,
#wohnort,
#email {
border: none;
width:600px;
}
.bestellung_tabelle {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
color: #606060;
text-align: left;
margin-top:30px;
margin-left: 50px;
border: thin solid #606060;
border-collapse: collapse;
}
.bestellung_tabelle th {
border: thin solid #606060;
}
.bestellung_tabelle td {
border: thin solid #606060;
width: 600px;
2023-04-24 18:07:35 +02:00
}
.bestellung_tabelle tr{
height: 25px;
}
.stern {
width: 30px;
text-align: center;
}
.feld_vorn {
width: 115px;
}
#tabellenbeschreibung{
font-size: 0.8em;
margin-top: 6px;
margin-left: 60px;
}
#gesamtkosten{
font-size: 1em;
color: black;
margin-top: 40px;
margin-left: 50px;
}
.checkboxen{
display: inline-block;
font-size: 0.8em;
text-align:justify;
}
.checkbox_ausrichtung{
margin-left: 50px;
}
#begrueßung_bestellung_abschließen{
font-size: 2em;
font-family: Arial, Helvetica, sans-serif;
color: black;
text-align: center;
margin-top: 0.5px;
}
.button_abschließen{
background-color: #476B1C;
color: white;
padding: 3px 10px;
border-radius: 6px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 0.8em;
margin: 4px 2px;
cursor: pointer;
font-weight: normal;
}
.button_abschließen_position{
margin-left: 100px;
}
.produktueberschrift{
text-align: center;
margin:50px;
}
.parent{
display: flex;
justify-content: space-around;
flex-wrap:wrap;
align-content: center;
}
.produkte{
display: flex;
border:#606060 3px solid;
display: inline-block;
margin: 25px;
}
.produktbottom{
justify-content: space-between;
display: flex;
margin:10px;
}
.produkte_warenkorb{
position: relative;
max-width: 88%;
height: 165px;
border: thin solid #606060;
margin-top: 22.5px;
margin-bottom: 22.5px;
display: flex;
align-items: center;
}
.produkte_warenkorb img {
margin-right: -60px;
height:60%;
}
.produkte_details {
width: 150px;
display: block;
font-size: 0.8em;
margin-top: -40px;
}
.button_mit_menue{
display: flex;
align-items: center;
position:absolute;
bottom: 50px;
right: 30px;
}
.button_entfernen{
background-color: #ebebeb;
border: thin solid black;
color: black;
width: 115px;
height: 31px;
padding: 6px;
border-radius: 3px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 0.8em;
margin: 4px 2px;
cursor: pointer;
font-weight: normal;
}
#menue{
width: 35px;
height: 25px;
margin-left: 10px;
}
.gesamtbetrag{
position: absolute;
font-size: 1em;
bottom: 15px;
right: 15px;
2023-04-29 17:58:47 +02:00
}
a:hover{
color: #f4eb49;
2023-04-30 12:05:53 +02:00
}
.gesamtbetrag{
position: absolute;
font-size: 1em;
bottom: 15px;
right: 15px;
}
.foodampel {
display: flex;
align-items: top;
}
.foodampel img {
height: 120px;
margin-left: -0.7em;
}
.foodampel p {
margin-left: 0.65em;
margin-top: 0.8em;
}
#hinweis{
color: red;
}