This commit is contained in:
Steev 2022-03-20 12:51:30 +01:00
parent a1e1a44020
commit f55bd69470
5 changed files with 11 additions and 5 deletions

View File

@ -164,7 +164,7 @@ code here, escape it yourself.
</main> </main>
<br><br><br> <br><br><br>
<br><br><br> <br><br><br>
<script src="js/steevcss.js"></script> <!-- <script src="js/steevcss.js"></script> -->
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/highlight.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script> <script>hljs.highlightAll();</script>
</body> </body>

View File

@ -1,6 +1,8 @@
var code = document.querySelectorAll("code"); var code = document.querySelectorAll("code");
// code embed // TODO: Split a html tag by character
// current way taking 1:1 html and changing how it is setup
// problem: this endsup in breaking once the file itself should be inside the display area
code.forEach(c => { code.forEach(c => {
let code = c.innerHTML.toString(); let code = c.innerHTML.toString();
var output = ""; var output = "";

View File

@ -4,7 +4,10 @@
.btn .btn
border-radius: $border_radius border-radius: $border_radius
border-width: $border_width border-width: $border_width
border: $border_width solid #d1d1d1
padding: $padding padding: $padding
font-size: 12pt
min-width: 100px
transition: 50ms transition: 50ms
.btn-primary .btn-primary
background-color: $primary background-color: $primary

View File

@ -1,5 +1,5 @@
@import variables @import variables
/* todo: make the sliders smaller */
/* The switch - the box around the slider */ /* The switch - the box around the slider */
.switch .switch
position: relative position: relative

View File

@ -1,4 +1,4 @@
$border_width: 2px $border_width: 1px
$border_radius: 5px $border_radius: 5px
$padding: 5px $padding: 5px
$columns: 12 $columns: 12
@ -7,7 +7,8 @@ $navgap: 1em
/* Colours */ /* Colours */
$navhovcolor: #a5a5a5 $navhovcolor: #a5a5a5
$navdefcolor: #2e2e2e $navdefcolor: #2e2e2e
$primBG: rgb(248, 248, 248) $default: rgb(248, 248, 248)
$default_dark: #d1d1d1
$primary: #3498db $primary: #3498db
$primary_dark: #2980b9 $primary_dark: #2980b9
$danger: #e74c3c $danger: #e74c3c