summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-12-19 06:19:39 +0100
committerache <ache@ache.one>2023-12-19 06:19:39 +0100
commit883eaa50c0bb6f5eb954d64d92f47dc5196fe121 (patch)
tree8077aea8aae8909064c37d77c35218bd29819a8e /src
parentPublish article about train (diff)
Better CSS title margin
Diffstat (limited to 'src')
-rwxr-xr-xsrc/css/_contenu.scss19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/css/_contenu.scss b/src/css/_contenu.scss
index 120406d..ec6b898 100755
--- a/src/css/_contenu.scss
+++ b/src/css/_contenu.scss
@@ -21,7 +21,7 @@ article {
}
h1, h2, h3, h4 {
- margin: 1rem 0;
+ margin: 2.5rem 0 1rem 0;
}
p {
margin: 0.5rem 0;
@@ -233,7 +233,7 @@ article {
&.light{ @include lightMode; }
&.dark { @include darkMode; }
- iframe, img, div {
+ iframe, img, div, video {
border: none;
margin: 0 auto;
@@ -535,3 +535,18 @@ section.likes {
&.light{ @include lightMode; }
&.dark { @include darkMode; }
}
+
+
+video::cue {
+ background-position: top;
+ background-origin: border-box;
+ position: 90%;
+}
+
+video::cue(.back) {
+ font-style: oblique;
+ opacity: 0.85;
+ font-size: 0.7em;
+ line-height: 0.9;
+ padding-bottom: 5em;
+}