fixed codeblocks

This commit is contained in:
Jesse James Isler 2022-03-28 13:55:16 +02:00
parent 259c9377b2
commit 53947c16ed
2 changed files with 7 additions and 1 deletions

View File

@ -11,3 +11,9 @@ html {
.blurry { .blurry {
backdrop-filter: blur(7px) !important; backdrop-filter: blur(7px) !important;
} }
pre code {
background-color: #eee;
border: 1px solid #999;
display: block;
padding: 20px;
}

View File

@ -59,7 +59,7 @@
<div class="card-content grey lighten-4 black-text"> <div class="card-content grey lighten-4 black-text">
<div id="'.$name.'h2p">'.$howtoplay.'</div> <div id="'.$name.'h2p">'.$howtoplay.'</div>
<div id="'.$name.'pbw">'.$playsbestwith.'</div> <div id="'.$name.'pbw">'.$playsbestwith.'</div>
<div id="'.$name.'convars"><code>'.$convars.'</code></div> <div id="'.$name.'convars"><pre><code>'.$convars.'</code></pre></div>
<div id="'.$name.'credits">Main Creator: <a href="'.$authorurl.'">'.$author.'</a><br>'.$ctext.'</div> <div id="'.$name.'credits">Main Creator: <a href="'.$authorurl.'">'.$author.'</a><br>'.$ctext.'</div>
</div> </div>
</div> </div>