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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/_page/_single.scss')
-rw-r--r--assets/css/_page/_single.scss28
1 files changed, 11 insertions, 17 deletions
diff --git a/assets/css/_page/_single.scss b/assets/css/_page/_single.scss
index 2af8059..50d3a10 100644
--- a/assets/css/_page/_single.scss
+++ b/assets/css/_page/_single.scss
@@ -4,6 +4,11 @@
.single > :first-child {
margin-top: 0 !important;
}
+
+ .single > section:first-child > :first-child,
+ .single > article:first-child > :first-child {
+ margin-top: 0 !important;
+ }
}
.single {
@@ -41,26 +46,14 @@
h2 {
font-size: 1.6rem;
-
- & code {
- font-size: 1.25rem;
- }
}
h3 {
font-size: 1.375rem;
-
- & code {
- font-size: 1.125rem;
- }
}
h4 {
font-size: 1.25rem;
-
- & code {
- font-size: 1rem;
- }
}
h5 {
@@ -77,6 +70,12 @@
[theme=dark] & {
font-weight: bolder;
}
+
+ code {
+ background: #f5f2f0;
+ padding: .4rem;
+ border-radius: 3px;
+ }
}
h3, h4, h5, h6 {
@@ -93,10 +92,6 @@
margin-bottom: 1.2rem;
font-size: 2rem;
margin-top: 7rem;
-
- code {
- font-size: 90%;
- }
}
h3 {
@@ -277,7 +272,6 @@
}
}
- @import "../_partial/_single/code";
@import "../_partial/_single/instagram";
@import "../_partial/_single/admonition";
@import "../_partial/_single/echarts";