mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-23 15:09:46 +00:00
Magzine 布局微调
This commit is contained in:
@@ -2,7 +2,12 @@ const BLOG = require('./blog.config')
|
||||
const { fontFamilies } = require('./lib/font')
|
||||
|
||||
module.exports = {
|
||||
content: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js', './themes/**/*.js'],
|
||||
content: [
|
||||
'./pages/**/*.js',
|
||||
'./components/**/*.js',
|
||||
'./layouts/**/*.js',
|
||||
'./themes/**/*.js'
|
||||
],
|
||||
darkMode: BLOG.APPEARANCE === 'class' ? 'media' : 'class', // or 'media' or 'class'
|
||||
theme: {
|
||||
fontFamily: fontFamilies,
|
||||
@@ -19,8 +24,9 @@ module.exports = {
|
||||
xl: '1140px',
|
||||
// => @media (min-width: 1200px) { ... }
|
||||
|
||||
'2xl': '1320px'
|
||||
'2xl': '1320px',
|
||||
// => @media (min-width: 1400px) { ... }
|
||||
'3xl': '1920px'
|
||||
},
|
||||
container: {
|
||||
center: true,
|
||||
@@ -64,7 +70,8 @@ module.exports = {
|
||||
},
|
||||
maxWidth: {
|
||||
side: '14rem',
|
||||
'9/10': '90%'
|
||||
'9/10': '90%',
|
||||
'screen-3xl': '1440px'
|
||||
},
|
||||
boxShadow: {
|
||||
input: '0px 7px 20px rgba(0, 0, 0, 0.03)',
|
||||
|
||||
Reference in New Issue
Block a user