first commit
This commit is contained in:
commit
1b1cd2e064
175 changed files with 7095 additions and 0 deletions
286
scss/style.scss
Normal file
286
scss/style.scss
Normal file
|
|
@ -0,0 +1,286 @@
|
|||
* {
|
||||
font-family: Roboto, sans-serif;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 16px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: var(--leptonic-vh, 100vh);
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@import "../generated/leptonic/leptonic-themes";
|
||||
|
||||
[data-theme="light"] {
|
||||
--brand-color: #e66956;
|
||||
|
||||
--drawer-background-color: none;
|
||||
--drawer-box-shadow: none;
|
||||
|
||||
--book-menu-background-color: var(--box-background-color);
|
||||
--book-menu-header-color: #3e3434;
|
||||
--book-menu-item-color: #3e3434;
|
||||
--book-menu-item-active-color: var(--std-text-bright);
|
||||
--book-menu-item-hover-color: var(--std-text-bright);
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
--brand-color: #e66956;
|
||||
|
||||
--drawer-background-color: none;
|
||||
--drawer-box-shadow: none;
|
||||
|
||||
--book-menu-background-color: var(--box-background-color);
|
||||
--book-menu-header-color: var(--std-text-bright);
|
||||
--book-menu-item-color: var(--std-text-bright);
|
||||
--book-menu-item-active-color: var(--std-text-bright);
|
||||
--book-menu-item-hover-color: var(--std-text-bright);
|
||||
}
|
||||
|
||||
#app-bar {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
#app-bar-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
max-width: 1450px;
|
||||
|
||||
#mobile-menu-trigger {
|
||||
font-size: 1.5em;
|
||||
padding: 0.7em;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: inline-flex;
|
||||
height: 2.5em;
|
||||
width: 2.5em;
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
#github-icon {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
#content {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#main-drawer {
|
||||
overflow: none;
|
||||
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: var(--app-bar-height);
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
||||
width: 100%;
|
||||
|
||||
background-color: var(--book-menu-background-color);
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
#doc-layout {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
max-width: 1400px;
|
||||
margin: auto;
|
||||
|
||||
#doc-drawer {
|
||||
overflow: auto;
|
||||
width: auto;
|
||||
min-width: 15em;
|
||||
padding: 1em 0;
|
||||
margin: 0;
|
||||
|
||||
&.mobile {
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
overflow: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: var(--app-bar-height);
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: var(--book-menu-background-color);
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.drawer-section {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
margin: 1em 0;
|
||||
padding-left: 3.5em;
|
||||
font-size: 0.9em;
|
||||
|
||||
.section-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
color: var(--book-menu-header-color);
|
||||
font-weight: 900;
|
||||
margin-bottom: 0.25em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 100%;
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
color: var(--book-menu-item-color);
|
||||
font-weight: 400;
|
||||
border-radius: 0.4em;
|
||||
padding: 0.25em 0.75em;
|
||||
margin: 0.075em 0.75em;
|
||||
margin-left: 1.5em;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
a[aria-current] {
|
||||
background-color: var(--brand-color);
|
||||
color: var(--book-menu-item-active-color);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: var(--brand-color);
|
||||
color: var(--book-menu-item-hover-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 800px) {
|
||||
.menu {
|
||||
display: block;
|
||||
column-count: 2;
|
||||
column-gap: 0;
|
||||
column-fill: balance;
|
||||
|
||||
}
|
||||
|
||||
.drawer-section {
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#doc-content {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 0 1.5em;
|
||||
padding-bottom: 6em;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.search-link {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
padding: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
#welcome-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 1em;
|
||||
|
||||
#big-logo {
|
||||
height: 10em;
|
||||
width: 10em;
|
||||
margin: 3.5em 0;
|
||||
}
|
||||
|
||||
#slogan {
|
||||
font-family: monospace;
|
||||
font-size: 4em;
|
||||
letter-spacing: 0.2em;
|
||||
margin-top: 0em;
|
||||
}
|
||||
|
||||
#sub-slogan {
|
||||
font-size: 1.75em;
|
||||
max-width: 75%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
#big-logo {
|
||||
margin: 2.5em 0;
|
||||
}
|
||||
|
||||
#slogan {
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
#sub-slogan {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.err-404 {
|
||||
margin: auto;
|
||||
max-width: 60em;
|
||||
margin-top: 2em;
|
||||
width: 100%;
|
||||
|
||||
.info {
|
||||
#error {
|
||||
font-size: 6em;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
margin-bottom: 0.1em;
|
||||
}
|
||||
#whoops {
|
||||
font-size: 3em;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
margin-left: 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
margin-bottom: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
#back-btn {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
#ferris {
|
||||
height: 14em;
|
||||
width: auto;
|
||||
margin-top: 2em;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue