mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
ed2f5f6d10
Resolved #482
69 lines
1.3 KiB
SCSS
69 lines
1.3 KiB
SCSS
/* Resolve style conflicts between third-party plugins */
|
|
|
|
@keyframes #{$prefix}pulse {
|
|
from {
|
|
@include transform(scale3d(1, 1, 1));
|
|
}
|
|
|
|
50% {
|
|
@include transform(scale3d(1.05, 1.05, 1.05));
|
|
}
|
|
|
|
to {
|
|
@include transform(scale3d(1, 1, 1));
|
|
}
|
|
}
|
|
|
|
.animate__pulse {
|
|
-webkit-animation-name: #{$prefix}pulse !important;
|
|
animation-name: #{$prefix}pulse !important;
|
|
}
|
|
|
|
/**
|
|
* After the CSS round() function exceeds 90% browser support in the future, this code can be removed
|
|
* See https://caniuse.com/mdn-css_types_round
|
|
*/
|
|
@supports not (width: ROUND(60%, 2px)) {
|
|
@media only screen and (min-width: 1441px) {
|
|
%page-style {
|
|
width: 60%;
|
|
|
|
[data-page-style='wide'] & {
|
|
width: 64%;
|
|
}
|
|
|
|
[data-page-style='narrow'] & {
|
|
max-width: 800px;
|
|
}
|
|
}
|
|
}
|
|
@media only screen and (max-width: 1440px) {
|
|
%page-style {
|
|
width: 56%;
|
|
|
|
[data-page-style='wide'] & {
|
|
width: 60%;
|
|
}
|
|
}
|
|
}
|
|
@media only screen and (max-width: 1200px) {
|
|
%page-style {
|
|
width: 52%;
|
|
|
|
[data-page-style='wide'] & {
|
|
width: 56%;
|
|
}
|
|
}
|
|
}
|
|
@media only screen and (max-width: 960px) {
|
|
%page-style {
|
|
width: 80% !important;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 680px) {
|
|
%page-style {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
}
|