Merge branch 'main' of http://10.1.1.5:8418/acdiu/AcdiuTools
This commit is contained in:
@@ -9,10 +9,7 @@
|
||||
}
|
||||
@media (min-width: 3840px) {
|
||||
:root {
|
||||
/* 逻辑:从 3840px 开始,字号从 24px 线性向上。
|
||||
公式:(24 / 3840) * 100vw = 0.625vw
|
||||
*/
|
||||
font-size: 0.625vw;
|
||||
font-size: clamp(20px, 0.5208333333vw, 100vw);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +51,33 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* 这里的 1rem 会随着 :root 的 font-size 变化而自动缩放 */
|
||||
/* --- 工具与组件样式 --- */
|
||||
.nav-link:visited {
|
||||
color: inherit;
|
||||
}
|
||||
.nav-link.active {
|
||||
font-weight: bold;
|
||||
color: var(--bs-link-hover-color, rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1))) !important;
|
||||
border-bottom: 2px solid var(--bs-link-hover-color, rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)));
|
||||
}
|
||||
|
||||
.p-r-t {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.mg-0 {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: var(--bs-link-hover-color, rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)));
|
||||
}
|
||||
a:visited {
|
||||
color: var(--bs-purple, rgba(var(--bs-primary), var(--bs-link-opacity, 0.8)));
|
||||
}
|
||||
|
||||
.w-1r {
|
||||
width: 1rem;
|
||||
}
|
||||
@@ -63,17 +86,74 @@
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
font-weight: bold;
|
||||
color: var(--bs-primary) !important;
|
||||
border-bottom: 2px solid var(--bs-primary);
|
||||
.w-1_5r {
|
||||
width: 1.5rem;
|
||||
}
|
||||
|
||||
.p-r-t {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
.h-1_5r {
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
mg-0 {
|
||||
margin: 0 auto;
|
||||
.w-2r {
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.h-2r {
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.w-2_5r {
|
||||
width: 2.5rem;
|
||||
}
|
||||
|
||||
.h-2_5r {
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
.w-3r {
|
||||
width: 3rem;
|
||||
}
|
||||
|
||||
.h-3r {
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
.w-3_5r {
|
||||
width: 3.5rem;
|
||||
}
|
||||
|
||||
.h-3_5r {
|
||||
height: 3.5rem;
|
||||
}
|
||||
|
||||
.w-4r {
|
||||
width: 4rem;
|
||||
}
|
||||
|
||||
.h-4r {
|
||||
height: 4rem;
|
||||
}
|
||||
|
||||
.w-4_5r {
|
||||
width: 4.5rem;
|
||||
}
|
||||
|
||||
.h-4_5r {
|
||||
height: 4.5rem;
|
||||
}
|
||||
|
||||
.w-5r {
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
.h-5r {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
.w-5_5r {
|
||||
width: 5.5rem;
|
||||
}
|
||||
|
||||
.h-5_5r {
|
||||
height: 5.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user