mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-26 23:24:13 +08:00
186 lines
3.5 KiB
CSS
186 lines
3.5 KiB
CSS
: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;
|
|
--content-max-width: calc(max(60%, 1000px));
|
|
}
|
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: white;
|
|
}
|
|
|
|
.goodlink,
|
|
.goodlinknormal {
|
|
text-decoration: none;
|
|
color: black;
|
|
line-height: 50px;
|
|
display: block;
|
|
|
|
}
|
|
|
|
.goodlink:hover,
|
|
.goodlinkhover {
|
|
color: deepskyblue;
|
|
background-color: rgba(255, 192, 203, 0.3);
|
|
}
|
|
|
|
|
|
.buttonsize {
|
|
width: 180px;
|
|
line-height: 50px;
|
|
}
|
|
|
|
.buttonitem {
|
|
display: inline-block;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.header {
|
|
width: 100%;
|
|
font-size: 21px;
|
|
position: fixed;
|
|
top: 0px;
|
|
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;
|
|
}
|
|
|
|
.sidebar,
|
|
.sidebar-toggle {
|
|
position: fixed;
|
|
top: 50px;
|
|
}
|
|
|
|
.sidebarresizer {
|
|
width: 5px;
|
|
height: 100%;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
cursor: ew-resize;
|
|
}
|
|
|
|
.github-corner {
|
|
position: fixed;
|
|
top: 50px;
|
|
}
|
|
|
|
.buttons {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
/*
|
|
main {
|
|
min-height: 0vh;
|
|
}
|
|
|
|
main .markdown-section {
|
|
display: none;
|
|
}
|
|
*/
|
|
|
|
|
|
.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;
|
|
}
|
|
|
|
.centertable {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
} |