This commit is contained in:
lytrankieio123 2021-08-23 17:30:13 +07:00
commit 243922eb50
3 changed files with 9 additions and 5 deletions

View File

@ -33,8 +33,8 @@
--background: #f8f8f8; --background: #f8f8f8;
--white: #fbfbfb; --white: #fbfbfb;
--font-size: 1.6rem; --font-size: 16px;
--line-height: 2.4rem; --line-height: 24px;
--font-sans: -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", sans-serif; --font-sans: -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", sans-serif;
} }
@ -63,8 +63,11 @@ body {
html { html {
/* default font-size: 16px -> 62.5% * 16px = 10px */ /* default font-size: 16px -> 62.5% * 16px = 10px */
/* => 1rem = 10px*/ font-size: 50% !important; // => 1rem = 8px
font-size: 62.5% !important;
@screen md {
font-size: 62.5% !important; // => 1rem = 10px*/
}
scroll-behavior: smooth; scroll-behavior: smooth;
touch-action: manipulation; touch-action: manipulation;
font-feature-settings: "case" 1, "rlig" 1, "calt" 0; font-feature-settings: "case" 1, "rlig" 1, "calt" 0;

View File

@ -85,6 +85,7 @@
padding-left: 2rem; padding-left: 2rem;
@screen md { @screen md {
padding-left: 11.2rem; padding-left: 11.2rem;
padding-right: 11.2rem;
} }
} }
.custom-border-radius { .custom-border-radius {

View File

@ -93,7 +93,7 @@ module.exports = {
'rgba(0, 0, 0, 0.02) 0px 30px 30px, rgba(0, 0, 0, 0.03) 0px 0px 8px, rgba(0, 0, 0, 0.05) 0px 1px 0px', 'rgba(0, 0, 0, 0.02) 0px 30px 30px, rgba(0, 0, 0, 0.03) 0px 0px 8px, rgba(0, 0, 0, 0.05) 0px 1px 0px',
}, },
fontSize: { fontSize: {
base: ['1.6rem', '2.4rem'], base: ['16px', '24px'],
}, },
borderRadius: { borderRadius: {
rounded: '.8rem', rounded: '.8rem',