Website/docs/assets/css/style.css
2023-03-02 21:10:34 -05:00

466 lines
8.7 KiB
CSS

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Source+Sans+Pro:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
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 {
background: #080808;
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] {
background: #080808;
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;
font-size: 0.875rem;
letter-spacing: 0.0178571429em;
line-height: 1.25rem;
font-family: "Open Sans", sans-serif;
max-width: calc(25rem - 3rem);
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-family: "Source Sans Pro", sans-serif;
font-size: 1.25rem;
font-weight: 700;
letter-spacing: 0.009375em;
line-height: 1.75rem;
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;
background-color: #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);
color: #fff;
display: flex;
flex-wrap: wrap;
height: 100%;
justify-content: flex-start;
max-height: 5.5rem;
min-width: 20rem;
width: 100%;
z-index: 2;
}
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 {
border-bottom: 0.25rem solid #080808;
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 {
font-size: 100%;
}
body {
display: flex;
flex-direction: column;
font-family: "Roboto", sans-serif;
font-weight: 400;
height: 100vh;
line-height: 1.75;
margin: 0;
padding: 0;
width: 100vw;
}
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 {
font-size: 4.209rem;
font-weight: 700;
}
h2 {
font-size: 3.157rem;
}
h3 {
font-size: 2.369rem;
}
h4 {
font-size: 1.777rem;
}
h5 {
font-size: 1.333rem;
}
small,
.text_small {
font-size: 0.75rem;
}
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;
font-weight: 700;
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;
text-transform: uppercase;
/*
@media (max-width: 64em) {
&.dropdown {
align-items: center;
cursor: pointer;
display: flex;
justify-content: center;
min-width: 4rem;
float: left;
overflow: hidden;
&:hover .dropdown-content {
// display: block;
background: $primary;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
display: flex;
flex-direction: column;
padding: 1rem;
right: 0;
top: 5.5rem;
}
.dropdown-button {
display: initial;
}
.dropdown-content {
display: none;
position: absolute;
z-index: 1;
}
}
}
*/
}
header .right .dropdown-button {
display: none;
}
main {
display: flex;
flex-direction: row;
height: 100%;
overflow: auto;
width: 100%;
}
main aside {
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);
color: #fff;
max-width: 20rem;
overflow-y: auto;
width: 100%;
z-index: 1;
}
main aside nav {
margin: 1rem 0;
}
main aside nav a,
main aside nav div {
display: block;
padding: 0.25rem 0.5rem 0.25rem 1rem;
width: calc(100% - 1.5rem);
}
main aside nav ul {
list-style: none;
margin: 0;
padding-left: 1rem;
}
main aside nav a {
color: #fff;
}
main aside nav a:hover {
filter: invert(0.15);
}
main aside nav a.active {
color: #ffc107;
}
main aside nav .node.hide ul {
max-height: 0 !important;
}
main aside nav .node.hide div::after {
transform: rotate(-90deg);
}
main aside nav .node div {
cursor: pointer;
display: flex;
}
main aside nav .node div::after {
content: "🔽";
margin-right: 1rem;
text-align: right;
}
main aside nav .node ul {
overflow: hidden;
}
main article {
background: #1f1f1f;
color: #fff;
overflow: auto;
padding: 1rem 27.1% 1rem 10.4%;
width: 62.5%;
}
main article img {
max-width: 100%;
}
a {
color: #ffc107;
text-decoration: none;
}
.doc-typography {
/*
p,
pre ul,
li,
blockquote,
span,
code {
font-size: .875rem;
font-weight: 400;
letter-spacing: .03125em;
line-height: 1.5rem;
}
pre,
code {
background: $code !important;
}
blockquote,
code,
.doc-alert,
.doc-info,
.doc-warning,
.doc-note {
border-radius: $border-radius;
}
blockquote,
code,
pre,
.doc-alert,
.doc-info,
.doc-warning,
.doc-note {
padding: $padding;
}
blockquote,
code,
pre,
li,
.doc-alert,
.doc-info,
.doc-warning,
.doc-note {
margin: $margin;
}
blockquote {
background: $blockquote;
color: $on-blockquote;
}
// for url/links
// span,
a {
color: $accent;
cursor: pointer;
text-decoration: none;
&:hover {
filter: invert(.15);
}
}
img {
max-width: 100%;
}
.doc-alert,
.doc-info,
.doc-warning,
.doc-note {
box-shadow: $elevation-z2;
}
.doc-alert {
background: $alert;
color: $on-alert;
&::before {
content: "Alert";
display: block;
font-weight: 700;
margin: 0 0 .25rem 0;
}
}
.doc-info {
background: $info;
color: $on-info;
&::before {
content: "Info";
display: block;
font-weight: 700;
margin: 0 0 .25rem 0;
}
}
.doc-warning {
background: $warning;
color: $on-warning;
&::before {
content: "Warning";
display: block;
font-weight: 700;
margin: 0 0 .25rem 0;
}
}
.doc-note {
background: $note;
color: $on-note;
&::before {
content: "Note";
display: block;
font-weight: 700;
margin: 0 0 .25rem 0;
}
}
*/
}
.doc-typography table {
text-align: left;
}
.doc-typography blockquote {
background: rgba(255, 255, 255, 0.125);
border-radius: 4px;
margin: 0;
padding: 0.5rem 0.7rem;
}
.doc-typography blockquote p {
margin: 0;
}
/*# sourceMappingURL=style.css.map */