138 lines
1.9 KiB
SCSS
Executable File
138 lines
1.9 KiB
SCSS
Executable File
@import "variables";
|
|
@import "bootstrap";
|
|
|
|
@import "../fonts/JetBrainsMono";
|
|
|
|
@import "keylighter";
|
|
@import "sidebar";
|
|
@import "docs";
|
|
|
|
$footer-height: 60px;
|
|
|
|
html {
|
|
position: relative;
|
|
min-height: 100%;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
body {
|
|
margin-bottom: $footer-height;
|
|
}
|
|
|
|
#content {
|
|
padding: 5rem 0;
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
#footer {
|
|
padding: 1rem;
|
|
line-height: 2rem;
|
|
background: $gray-100;
|
|
border-top: 1px solid $gray-300;
|
|
vertical-align: middle;
|
|
height: $footer-height;
|
|
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0; right: 0;
|
|
|
|
span, a {
|
|
display: inline-block;
|
|
line-height: 2rem;
|
|
}
|
|
|
|
img {
|
|
display: inline-block;
|
|
margin-left: .3rem;
|
|
height: 2rem;
|
|
vertical-align: middle;
|
|
margin-top: -4px;
|
|
}
|
|
}
|
|
|
|
|
|
.timing {
|
|
height: 1.5rem;
|
|
|
|
.progress-bar {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.snippet {
|
|
> nav, > aside, > pre, > section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
aside {
|
|
font-weight: bolder;
|
|
}
|
|
}
|
|
|
|
#try-form {
|
|
padding: 1rem 0;
|
|
color: $foreground;
|
|
background: $color-dark;
|
|
|
|
textarea, label, input {
|
|
font-family: $font-family-monospace;
|
|
}
|
|
|
|
textarea, input {
|
|
border-radius: 0;
|
|
border: none;
|
|
background: $background;
|
|
color: $foreground;
|
|
}
|
|
|
|
textarea {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
&.hidden {
|
|
display: none;
|
|
}
|
|
|
|
&.visible {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.d-flex.dual {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav-item > a.slim {
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
#form-toggle {
|
|
&.visible svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
svg {
|
|
transition: transform 300ms ease, color 100ms ease;
|
|
}
|
|
}
|
|
|
|
#language-selector {
|
|
> a.language {
|
|
margin-bottom: .5rem;
|
|
margin-right: .5rem;
|
|
|
|
display: none;
|
|
}
|
|
|
|
margin-bottom: -.5rem;
|
|
|
|
&.standalone > a.standalone { display: inline-block }
|
|
&.embeddable > a.embeddable { display: inline-block }
|
|
|
|
a.hidden { display: none !important; }
|
|
}
|