LunaTranslator/docs/style.css

186 lines
3.5 KiB
CSS
Raw Normal View History

2024-07-18 22:44:18 +08:00
:root {
/* Change link's style */
--link-color: var(--theme-color);
--link-text-decoration: none;
/* Change navbar's style*/
--sidebar-nav-pagelink-background-image: none;
--sidebar-nav-link-before-content-l3: none;
2024-07-18 23:37:37 +08:00
--content-max-width: calc(max(60%, 1000px));
2024-07-18 22:44:18 +08:00
}
/* Fix sidebar fold arrow */
.sidebar-nav li>a[href^='#/']:not([href*='?id=']):not(:only-child) {
background-image: var(--sidebar-nav-pagelink-background-image--collapse,
var(--sidebar-nav-pagelink-background-image--loaded,
var(--sidebar-nav-pagelink-background-image)));
background-position: var(--sidebar-nav-pagelink-background-position--collapse,
var(--sidebar-nav-pagelink-background-position--loaded,
var(--sidebar-nav-pagelink-background-image)));
}
.sidebar-nav li.open>a[href^='#/']:not([href*='?id=']):not(:only-child) {
background-image: var(--sidebar-nav-pagelink-background-image--active,
var(--sidebar-nav-pagelink-background-image--loaded,
var(--sidebar-nav-pagelink-background-image)));
background-position: var(--sidebar-nav-pagelink-background-position--active,
var(--sidebar-nav-pagelink-background-position--loaded,
var(--sidebar-nav-pagelink-background-image)));
}
.markdown-section {
border: 1px solid deepskyblue;
margin-top: 60px;
margin-bottom: 10px;
border-radius: 5px;
}
.app-nav {
font-size: 21px;
}
.dropdown {
position: relative;
display: inline-block;
}
2024-09-18 12:30:18 +08:00
.clickcopy {
display: inline-block;
}
.clickcopytoast {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
background-color: #333;
color: white;
padding: 16px;
border-radius: 5px;
z-index: 1000;
}
2024-07-18 22:44:18 +08:00
.dropdown-content {
display: none;
position: absolute;
2024-07-19 00:08:52 +08:00
background-color: white;
2024-07-18 22:44:18 +08:00
}
2024-07-19 00:28:56 +08:00
.goodlink,
.goodlinknormal {
2024-07-18 22:44:18 +08:00
text-decoration: none;
color: black;
line-height: 50px;
display: block;
}
2024-07-19 00:28:56 +08:00
.goodlink:hover,
.goodlinkhover {
2024-07-18 22:44:18 +08:00
color: deepskyblue;
2024-07-19 00:08:52 +08:00
background-color: rgba(255, 192, 203, 0.3);
2024-07-18 22:44:18 +08:00
}
.buttonsize {
width: 180px;
line-height: 50px;
}
.buttonitem {
display: inline-block;
text-align: center;
}
.header {
2024-07-19 00:28:56 +08:00
width: 100%;
2024-07-18 22:44:18 +08:00
font-size: 21px;
position: fixed;
2024-07-19 00:28:56 +08:00
top: 0px;
2024-07-18 22:44:18 +08:00
height: 50px;
box-shadow: 0 0 4px 1px gray;
z-index: 100;
background-color: #ffffff80;
backdrop-filter: blur(4px);
}
.backgroud {
/* background-image: url("./luna.jpg"); */
background-size: 100% auto;
content: '';
opacity: 0.33;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -2;
}
2024-07-19 00:28:56 +08:00
.sidebar,
.sidebar-toggle {
2024-07-18 22:44:18 +08:00
position: fixed;
2024-07-19 00:28:56 +08:00
top: 50px;
}
2024-07-19 13:58:43 +08:00
.sidebarresizer {
width: 5px;
height: 100%;
position: absolute;
right: 0;
top: 0;
cursor: ew-resize;
}
2024-07-19 00:28:56 +08:00
.github-corner {
position: fixed;
top: 50px;
2024-07-18 22:44:18 +08:00
}
.buttons {
align-items: center;
display: flex;
justify-content: center;
white-space: nowrap;
2024-07-18 23:25:50 +08:00
}
2024-07-19 00:45:26 +08:00
/*
2024-07-18 23:37:37 +08:00
main {
min-height: 0vh;
2024-07-18 23:25:50 +08:00
}
2024-07-18 23:37:37 +08:00
main .markdown-section {
2024-07-18 23:25:50 +08:00
display: none;
2024-07-19 00:45:26 +08:00
}
2024-07-19 20:02:36 +08:00
*/
2024-07-26 00:21:19 +08:00
.manytables {
/* border: 1px solid black; */
border-top: 1px solid black;
border-bottom: 1px solid black;
/*border-collapse: collapse;*/
}
.manytables2 {
padding-left: 10px;
padding-right: 10px;
text-align: center;
/*margin: 10px;*/
/* margin-left: auto;
margin-right: auto; */
}
.clickable {
cursor: pointer;
}
2024-09-18 12:30:18 +08:00
.centertable {
2024-07-26 00:21:19 +08:00
align-items: center;
display: flex;
justify-content: center;
}