summaryrefslogtreecommitdiffstats
path: root/assets/scss/_fuji-style/_components.scss
diff options
context:
space:
mode:
authoramzrk22020-05-31 23:06:44 +0800
committeramzrk22020-05-31 23:06:44 +0800
commit2338da969d3bc1b2bc26df9f7192dd20a0906c5b (patch)
tree6a88b0ac8ddf5318eb1a93a7e2e8807de0ab686f /assets/scss/_fuji-style/_components.scss
parent8009dfd8f5d33211a07d01319715fc3993979138 (diff)
downloadhugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.tar.gz
hugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.tar.bz2
hugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.zip
Switch to prism.js
Diffstat (limited to 'assets/scss/_fuji-style/_components.scss')
-rw-r--r--assets/scss/_fuji-style/_components.scss35
1 files changed, 35 insertions, 0 deletions
diff --git a/assets/scss/_fuji-style/_components.scss b/assets/scss/_fuji-style/_components.scss
new file mode 100644
index 0000000..429d869
--- /dev/null
+++ b/assets/scss/_fuji-style/_components.scss
@@ -0,0 +1,35 @@
+.btn {
+ position: fixed;
+ right: 1.5rem;
+ bottom: 1.5rem;
+ width: 2.5rem;
+ height: 5rem;
+ display: flex;
+ justify-content: space-between;
+ flex-direction: column;
+
+ div {
+ flex: 0 1 auto;
+ width: 2.5rem;
+ height: 2.5rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+
+ &:first-child {
+ border-radius: 0.25rem 0.25rem 0 0;
+ font-size: 1.25rem;
+ }
+
+ &:last-child {
+ border-radius: 0 0 0.25rem 0.25rem;
+ font-size: 1.3rem;
+ }
+ }
+}
+
+#post-aplayer {
+ margin: 0 0.125rem 1.25rem 0.125rem;
+ font-family: inherit;
+}