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

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/components/_content.scss')
-rw-r--r--assets/scss/components/_content.scss25
1 files changed, 14 insertions, 11 deletions
diff --git a/assets/scss/components/_content.scss b/assets/scss/components/_content.scss
index 23215f9..969bedd 100644
--- a/assets/scss/components/_content.scss
+++ b/assets/scss/components/_content.scss
@@ -1,14 +1,24 @@
.content {
-webkit-font-smoothing: antialiased;
+ .highlight {
+ border-radius: 2px;
+ margin-bottom: 20px;
+ }
+ code {
+ background: #f5f5f5;
+ padding: 3px 6px;
+ border-radius: 3px;
+ font-family: $font-family-mono;
+ font-size: 0.9rem;
+ line-height: 1.4;
+ }
pre {
font-family: $font-family-mono;
font-size: 0.9rem;
line-height: 1.4;
margin: 0;
- background: #f5f5f5;
padding: 10px;
border-radius: 1px;
- color: lighten($black, 10%);
code {
font-family: $font-family-mono;
font-size: 0.9rem;
@@ -16,17 +26,10 @@
border-radius: none;
padding: 0;
margin: 0;
+ background: none;
}
}
- code {
- background: #f5f5f5;
- padding: 3px 6px;
- border-radius: 3px;
- color: lighten($black, 10%);
- font-family: $font-family-mono;
- font-size: 0.9rem;
- line-height: 1.4;
- }
+
strong {
font-weight: bold;
}