This is an automated email from the ASF dual-hosted git repository.
wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 23ac120 fix CSS code (#10926)
23ac120 is described below
commit 23ac12058e03e5f1ffc22fd4d7eee855e4809b33
Author: totalo <[email protected]>
AuthorDate: Wed Jun 23 13:16:20 2021 +0800
fix CSS code (#10926)
---
docs/blog/layouts/shortcodes/bilibili.html | 19 ++-----------------
docs/blog/layouts/shortcodes/qq.html | 19 ++-----------------
2 files changed, 4 insertions(+), 34 deletions(-)
diff --git a/docs/blog/layouts/shortcodes/bilibili.html
b/docs/blog/layouts/shortcodes/bilibili.html
index 5529c2d..3a33e34 100644
--- a/docs/blog/layouts/shortcodes/bilibili.html
+++ b/docs/blog/layouts/shortcodes/bilibili.html
@@ -2,26 +2,10 @@
<html>
<head>
- <style type="text/css">
- .aspect-ratio {
- position: relative;
- width: 100%;
- height: 0;
- padding-bottom: 75%;
- }
-
- .aspect-ratio iframe {
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0;
- top: 0;
- }
- </style>
</head>
<body>
- <div class="aspect-ratio">
+ <div class="aspect-ratio" style="position: relative; width: 100%; height:
0; padding-bottom: 75%">
<iframe
src="https://player.bilibili.com/player.html?bvid={{.Get 0
}}&page={{ if .Get 1 }}{{.Get 1}}{{ else }}1&high_quality=1&danmaku=0{{end}}"
scrolling="no"
@@ -30,6 +14,7 @@
framespacing="0"
allowfullscreen="true"
sandbox="allow-top-navigation allow-same-origin allow-forms
allow-scripts"
+ style="position: absolute; width: 100%; height: 100%; left: 0;
top: 0;"
>
</iframe>
</div>
diff --git a/docs/blog/layouts/shortcodes/qq.html
b/docs/blog/layouts/shortcodes/qq.html
index 370f6dd..f250a94 100644
--- a/docs/blog/layouts/shortcodes/qq.html
+++ b/docs/blog/layouts/shortcodes/qq.html
@@ -1,25 +1,9 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- .aspect-ratio {
- position: relative;
- width: 100%;
- height: 0;
- padding-bottom: 75%;
- }
-
- .aspect-ratio iframe {
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0;
- top: 0;
- }
- </style>
</head>
<body>
-<div class="aspect-ratio">
+<div class="aspect-ratio" style="position: relative; width: 100%; height: 0;
padding-bottom: 75%">
<iframe src="https://v.qq.com/txp/iframe/player.html?vid={{.Get 0
}}&autoplay=true&bullet=true"
scrolling="no"
border="0"
@@ -27,6 +11,7 @@
framespacing="0"
allowFullScreen="true"
sandbox="allow-top-navigation allow-same-origin allow-forms
allow-scripts"
+ style="position: absolute; width: 100%; height: 100%; left: 0;
top: 0;"
></iframe>
</div>
</body>