feat: 样式调整
This commit is contained in:
parent
959a2e9a33
commit
72e2702f76
5
next.config.js
Normal file
5
next.config.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module.exports = {
|
||||||
|
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
|
||||||
|
return config;
|
||||||
|
},
|
||||||
|
};
|
@ -95,6 +95,9 @@
|
|||||||
@apply bg-green-800 bg-opacity-20 text-green-400;
|
@apply bg-green-800 bg-opacity-20 text-green-400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
code:global(.hljs) {
|
||||||
|
@apply text-sm;
|
||||||
|
}
|
||||||
|
|
||||||
:global {
|
:global {
|
||||||
:not(:global(.dark)) & {
|
:not(:global(.dark)) & {
|
||||||
|
@ -6,17 +6,17 @@
|
|||||||
.item {
|
.item {
|
||||||
@apply my-2 mx-4 px-4 overflow-hidden;
|
@apply my-2 mx-4 px-4 overflow-hidden;
|
||||||
@apply rounded-md shadow-sm hover:shadow;
|
@apply rounded-md shadow-sm hover:shadow;
|
||||||
@apply bg-gray-50 hover:bg-white;
|
@apply bg-gray-50 hover:bg-white cursor-pointer;
|
||||||
|
|
||||||
:global(.dark) & {
|
:global(.dark) & {
|
||||||
@apply bg-gray-800;
|
@apply bg-gray-800;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
@apply text-lg my-4;
|
@apply text-xl my-4;
|
||||||
}
|
}
|
||||||
.description {
|
.description {
|
||||||
@apply text-sm text-gray-600 leading-6 my-4;
|
@apply text-base text-gray-600 leading-6 my-4 font-light;
|
||||||
|
|
||||||
:global(.dark) & {
|
:global(.dark) & {
|
||||||
@apply text-gray-400;
|
@apply text-gray-400;
|
||||||
|
Loading…
Reference in New Issue
Block a user