Fix padding on code blocks

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-12-22 19:14:17 +05:30
parent ec4de81144
commit cfd2152d31
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
2 changed files with 75 additions and 3 deletions

View file

@ -513,10 +513,22 @@ video {
--tw-backdrop-sepia: ;
}
.visible {
visibility: visible;
}
.collapse {
visibility: collapse;
}
.fixed {
position: fixed;
}
.relative {
position: relative;
}
.bottom-4 {
bottom: 1rem;
}
@ -533,6 +545,14 @@ video {
margin-right: 1rem;
}
.mt-0 {
margin-top: 0px;
}
.mr-6 {
margin-right: 1.5rem;
}
.block {
display: block;
}
@ -541,16 +561,44 @@ video {
display: flex;
}
.table {
display: table;
}
.contents {
display: contents;
}
.hidden {
display: none;
}
.h-12 {
height: 3rem;
}
.w-10 {
width: 2.5rem;
}
.w-screen {
width: 100vw;
}
.w-10\/12 {
width: 83.333333%;
}
.w-screen {
width: 100vw;
.border-collapse {
border-collapse: collapse;
}
.transform {
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize {
resize: both;
}
.flex-col {
@ -565,6 +613,10 @@ video {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.space-y-12 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
@ -593,6 +645,18 @@ video {
background-color: rgb(39 39 42 / var(--tw-bg-opacity));
}
.p-6 {
padding: 1.5rem;
}
.p-2 {
padding: 0.5rem;
}
.text-center {
text-align: center;
}
.text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
@ -622,6 +686,14 @@ video {
color: rgb(156 163 175 / var(--tw-text-opacity));
}
.underline {
text-decoration-line: underline;
}
.outline {
outline-style: solid;
}
.hover\:underline:hover {
text-decoration-line: underline;
}

View file

@ -11,7 +11,7 @@
<div class="flex flex-col items-center space-y-12">
<h2 class="text-3xl font-bold text-gray-300">Obsolute Paste</h2>
{% block content %}
<pre class="w-10/12 text-gray-100 border border-solid border-emerald-200 rounded bg-zinc-800p-2" id="pastecontent"> {{paste_content}} </pre>
<pre class="w-10/12 text-gray-100 border border-solid border-emerald-200 rounded bg-zinc-800 p-2" id="pastecontent"> {{paste_content}} </pre>
{% endblock content %}
</div>
<br/>