Minor changes

This commit is contained in:
Ske 2020-06-11 00:48:43 +02:00
parent 321f4d7d25
commit 556fe28aa7
6 changed files with 64 additions and 13 deletions

View file

@ -26,12 +26,24 @@
color: $exampleTextColor;
padding: 0 0.5rem;
background-color: lighten($exampleBgColor, 15%);
background-color: $exampleArgColor;
border-radius: 4px;
line-height: 1.7;
}
.custom-block.tip .command-argument {
background-color: darken($exampleArgColor, 3%);
}
.command-example .command-argument {
background-color: darken($exampleArgColor, 8%);
}
.custom-block.tip .command-example .command-argument {
background-color: darken($exampleArgColor, 10%);
}
.argument-details {
font-size: 0.75em;
font-style: italic;

View file

@ -1,7 +1,7 @@
<template>
<p class="command-example">
<span class="bot-prefix">pk;</span><slot></slot>
<span class="example-comment" v-if="comment">// {{ comment }}</span>
<span class="bot-prefix">pk;</span><slot></slot>
</p>
</template>
@ -16,6 +16,12 @@
margin: 0.5rem 0;
padding: 0.75rem 1.25rem;
clear: both;
}
.custom-block.tip .command-example {
background-color: darken($exampleBgColor, 3%);
}
.bot-prefix {

View file

@ -11,6 +11,12 @@
margin: 0.5rem 0;
padding: 0.75rem 1.25rem;
clear: both;
}
.custom-block.tip .command-example-group {
background-color: darken($exampleBgColor, 3%);
}
.command-example-group .command-example {

View file

@ -6,13 +6,17 @@
.example-inline {
font-size: $exampleFontSize;
font-family: $exampleFontFamily;
background-color: $exampleBgColor;
background-color: $exampleArgColor;
color: $exampleTextColor;
padding: 0.2rem 0.4rem;
border-radius: 3px;
}
.custom-block.tip .example-inline {
background-color: darken($exampleArgColor, 3%);
}
.inline-bot-prefix {
color: $examplePrefixColor;
}