mirror of
https://github.com/Matewoo/pdf-writer.git
synced 2026-11-18 18:42:50 +01:00
minor formatting
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
h1 {
|
h1 {
|
||||||
color: #a81411;
|
color: #a81411;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
font-weight: 300;
|
font-weight: 400;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ function loadDay(day) {
|
|||||||
<hr>
|
<hr>
|
||||||
`).join('')}
|
`).join('')}
|
||||||
<p class="category">— Tagessuppe</p>
|
<p class="category">— Tagessuppe</p>
|
||||||
<p class="main">Kürbiscremesuppe</p>
|
<p class="main"></p>
|
||||||
<p class="price"><i>Großer Teller 4,00 € / Kleiner Teller 2,00 €</i></p>
|
<p class="price"><i>Großer Teller 4,00 € / Kleiner Teller 2,00 €</i></p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ function startScrolling() {
|
|||||||
const contentHeight = tickerContents[0].offsetHeight;
|
const contentHeight = tickerContents[0].offsetHeight;
|
||||||
|
|
||||||
function scroll() {
|
function scroll() {
|
||||||
currentPosition -= 0.5;
|
currentPosition -= 0.4;
|
||||||
|
|
||||||
if (Math.abs(currentPosition) >= contentHeight) {
|
if (Math.abs(currentPosition) >= contentHeight) {
|
||||||
currentPosition = 0;
|
currentPosition = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user