Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ai-box
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
青山
ai-box
Commits
c756def8
Commit
c756def8
authored
Nov 09, 2024
by
fisherdaddy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 优化手写字体生成器和名言卡片生成器的样式
parent
581157d2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
447 additions
and
296 deletions
+447
-296
HandwriteGen.jsx
src/components/HandwriteGen.jsx
+158
-160
QuoteCard.jsx
src/components/QuoteCard.jsx
+200
-136
HandwriteGen.css
src/styles/HandwriteGen.css
+89
-0
No files found.
src/components/HandwriteGen.jsx
View file @
c756def8
This diff is collapsed.
Click to expand it.
src/components/QuoteCard.jsx
View file @
c756def8
This diff is collapsed.
Click to expand it.
src/styles/HandwriteGen.css
View file @
c756def8
...
...
@@ -58,3 +58,92 @@ body, html, #root {
.ant-btn
{
margin-top
:
16px
;
}
.handwrite-container
{
min-height
:
100vh
;
background
:
linear-gradient
(
135deg
,
#f5f7ff
0%
,
#ffffff
100%
);
}
.settings-panel
{
background
:
rgba
(
255
,
255
,
255
,
0.8
);
backdrop-filter
:
blur
(
10px
);
border-radius
:
16px
;
padding
:
1.5rem
;
box-shadow
:
0
8px
32px
rgba
(
99
,
102
,
241
,
0.1
);
border
:
1px
solid
rgba
(
255
,
255
,
255
,
0.2
);
margin
:
1rem
;
}
.preview-area
{
background
:
rgba
(
255
,
255
,
255
,
0.9
);
border-radius
:
16px
;
box-shadow
:
0
8px
32px
rgba
(
99
,
102
,
241
,
0.1
);
border
:
1px
solid
rgba
(
255
,
255
,
255
,
0.2
);
transition
:
all
0.3s
ease
;
overflow
:
auto
;
padding
:
2rem
;
}
.preview-area
:hover
{
box-shadow
:
0
12px
24px
rgba
(
99
,
102
,
241
,
0.15
);
border-color
:
rgba
(
99
,
102
,
241
,
0.3
);
}
.form-group
{
margin-bottom
:
1.5rem
;
}
.form-group
label
{
font-weight
:
600
;
color
:
#1a1a1a
;
margin-bottom
:
0.5rem
;
display
:
block
;
}
.ant-select-selector
,
.ant-input
,
.ant-input-number
,
.ant-slider
{
border-radius
:
8px
!important
;
border
:
1px
solid
rgba
(
99
,
102
,
241
,
0.2
)
!important
;
}
.ant-select-selector
:hover
,
.ant-input
:hover
,
.ant-input-number
:hover
{
border-color
:
rgba
(
99
,
102
,
241
,
0.4
)
!important
;
}
.ant-btn-primary
{
background
:
linear-gradient
(
135deg
,
#6366F1
0%
,
#4F46E5
100%
)
!important
;
border
:
none
!important
;
border-radius
:
8px
!important
;
height
:
40px
!important
;
font-weight
:
600
!important
;
transition
:
all
0.3s
ease
!important
;
}
.ant-btn-primary
:hover
{
transform
:
translateY
(
-2px
);
box-shadow
:
0
4px
12px
rgba
(
99
,
102
,
241
,
0.2
);
}
.section-title
{
font-size
:
1.4rem
;
font-weight
:
600
;
margin-bottom
:
1rem
;
background
:
linear-gradient
(
135deg
,
#1a1a1a
0%
,
#333333
100%
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
letter-spacing
:
-0.01em
;
}
.title-label
{
font-size
:
1.8rem
;
margin-bottom
:
1.5rem
;
background
:
linear-gradient
(
135deg
,
#6366F1
0%
,
#4F46E5
100%
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
font-weight
:
700
;
letter-spacing
:
-0.02em
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment