You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lnav/docs/assets/main.scss

84 lines
1.1 KiB
SCSS

---
---
@import "{{ site.theme }}";
#playground-box {
font-size: x-large;
border-radius: 25px;
background: #8d8;
padding: 20px;
display: inline-block;
}
#playground-box h4 {
margin-bottom: 0;
}
#playground-box code {
padding-left: 20px;
background: #444;
border-color: #444;
}
#playground-box code a {
padding-right: 20px;
color: white;
}
#playground-box .prompt {
color: #4f4;
}
pre.highlight {
padding: 8px 12px;
position: relative;
// override skeleton styles
> code {
border: 0;
overflow-x: auto;
padding-right: 0;
padding-left: 0;
}
&.highlight {
border-left: 15px solid #35383c;
color: #c1c2c3;
overflow: auto;
white-space: pre;
word-wrap: normal;
&,
code {
background-color: #222;
font-size: 14px;
}
}
// code to clipboard
.copy {
color: #4AF626;
position: absolute;
right: 1.2rem;
top: 1.2rem;
opacity: 0;
&:active,
&:focus,
&:hover {
background: rgba(0, 0, 0, 0.7);
opacity: 1;
}
}
&:active .copy,
&:focus .copy,
&:hover .copy {
background: rgba(0, 0, 0, 0.7);
opacity: 1;
}
}