Es wurde an die Darstellung auf einen iPhone bzw. ähnlichen Geräten angepasst.

This commit is contained in:
2021-04-14 17:10:01 +02:00
parent 338c3ce5e4
commit b74e9bbd69
2 changed files with 53 additions and 15 deletions
+46 -7
View File
@@ -137,6 +137,7 @@
width: @breiteNavBereich;
}
}
@media screen and (max-width: 830px) {
html body {
@boxHeight: 5rem;
@@ -145,19 +146,21 @@
font-size: @boxHeight;
text-align: center;
padding: 1rem;
}
& > footer {
padding: 1rem;
}
& > nav {
background: none;
left:auto;
ul {
li {
display: inline-block;
border: none;
width: auto;
a {
padding: 0.75rem;
}
height: 1.5em;
padding-top: 0.25em;
a {
padding: 0.75rem;
}
&:not(:first-child) {
border-left: none;
}
@@ -184,6 +187,7 @@
@formLabelWidth: 10rem;
@formItemWidth: 40rem;
@sectionMargin: 1rem;
margin: @sectionMargin;
fieldset {
width: auto;
margin: 1rem auto;
@@ -262,6 +266,41 @@
}
}
}
@media screen and (max-width: 720px) {
html body {
@boxHeight: 2.5rem;
& > header {
height: @boxHeight;
font-size: @boxHeight;
text-align: center;
padding: 1rem;
}
& > nav {
.hamburgerMenu();
}
main section header {
h1, h2 {
text-align: center;
margin: 0.5rem auto;
}
}
table {
width: 100%;
margin: 1rem 0;
td, th {
padding: 0.25rem;
}
colgroup:not(:first-child) col:first-child{
border-left: solid thin;
}
thead {
th {
font-size: 100%;
font-weight: bold;
.hyphens();
}
}
}
}
}