Fixar skalningen
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7dafefa7df
commit
0603532f1a
|
@ -12,8 +12,24 @@
|
||||||
font-size: clamp(0.4rem, 1.2vw + 0.2rem, 0.75rem);
|
font-size: clamp(0.4rem, 1.2vw + 0.2rem, 0.75rem);
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
WIDTH: 100%;
|
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
color: #0f0; /* Valfritt, men ser ofta snyggt ut */
|
color: #0f0; /* Valfritt, men ser ofta snyggt ut */
|
||||||
background: transparent; /* Viktigt så du inte får en mindre bakgrund */
|
background: transparent; /* Viktigt så du inte får en mindre bakgrund */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ascii-wrapper {
|
||||||
|
position: relative;
|
||||||
|
left: 50%;
|
||||||
|
right: 50%;
|
||||||
|
margin-left: -50vw;
|
||||||
|
margin-right: -50vw;
|
||||||
|
width: 100vw;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
overflow-x: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
padding: 1rem 0;
|
||||||
|
background-color: var(--md-code-bg-color); /* eller t.ex. #000 för svart */
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
Loading…
Reference in New Issue