routes/index.js - Übergabe der Einheiten views/leayout.pug - Übernahme der Einheiten package.json "version": "1.1.0", "date": "2023-05-14", public/javascript/script.js - glob. Variable für Einheiten - Einheiten einlesen bei Click - Anzeige der Einheiten - bei init Einheiten auf 0 public/stylesheets/style.css - Anpassungen wg. Einheiten
80 lines
1.6 KiB
CSS
80 lines
1.6 KiB
CSS
body {
|
|
padding: 30px;
|
|
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
a {
|
|
color: #00B7FF;
|
|
}
|
|
|
|
.spritztab #sptab {
|
|
width: 91vmin;
|
|
height: 65vmin;
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 0;
|
|
margin: 30px auto;
|
|
}
|
|
|
|
.spritztab h1 {
|
|
text-align: center;
|
|
margin-top: 50px;
|
|
font-size: 500%;
|
|
}
|
|
|
|
.spritztab h2 {
|
|
text-align: center;
|
|
font-size: 300%;
|
|
}
|
|
|
|
.spritztab button {
|
|
width: 13vmin;
|
|
height: 13vmin;
|
|
background: white;
|
|
border: 1px solid black;
|
|
margin: 0;
|
|
font-size: 200%;
|
|
color: black;
|
|
}
|
|
|
|
.spritztab [aria-label="o"] {
|
|
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201%201%22%3E%3Ccircle%20cx%3D%220.5%22%20cy%3D%220.5%22%20r%3D%220.4%22%20fill%3D%22none%22%20stroke-width%3D%220.1%22%20stroke%3D%22blue%22%2F%3E%3C%2Fsvg%3E');
|
|
}
|
|
|
|
.spritztab [aria-label="x"] {
|
|
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201%201%22%3E%3Cline%20x1%3D%220.1%22%20y1%3D%220.1%22%20x2%3D%220.9%22%20y2%3D%220.9%22%20stroke-width%3D%220.1%22%20stroke%3D%22red%22%2F%3E%3Cline%20x1%3D%220.1%22%20y1%3D%220.9%22%20x2%3D%220.9%22%20y2%3D%220.1%22%20stroke-width%3D%220.1%22%20stroke%3D%22red%22%2F%3E%3C%2Fsvg%3E');
|
|
}
|
|
|
|
.small {
|
|
font-size: 60%;
|
|
color: gray;
|
|
}
|
|
|
|
#infeld {
|
|
width: 91vmin;
|
|
margin: auto;
|
|
font-size: 200%;
|
|
}
|
|
|
|
#einheiten {
|
|
font-size: 130%;
|
|
margin-left: 30px;
|
|
}
|
|
|
|
footer {
|
|
width: 91vmin;
|
|
margin: auto;
|
|
}
|
|
#v {
|
|
text-align: right;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
#lowline {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#eh {
|
|
color: black;
|
|
} |