infinity-forge
Version:
14 lines • 3.32 kB
JavaScript
"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BoxPost = void 0;
var styled_components_1 = __importDefault(require("styled-components"));
exports.BoxPost = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n background-color: #fff;\n border-radius: 20px;\n\n .post-image {\n width: 100%;\n aspect-ratio: 1202/420;\n }\n\n .description {\n padding: 22px;\n width: auto;\n color: #1a1a1a;\n border: 1px solid #00000029;\n\n strong {\n font-weight: 700;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n img,\n ul {\n & + * {\n margin-top: 15px;\n }\n }\n\n h1 {\n font-size: clamp(18px, 3vw, 32px);\n }\n\n h2 {\n font-size: clamp(16px, 2.5vw, 28px);\n }\n\n h3 {\n font-size: clamp(14px, 2vw, 22px);\n }\n\n img {\n border-radius: 20px;\n overflow: hidden;\n }\n\n ul {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-left: 20px !important;\n\n li {\n list-style: circle !important;\n }\n }\n\n li[data-list='bullet'] {\n list-style: none;\n }\n\n .ql-ui {\n padding: 2px !important;\n }\n\n * {\n color: #1a1a1a;\n width: 100% !important;\n padding: 0 !important;\n }\n }\n\n @media only screen and (max-width: 768px) {\n .description {\n padding: 20px;\n }\n }\n\n @media only screen and (max-width: 900px) {\n width: 100%;\n }\n"], ["\n overflow: hidden;\n background-color: #fff;\n border-radius: 20px;\n\n .post-image {\n width: 100%;\n aspect-ratio: 1202/420;\n }\n\n .description {\n padding: 22px;\n width: auto;\n color: #1a1a1a;\n border: 1px solid #00000029;\n\n strong {\n font-weight: 700;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n img,\n ul {\n & + * {\n margin-top: 15px;\n }\n }\n\n h1 {\n font-size: clamp(18px, 3vw, 32px);\n }\n\n h2 {\n font-size: clamp(16px, 2.5vw, 28px);\n }\n\n h3 {\n font-size: clamp(14px, 2vw, 22px);\n }\n\n img {\n border-radius: 20px;\n overflow: hidden;\n }\n\n ul {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-left: 20px !important;\n\n li {\n list-style: circle !important;\n }\n }\n\n li[data-list='bullet'] {\n list-style: none;\n }\n\n .ql-ui {\n padding: 2px !important;\n }\n\n * {\n color: #1a1a1a;\n width: 100% !important;\n padding: 0 !important;\n }\n }\n\n @media only screen and (max-width: 768px) {\n .description {\n padding: 20px;\n }\n }\n\n @media only screen and (max-width: 900px) {\n width: 100%;\n }\n"])));
var templateObject_1;
//# sourceMappingURL=styles.js.map