Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Arena Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Ygopro Arena Web
Commits
8d80e403
Commit
8d80e403
authored
Aug 17, 2025
by
Tang Xinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加被选中效果,优化手机端排列
parent
27a85c12
Pipeline
#40270
passed with stage
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
9 deletions
+85
-9
src/assets/darkModelCss/darkStyleMix.css
src/assets/darkModelCss/darkStyleMix.css
+85
-9
No files found.
src/assets/darkModelCss/darkStyleMix.css
View file @
8d80e403
...
@@ -34,20 +34,55 @@ color: white;
...
@@ -34,20 +34,55 @@ color: white;
background-color
:
#1D252F
;
background-color
:
#1D252F
;
}
}
/* tab-img是卡片排行对应不同卡片分类的按钮 */
.tab-img
{
.tab-img
{
height
:
93px
;
height
:
92px
;
width
:
156px
;
width
:
153px
;
}
.tab-img
{
background-color
:
#1D252F
;}
.tab-img
{
background-color
:
#1a4861
;}
.nav-tabs
>
li
>
a
{
/* use your comfortable desktop padding */
padding
:
8px
14px
;
/* bigger than mobile */
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
border
:
3px
solid
transparent
;
/* reserves space; no jumping */
}
/* Active state */
.nav-tabs
>
li
.active
>
a
,
.nav-tabs
>
li
.active
>
a
:hover
,
.nav-tabs
>
li
.active
>
a
:focus
{
border-color
:
#1a4861
;
background-color
:
#161b22
;
}
/* 给被选中的卡片排行按钮加亮,来让用户知道选了啥 */
.nav-tabs
>
li
.active
>
a
{
border
:
3px
solid
#1a4861
!important
;
border-radius
:
1px
;
}
}
/* 收缩页面边框 白色 */
/* 收缩页面边框 白色 */
.table-responsive
{
.table-responsive
{
border
:
0px
solid
transparent
!important
;
border
:
0px
solid
transparent
!important
;
/* overflow: hidden!important; */
/* overflow: hidden!important; */
}
}
@media
(
max-width
:
768px
)
{
.table-responsive
table
td
:first-child
,
.table-responsive
table
th
:first-child
{
width
:
3%
;
/* adjust as needed */
white-space
:
nowrap
;
}
}
.search-form
div
.input-group-addon
{
.search-form
div
.input-group-addon
{
background
:
#
1D252F
;
background
:
#
476992
;
color
:
#80A3BD
;
color
:
#80A3BD
;
border-bottom-left-radius
:
2px
;
border-bottom-left-radius
:
2px
;
border-top-left-radius
:
2px
;
border-top-left-radius
:
2px
;
...
@@ -262,8 +297,7 @@ color:white;
...
@@ -262,8 +297,7 @@ color:white;
background-color
:
#161b22
;
background-color
:
#161b22
;
}
}
.tab-img
{
background-color
:
#1D252F
;}
.tab-img
{
background-color
:
#1a4861
;}
/* 用户名点击链接 */
/* 用户名点击链接 */
a
{
a
{
color
:
#409eff
;
color
:
#409eff
;
...
@@ -289,4 +323,46 @@ color: #e5e5e5;
...
@@ -289,4 +323,46 @@ color: #e5e5e5;
background-color
:
transparent
;
background-color
:
transparent
;
color
:
#409eff
;
color
:
#409eff
;
}
}
\ No newline at end of file
/* Mobile: 2 tab buttons per row 卡片排名页面手机端 一行俩按钮*/
@media
(
max-width
:
768px
)
{
/* turn the tab list into a wrapping flex row */
.nav-tabs
{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-between
;
/* spreads pairs nicely */
border-bottom
:
1px
solid
black
;
/* keep your existing border */
}
/* kill Bootstrap's float on mobile and make each li half width */
.nav-tabs
>
li
{
float
:
none
;
/* override Bootstrap float */
flex
:
0
0
50%
;
/* 2 per row */
max-width
:
50%
;
text-align
:
center
;
margin
:
0
0
20px
0
;
box-sizing
:
border-box
;
}
/* make the clickable area fill its half, reduce padding so images fit */
.nav-tabs
>
li
>
a
{
padding
:
4px
6px
;
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
border
:
3px
solid
transparent
;
}
/* override your fixed desktop size (156x93) with smaller, fluid size */
.nav-tabs
>
li
>
a
>
.tab-img
{
width
:
100%
;
height
:
auto
;
max-width
:
120px
;
max-height
:
72px
;
display
:
block
;
margin
:
0
auto
;
}
}
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