added more functions to site
This commit is contained in:
parent
e333647f62
commit
4e2a22fb6c
3 changed files with 135 additions and 0 deletions
51
assets/css/common/header.css
Normal file
51
assets/css/common/header.css
Normal file
File diff suppressed because one or more lines are too long
8
assets/css/common/profile-mode.css
Normal file
8
assets/css/common/profile-mode.css
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
.button:hover {
|
||||||
|
-webkit-transform: scale(1.1);
|
||||||
|
-moz-transform: scale(1.1);
|
||||||
|
-ms-transform: scale(1.1);
|
||||||
|
-o-transform: scale(1.1);
|
||||||
|
/* box-shadow: 0 0 0 1px grey; */
|
||||||
|
transform: scale(1.1) translateZ(0) translate3d(0, 0, 0) rotate(0.01deg);
|
||||||
|
}
|
76
assets/css/extended/blank.css
Normal file
76
assets/css/extended/blank.css
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
:root {
|
||||||
|
--nav-width: 1380px;
|
||||||
|
--article-width: 650px;
|
||||||
|
--toc-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc {
|
||||||
|
margin: 0 2px 40px 2px;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
background: var(--entry);
|
||||||
|
border-radius: var(--radius);
|
||||||
|
padding: 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc-container.wide {
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
border-right: 1px solid var(--border);
|
||||||
|
left: calc((var(--toc-width) + var(--gap)) * -1);
|
||||||
|
top: calc(var(--gap) * 2);
|
||||||
|
width: var(--toc-width);
|
||||||
|
}
|
||||||
|
|
||||||
|
.wide .toc {
|
||||||
|
position: sticky;
|
||||||
|
top: var(--gap);
|
||||||
|
border: unset;
|
||||||
|
background: unset;
|
||||||
|
border-radius: unset;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 2px 40px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc details summary {
|
||||||
|
cursor: zoom-in;
|
||||||
|
margin-inline-start: 20px;
|
||||||
|
padding: 12px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc details[open] summary {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc-container.wide .toc .inner {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
font-size: 110%;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc ul {
|
||||||
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc .inner {
|
||||||
|
margin: 0 0 0 20px;
|
||||||
|
padding: 0px 15px 15px 20px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc li ul {
|
||||||
|
margin-inline-start: calc(var(--gap) * 0.5);
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc li {
|
||||||
|
list-style: none;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toc li a:hover {
|
||||||
|
color: var(--secondary);
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue