This commit is contained in:
S170H
2023-10-19 22:36:53 +02:00
parent 826fb3ae54
commit 4b85661745
2 changed files with 56 additions and 4 deletions

View File

@@ -4,7 +4,59 @@
<meta charset="UTF-8">
<title>CSS Übung</title>
<style>
body {
font-family: Arial;
}
a {
color: darkorange;
font-weight: bold;
text-decoration-line: none;
}
p.center {
text-align: center;
}
table {
border: 3px solid #ecc3a4;
margin-left: auto;
margin-right: auto;
}
td {
border: 3px solid white;
}
thead tr th {
background: #faebd7;
}
tbody tr:nth-child(even) {
background: #faebd7;
}
ol {
line-height: 40px;
}
footer {
border-top: 3px solid #ecc3a4;
}
ul {
float: right;
}
ul li {
display: inline;
padding-left: 20px;
padding-right: 20px;
}
ul li:not(:first-child) {
border-left: 3px solid #ecc3a4;
}
</style>
</head>
<body>

View File

@@ -2,20 +2,20 @@
<html lang="en">
<head>
<style>
h1 {
body {
font-family: Arial;
}
h1 {
text-decoration-line: underline;
}
.untertitel {
font-family: Arial;
font-style: italic;
}
.haupt {
font-family: Arial;
font-weight: bold;
}
.beilage {
font-family: Arial;
font-weight: normal;
color: green;
}