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:
-rw-r--r--assets/css/_page/_single.scss2
-rw-r--r--assets/css/_ublogger.scss10
-rw-r--r--layouts/shortcodes/content-image.html3
-rw-r--r--layouts/shortcodes/marker.html2
-rw-r--r--layouts/shortcodes/str.html2
5 files changed, 14 insertions, 5 deletions
diff --git a/assets/css/_page/_single.scss b/assets/css/_page/_single.scss
index 8c00ceb..3b459bb 100644
--- a/assets/css/_page/_single.scss
+++ b/assets/css/_page/_single.scss
@@ -100,7 +100,7 @@
}
b, strong {
- font-weight: bold;
+ font-weight: normal;
[theme=dark] & {
color: #ddd;
diff --git a/assets/css/_ublogger.scss b/assets/css/_ublogger.scss
index ef7d548..b740289 100644
--- a/assets/css/_ublogger.scss
+++ b/assets/css/_ublogger.scss
@@ -88,7 +88,15 @@ header {
}
- em {
+ .s {
+ font-weight: bold;
+
+ [theme=dark] & {
+ color: #ddd;
+ }
+ }
+
+ .m {
background: #fff3bc;
font-style: inherit;
padding: 4px 7px 6px;
diff --git a/layouts/shortcodes/content-image.html b/layouts/shortcodes/content-image.html
deleted file mode 100644
index c7774f0..0000000
--- a/layouts/shortcodes/content-image.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<div class="content-image">
-
-</div> \ No newline at end of file
diff --git a/layouts/shortcodes/marker.html b/layouts/shortcodes/marker.html
new file mode 100644
index 0000000..9ed2456
--- /dev/null
+++ b/layouts/shortcodes/marker.html
@@ -0,0 +1,2 @@
+{{ $text := cond $.IsNamedParams ($.Get "text") "" }}
+<span class="m">{{ $text }}</span> \ No newline at end of file
diff --git a/layouts/shortcodes/str.html b/layouts/shortcodes/str.html
new file mode 100644
index 0000000..d8a470b
--- /dev/null
+++ b/layouts/shortcodes/str.html
@@ -0,0 +1,2 @@
+{{ $text := cond $.IsNamedParams ($.Get "text") "" }}
+<span class="s">{{ $text }}</span> \ No newline at end of file