菜鸟工具,网址导航,在线工具”>
.navbar-nav .nav-item {
white-space: nowrap; /* 防止li内部换行 */
}
.navbar-nav .nav-link {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; /* 防止链接文字换行 */
}
.navbar,.page-footer {
background: rgb(75, 81, 104);
border-width: 0px 0px 3px;
border-bottom: 3px solid transparent;
border-image: linear-gradient(90deg, rgb(141, 66, 108) 16%, rgb(81, 153, 211) 16%, rgb(81, 153, 211) 32%, rgb(34, 201, 148) 32%, rgb(34, 201, 148) 48%, rgb(240, 198, 18), 48%, rgb(240, 198, 18), 64%, rgb(255, 171, 77) 64%, rgb(255, 171, 77) 82%, rgb(210, 70, 93) 82%) 1 / 1 / 0 stretch;
}
.page-footer {
border-top: 3px solid transparent;
border-width: 3px 0px 0px;
}
var is_home = false;
is_home = true;
function setNavScrollerTop() {
var navHeight = $(‘.navbar’).outerHeight();
$(‘#navScroller’).css(‘top’, navHeight);
}
// 初始化时设置
setNavScrollerTop();
// 页面大小改变时重新设置
$(window).resize(setNavScrollerTop);
document.querySelector(‘.form-control’).addEventListener(‘keypress’, function(event) {
if (event.key === ‘Enter’ || event.keyCode === 13) {
// 阻止默认行为(例如在输入框中插入换行)
event.preventDefault();
document.querySelector(‘.form-inline’).submit(); // 回车键触发表单提交
}
});
自定义网址 |
当前时间
#currentTime2 .date {
letter-spacing: 0.05em;
font-family: “Share Tech Mono”, monospace;
font-size:20px;
-webkit-text-fill-color: transparent;
background: linear-gradient(to right, #ff6361, #ffa600, #3cb371, #4a90e2, #c71585);
-webkit-background-clip: text;
color: transparent;
margin: auto;
}
#currentTime, #currentTime2 .time {
font-family: “Share Tech Mono”, monospace;
background: linear-gradient(to right, #ff6361, #ffa600, #3cb371, #4a90e2, #c71585);
-webkit-background-clip: text;
color: transparent;
margin: auto;
}
搜索资源 | 更多
