summaryrefslogtreecommitdiff
path: root/assets/css/common/post-single.css
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-21 23:26:08 +0800
committerReorx <novoreorx@gmail.com>2022-04-21 23:26:08 +0800
commit8c47961c418f874d0fa2bda7065651e277809f41 (patch)
treed5a661740fe066b39044c0db8e52ab518e950f02 /assets/css/common/post-single.css
parentff711a0be216dddacb039bc58f492c42480484ae (diff)
enhance responsive style
Diffstat (limited to 'assets/css/common/post-single.css')
-rw-r--r--assets/css/common/post-single.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css
index d91e872..e5f85d5 100644
--- a/assets/css/common/post-single.css
+++ b/assets/css/common/post-single.css
@@ -84,6 +84,7 @@
font-weight: 500;
color: var(--primary);
box-shadow: var(--link-underline-shadow);
+ transition: var(--link-transition);
}
.post-content a:hover {
color: var(--link-hover-color);
@@ -288,6 +289,10 @@ h6:hover .anchor {
margin: 1rem auto;
}
+.post-content video {
+ width: 100%;
+}
+
.post-content figure.align-center {
text-align: center;
}
@@ -485,3 +490,13 @@ h6:hover .anchor {
[dir="rtl"] .paginav .next {
text-align: left;
}
+
+.full-width {
+ left: 50%;
+ margin-left: -50vw;
+ margin-right: -50vw;
+ max-width: 100vw;
+ position: relative;
+ right: 50%;
+ width: 100vw;
+ }