From b9ba94cfce5f39f8e5981f91786222057033251a Mon Sep 17 00:00:00 2001 From: Avele Date: Sat, 31 Aug 2019 16:11:41 +0400 Subject: [PATCH] Changed code elements styles; fixes #358 --- front/client/App.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/front/client/App.vue b/front/client/App.vue index eb66417..219d7c5 100644 --- a/front/client/App.vue +++ b/front/client/App.vue @@ -137,12 +137,23 @@ code { font-weight: 500; box-shadow: none; background: rgba(10, 10, 10, 0.04); + + &:not(.sourceCode) { + font-weight: 800; + line-height: 125%; + padding: 2px 3px; + border: 1px solid rgba(29, 28, 29, 0.13); + border-radius: 3px; + background-color: #fafafa; + box-shadow: none; + font-weight: normal; + } } /* Vuetify css adds unwanted space to start and end of code and kbd tag */ -code:after, -kbd:after, -code:before, -kbd:before { +.v-application code:after, +.v-application kbd:after, +.v-application code:before, +.v-application kbd:before { content: ""; letter-spacing: initial; }