Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/main.scss')
-rw-r--r--assets/sass/main.scss12
1 files changed, 9 insertions, 3 deletions
diff --git a/assets/sass/main.scss b/assets/sass/main.scss
index d2e215f..78ac359 100644
--- a/assets/sass/main.scss
+++ b/assets/sass/main.scss
@@ -512,10 +512,9 @@ article section.page div.content{
overflow: inherit!important;
code{
color:inherit!important;
- font-size: 75%;
+ font-size: 95%;
display: block;
- margin-left:-1.5rem;
- margin-right:-1.5rem;
+ line-height: 1.2em;
padding: 10px;
border:0px;
font-weight: inherit;
@@ -523,6 +522,13 @@ article section.page div.content{
}
}
}
+
+ >div.highlight{
+ pre code{
+ margin-left:-1.5rem;
+ margin-right:-1.5rem;
+ }
+ }
}