Skip to content

Commit 2df893c

Browse files
committed
optimize mobile view
1 parent efce32f commit 2df893c

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

Mathematics/Stoffsammlung/LineareGlgnInX.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<title>Math.js Gleichungsrechner</title>
66
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/11.11.0/math.min.js"></script>
77
<!-- Carefully take https://mathjs.org/examples/algebra.js.html as a documentation.-->
8+
<link rel="stylesheet" href="styles/math.css">
89
<style>
910
body {
1011
font-family: sans-serif;
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* Small screen / tablet / 760px to 991px */
2+
@media (max-width: 991px) {
3+
font-size:2em;
4+
}
5+
6+
/* Smaller screen / tablet+phone / 480px to 759px */
7+
@media (max-width: 759px) {
8+
font-size:2em;
9+
}
10+
11+
/* Extra small screen / smartphone / 280px to 479px */
12+
@media (max-width: 479px) {
13+
font-size:2em;
14+
}
15+
/* Font for all */
16+
/**{font-family:Aptos,sans-serif}*/
17+
*{font-family: Bierstadt, Tahoma, Helvetica, sans-serif;}
18+
19+
div {
20+
padding-top:1em;
21+
padding-bottom:1em;
22+
margin:2em;
23+
}
24+
button, img, .img-lost{
25+
margin-left:1em;
26+
}
27+
input{
28+
margin-right:1em;
29+
}

0 commit comments

Comments
 (0)