sort of added code embed

This commit is contained in:
steevLP 2021-02-01 11:05:46 +01:00
parent 440b59f3c9
commit 9eefe69f1c
4 changed files with 17 additions and 18 deletions

View File

@ -2,7 +2,10 @@
box-sizing: border-box; } box-sizing: border-box; }
pre { pre {
border: 1px solid black; } border: 1px solid black;
border-radius: 5px;
background-color: #f1f1f1;
font-size: 12pt; }
body { body {
margin: 0; margin: 0;

10
dist/index.html vendored
View File

@ -27,16 +27,16 @@
<div class="container"> <div class="container">
<pre style="margin: 0;" class="code"> <pre style="margin: 0;" class="code">
<code> <code>
<h1>test</h1> <h1>test</h1>
code here, escape it yourself. code here, escape it yourself.
</code> </code>
</pre> </pre>
<pre> <pre>
<code> <code>
<h1>test</h1> <h1>test</h1>
code here, escape it yourself. code here, escape it yourself.
<h2>test</h2> <h2>test</h2>
</code> </code>
</pre> </pre>
<h1 style="text-align: center;">Alert Elements</h1> <h1 style="text-align: center;">Alert Elements</h1>

View File

@ -25,18 +25,11 @@
</header> </header>
<main> <main>
<div class="container"> <div class="container">
<pre style="margin: 0;" class="code">
<code>
<h1>test</h1>
code here, escape it yourself.
</code>
</pre>
<pre> <pre>
<code> <code>
<h1>test</h1> <h1>test</h1>
code here, escape it yourself. code here, escape it yourself.
<h2>test</h2> <h2>test</h2>
</code> </code>
</pre> </pre>
<h1 style="text-align: center;">Alert Elements</h1> <h1 style="text-align: center;">Alert Elements</h1>

View File

@ -16,6 +16,9 @@ $success_dark: #27ae60
box-sizing: border-box box-sizing: border-box
pre pre
border: 1px solid black border: 1px solid black
border-radius: 5px
background-color: $navBG
font-size: 12pt
body body
margin: 0 margin: 0
padding: 0 padding: 0
@ -28,8 +31,8 @@ main
width: 100% width: 100%
word-break: break-all word-break: break-all
@for $i from 1 through 12 @for $i from 1 through 12
h#{$i} h#{$i}
margin: 0 margin: 0
.dev .dev
border: 1px solid black border: 1px solid black
.display .display