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