added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
9
nyx/docs/templates/scss/components/code.scss
vendored
Normal file
9
nyx/docs/templates/scss/components/code.scss
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
div.sourceCode {
|
||||
border: 1px solid #3b373d;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
background-color: lighten($primary, 3%);
|
||||
overflow: scroll;
|
||||
max-width: 100%;
|
||||
border-radius: 8px;
|
||||
}
|
21
nyx/docs/templates/scss/components/table.scss
vendored
Normal file
21
nyx/docs/templates/scss/components/table.scss
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
margin: 30px 0px;
|
||||
|
||||
th,
|
||||
td {
|
||||
border: 1px solid #3b373d;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #141215;
|
||||
color: white;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #2b282d;
|
||||
}
|
||||
}
|
30
nyx/docs/templates/scss/components/toc.scss
vendored
Normal file
30
nyx/docs/templates/scss/components/toc.scss
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Table Of Content element injected by Pandoc
|
||||
#TOC {
|
||||
// better spacing
|
||||
margin: 20px;
|
||||
padding: 10px;
|
||||
|
||||
// TOC elements are considered links
|
||||
// so the below styling applies to all items
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: $secondary;
|
||||
|
||||
&:hover {
|
||||
color: lighten($secondary, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
// make sure all items are properly aligned in separate lines
|
||||
li,
|
||||
ul {
|
||||
list-style-type: square;
|
||||
margin-left: 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
// hide the TOC on mobile devices
|
||||
@media screen and (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue