Website/docs/assets/css/style.css

316 lines
5.9 KiB
CSS
Raw Normal View History

2023-03-02 21:09:33 -05:00
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Source+Sans+Pro:wght@400;700&display=swap");
2023-03-02 21:10:18 -05:00
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
2023-03-02 21:09:33 -05:00
aki-button,
*[aki-button],
*.aki-button {
background-color: #ffc107;
border: none;
border-radius: 0.125rem;
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
color: #000;
cursor: pointer;
font-size: 1rem;
padding: 0.5rem 1rem;
text-decoration: none;
user-select: none;
}
aki-button:hover:not(:active),
*[aki-button]:hover:not(:active),
*.aki-button:hover:not(:active) {
filter: invert(0.15);
}
aki-button:active,
*[aki-button]:active,
*.aki-button:active {
2023-03-02 21:10:18 -05:00
background: #080808;
2023-03-02 21:09:33 -05:00
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
color: #fff;
}
aki-card,
*.aki-card,
*[aki-card] {
2023-03-02 21:10:18 -05:00
background: #080808;
2023-03-02 21:09:33 -05:00
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
border-radius: 0.125rem;
color: #fff;
display: flex;
flex-direction: column;
2023-03-02 21:11:15 -05:00
max-width: 60ch;
2023-03-02 21:09:33 -05:00
padding: 1.25rem 1.5rem;
}
aki-card aki-card-title *.aki-card-title,
aki-card *[aki-card-title],
*.aki-card aki-card-title *.aki-card-title,
*.aki-card *[aki-card-title],
*[aki-card] aki-card-title *.aki-card-title,
*[aki-card] *[aki-card-title] {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 1rem;
text-transform: uppercase;
}
aki-card.elevated-card,
*.aki-card.elevated-card,
*[aki-card].elevated-card {
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
[aki-divider],
.aki-divider {
background: #fff;
border: none;
height: 0.0625rem;
width: 100%;
}
aki-toolbar,
*[aki-toolbar],
*.aki-toolbar {
align-items: center;
2023-03-02 21:10:18 -05:00
background-color: #080808;
2023-03-02 21:09:33 -05:00
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
color: #fff;
display: flex;
flex-wrap: wrap;
height: 100%;
justify-content: flex-start;
max-height: 5.5rem;
min-width: 20rem;
width: 100%;
2023-03-02 21:10:18 -05:00
z-index: 2;
2023-03-02 21:09:33 -05:00
}
aki-toolbar a,
*[aki-toolbar] a,
*.aki-toolbar a {
color: #fff;
text-decoration: none;
}
aki-toolbar nav,
*[aki-toolbar] nav,
*.aki-toolbar nav {
align-items: center;
display: flex;
}
aki-toolbar nav a,
*[aki-toolbar] nav a,
*.aki-toolbar nav a {
2023-03-02 21:10:18 -05:00
border-bottom: 0.25rem solid #080808;
2023-03-02 21:09:33 -05:00
cursor: pointer;
padding: 1rem;
letter-spacing: 0.0178571429em;
line-height: 1.25rem;
transition: 0.25s ease-in-out;
}
aki-toolbar nav a:hover,
*[aki-toolbar] nav a:hover,
*.aki-toolbar nav a:hover {
filter: invert(0.2);
}
aki-toolbar nav a[active],
*[aki-toolbar] nav a[active],
*.aki-toolbar nav a[active] {
border-bottom: 0.25rem solid #ffc107;
}
html {
2023-03-02 21:10:18 -05:00
font-size: 100%;
2023-03-02 21:09:33 -05:00
}
body {
display: flex;
flex-direction: column;
2023-03-02 21:10:18 -05:00
font-family: "Roboto", sans-serif;
font-weight: 400;
2023-03-02 21:09:33 -05:00
height: 100vh;
2023-03-02 21:10:18 -05:00
line-height: 1.75;
2023-03-02 21:09:33 -05:00
margin: 0;
padding: 0;
width: 100vw;
}
2023-03-02 21:10:18 -05:00
p {
margin-bottom: 1rem;
}
h1,
h2,
h3,
h4,
h5 {
margin: 3rem 0 1.38rem;
font-family: "Roboto", sans-serif;
font-weight: 400;
line-height: 1.3;
}
h1 {
2023-03-02 21:10:34 -05:00
font-size: 4.209rem;
2023-03-02 21:10:18 -05:00
}
h2 {
2023-03-02 21:10:34 -05:00
font-size: 3.157rem;
2023-03-02 21:10:18 -05:00
}
h3 {
2023-03-02 21:10:34 -05:00
font-size: 2.369rem;
2023-03-02 21:10:18 -05:00
}
h4 {
2023-03-02 21:10:34 -05:00
font-size: 1.777rem;
2023-03-02 21:10:18 -05:00
}
h5 {
2023-03-02 21:10:34 -05:00
font-size: 1.333rem;
2023-03-02 21:10:18 -05:00
}
small,
.text_small {
2023-03-02 21:10:34 -05:00
font-size: 0.75rem;
2023-03-02 21:10:18 -05:00
}
2023-03-02 21:09:33 -05:00
header .left,
header .center,
header .right {
align-items: inherit;
display: inherit;
height: calc(100% - 2rem);
padding: 1rem;
}
header .left .logo {
display: block;
filter: invert(1);
height: 3rem;
width: 3rem;
}
header .left .title {
font-size: 1.75rem;
2023-03-02 21:10:18 -05:00
font-weight: 700;
2023-03-02 21:09:33 -05:00
letter-spacing: 0.03125em;
margin-left: 1rem;
}
@media (max-width: 48em) {
header .left .title {
margin-left: 0;
}
}
header .right {
flex: 1 1 auto;
justify-content: flex-end;
2023-03-02 21:10:18 -05:00
text-transform: uppercase;
2023-03-02 21:09:33 -05:00
}
header .right .dropdown-button {
display: none;
}
main {
display: flex;
flex-direction: row;
height: 100%;
overflow: auto;
width: 100%;
}
main aside {
2023-03-02 21:10:18 -05:00
background: #080808;
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
2023-03-02 21:09:33 -05:00
color: #fff;
2023-03-02 21:10:18 -05:00
max-width: 20rem;
2023-03-02 21:09:33 -05:00
overflow-y: auto;
2023-03-02 21:10:18 -05:00
width: 100%;
2023-03-02 21:09:33 -05:00
z-index: 1;
}
2023-03-02 21:10:18 -05:00
main aside nav {
margin: 1rem 0;
2023-03-02 21:09:33 -05:00
}
2023-03-02 21:10:18 -05:00
main aside nav a,
main aside nav div {
display: block;
padding: 0.25rem 0.5rem 0.25rem 1rem;
width: calc(100% - 1.5rem);
2023-03-02 21:09:33 -05:00
}
2023-03-02 21:10:18 -05:00
main aside nav ul {
2023-03-02 21:09:33 -05:00
list-style: none;
margin: 0;
2023-03-02 21:10:18 -05:00
padding-left: 1rem;
2023-03-02 21:09:33 -05:00
}
2023-03-02 21:10:18 -05:00
main aside nav a {
2023-03-02 21:09:33 -05:00
color: #fff;
}
2023-03-02 21:10:18 -05:00
main aside nav a:hover {
2023-03-02 21:09:33 -05:00
filter: invert(0.15);
}
2023-03-02 21:10:18 -05:00
main aside nav a.active {
2023-03-02 21:09:33 -05:00
color: #ffc107;
}
2023-03-02 21:10:18 -05:00
main aside nav .node div {
align-items: center;
2023-03-02 21:10:18 -05:00
cursor: pointer;
display: flex;
justify-content: space-between;
2023-03-02 21:10:18 -05:00
}
main aside nav .node div img {
display: block;
max-height: 1.5rem;
max-width: 1.5rem;
2023-03-02 21:10:18 -05:00
}
main aside nav .node ul {
overflow: hidden;
}
main aside nav .node.hide ul {
max-height: 0 !important;
}
main aside nav .node.hide div img {
transform: rotate(-90deg);
}
2023-03-02 21:10:18 -05:00
main article {
background: #1f1f1f;
2023-03-02 21:09:33 -05:00
color: #fff;
overflow: auto;
2023-03-02 21:10:18 -05:00
padding: 1rem 27.1% 1rem 10.4%;
width: 62.5%;
2023-03-02 21:09:33 -05:00
}
2023-03-02 21:10:40 -05:00
@media (max-width: 64em) {
main article {
padding: 1rem;
width: calc(100% - 2rem);
}
2023-03-02 21:09:33 -05:00
}
a {
color: #ffc107;
text-decoration: none;
}
2023-03-02 21:10:07 -05:00
.doc-typography table {
text-align: left;
}
2023-03-02 21:09:33 -05:00
.doc-typography blockquote {
2023-03-02 21:10:18 -05:00
background: rgba(255, 255, 255, 0.125);
border-radius: 4px;
margin: 0;
padding: 0.5rem 0.7rem;
2023-03-02 21:09:33 -05:00
}
2023-03-02 21:10:18 -05:00
.doc-typography blockquote p {
margin: 0;
2023-03-02 21:09:33 -05:00
}
2023-03-02 21:10:40 -05:00
.doc-typography img {
max-width: 100%;
}
.doc-typography pre,
.doc-typography code {
background: #101010 !important;
}
.doc-typography blockquote {
background: #181818;
color: #ccc;
}
.doc-typography code {
padding: 0.125rem 0.25rem;
}
.doc-typography blockquote,
.doc-typography code {
border-radius: 0.125rem;
}
2023-03-02 21:09:33 -05:00
/*# sourceMappingURL=style.css.map */