🎨 Fix CSS: Import global.css + plain CSS styles
CSS was not being imported! Fixed: ✅ Added 'import ../styles/global.css' to BaseLayout.astro ✅ Rewrote CSS with plain CSS (not @apply which wasn't working) ✅ Cookie banner has inline styles as backup ✅ Font size: 16px base ✅ Solid colors: green-600 (#16a34a), gray-900 (#111827) ✅ Footer has policy links Build: 12 pages ✅
This commit is contained in:
32
dealplustech-astro/node_modules/autoprefixer/lib/hacks/place-self.js
generated
vendored
Normal file
32
dealplustech-astro/node_modules/autoprefixer/lib/hacks/place-self.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
let Declaration = require('../declaration')
|
||||
let utils = require('./grid-utils')
|
||||
|
||||
class PlaceSelf extends Declaration {
|
||||
/**
|
||||
* Translate place-self to separate -ms- prefixed properties
|
||||
*/
|
||||
insert(decl, prefix, prefixes) {
|
||||
if (prefix !== '-ms-') return super.insert(decl, prefix, prefixes)
|
||||
|
||||
// prevent doubling of prefixes
|
||||
if (decl.parent.some(i => i.prop === '-ms-grid-row-align')) {
|
||||
return undefined
|
||||
}
|
||||
|
||||
let [[first, second]] = utils.parse(decl)
|
||||
|
||||
if (second) {
|
||||
utils.insertDecl(decl, 'grid-row-align', first)
|
||||
utils.insertDecl(decl, 'grid-column-align', second)
|
||||
} else {
|
||||
utils.insertDecl(decl, 'grid-row-align', first)
|
||||
utils.insertDecl(decl, 'grid-column-align', first)
|
||||
}
|
||||
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
|
||||
PlaceSelf.names = ['place-self']
|
||||
|
||||
module.exports = PlaceSelf
|
||||
Reference in New Issue
Block a user