Files
FixIt/assets/scss/pages/shared/shortcodes/_douyin.scss
T
Cell 47247e01c5 refactor(assets): split SCSS into per-layout CSS bundles (#789)
- Restructure pages/ directory: shared/, posts/, specials/ modules
- Add per-layout entry points (home, posts, archives, search, friends, link)
- Include 404 and offline styles in main bundle
- Consolidate scss-vars.html with Internal and Appearance categories
- Simplify _variables.scss with @forward "hugo:vars"
- Extract CSS loading logic to base/head/css.html
- Update [params.appearance] with all configurable values
2026-06-23 17:19:51 +08:00

26 lines
403 B
SCSS

@use "core/mixins" as *;
.single .douyin {
position: relative;
width: 100%;
height: 0;
padding-bottom: 60.725%;
margin: 1rem auto;
text-align: center;
iframe {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
// [todo] get width and height from api
@include media('xs') {
width: 92%;
margin-inline: 4%;
padding-bottom: 190%;
}
}