mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 07:18:57 +00:00
dd6d320654
* BREAKING CHANGE: refactor with Dart Sass (supplement to #741) * chore: update .gitignore to include .vercel and .env*.local * CI: add build script for Hugo site deployment on Vercel * CI: update build script for Hugo site deployment on Vercel * refactor: update SCSS layout styles and introduce page-style mixin * refactor: reorganize SCSS files and improve layout structure * refactor: rename copy button classes and update related styles
26 lines
403 B
SCSS
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%;
|
|
}
|
|
}
|