* Restyled the Pad title

This commit is contained in:
Daniel Legt 2022-06-07 00:27:51 +03:00
parent ee9516a109
commit c4f6496e0e
2 changed files with 19 additions and 1 deletions

View File

@ -49,6 +49,22 @@ main#main-card {
padding-top: 2rem; padding-top: 2rem;
} }
#padTitle {
padding: .3rem .75rem !important;
border-radius: .25rem;
display: inline-block;
}
.dark #padTitle {
color: #db3384;
background-color: rgba(0, 0, 0, 0.10);
}
.light #padTitle {
color: #fe79b9;
background-color: rgba(0, 0, 0, 0.15);
}
#pad-content-area { #pad-content-area {
position: relative; position: relative;

View File

@ -35,7 +35,9 @@
</div> </div>
<h2 class="mb-4">{{.title}}</h2> <h2 class="mb-4" id="padTitle">
{{.title}}
</h2>
<div id="pad-content-area"> <div id="pad-content-area">
<div class="btn-sm btn" id="pad-content-toggler" onclick="toggleTextareaPreview()"> <div class="btn-sm btn" id="pad-content-toggler" onclick="toggleTextareaPreview()">