Skalande ASCII skisser
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
02c300acf9
commit
3e8831d1e5
|
@ -1,16 +1,14 @@
|
||||||
.ascii-wrapper {
|
.ascii-wrapper {
|
||||||
width: 100%;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
text-align: center; /* centrerar inline-block-barnet */
|
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ascii-wrapper pre {
|
.ascii-wrapper pre {
|
||||||
display: inline-block; /* gör så att max-width fungerar */
|
font-size: clamp(0.4rem, 1.2vw + 0.2rem, 1rem);
|
||||||
max-width: 100%;
|
|
||||||
font-size: clamp(0.4rem, 1.2vw + 0.10rem, 1rem); /* skalar mjukt från små till stora skärmar */
|
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
white-space: pre;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
white-space: pre;
|
||||||
}
|
}
|
Loading…
Reference in New Issue