formattage du scss

This commit is contained in:
Stanislas Jouffroy 2025-03-25 23:20:14 +01:00
parent 32f39949b3
commit ddfd444364
5 changed files with 787 additions and 493 deletions

View file

@ -9,33 +9,33 @@
@use 'foundation/stack'; @use 'foundation/stack';
main * { main * {
@extend %first-stack; @extend %first-stack;
} }
main { main {
* { * {
+ h1, + h2, + h3, + h4, + h5, + h6, + h1, + h2, + h3, + h4, + h5, + h6,
+ p, + p,
+ hr, + hr,
+ table, + table,
+ ul, + ul,
+ ol, + ol,
+ dl, + dl,
+ blockquote, + blockquote,
+ pre, + pre,
+ figure { + figure {
@extend %stack; @extend %stack;
} }
} }
li > ul, li > ul,
li > ol { li > ol {
@extend %unset-stack; @extend %unset-stack;
} }
} }
figure > figcaption { figure > figcaption {
@extend %none-stack; @extend %none-stack;
} }
.table_of_contents, .table_of_contents,
@ -48,299 +48,333 @@ figure > figcaption {
.button, .button,
.gist, .gist,
.twitter-tweet { .twitter-tweet {
@extend %stack; @extend %stack;
} }
.pagination { .pagination {
@include flexbox-grid-mixins.grid($flex-wrap: nowrap, $justify-content: space-between); @include flexbox-grid-mixins.grid($flex-wrap: nowrap, $justify-content: space-between);
font-weight: bold; font-weight: bold;
> * {
@extend %none-stack; > * {
} @extend %none-stack;
} }
.nav-prev {}
.nav-next {
margin-left: auto;
} }
@media screen and (max-width: #{map.get(variable.$default-breakpoints, xs )} ) { .nav-prev {
.pagination { }
@include flexbox-grid-mixins.grid($flex-flow: column nowrap, $justify-content: null, $align-items: center);
} .nav-next {
.nav-next { margin-left: auto;
margin-left: 0; }
}
@media screen and (max-width: #{map.get(variable.$default-breakpoints, xs )}) {
.pagination {
@include flexbox-grid-mixins.grid($flex-flow: column nowrap, $justify-content: null, $align-items: center);
}
.nav-next {
margin-left: 0;
}
} }
.panel { .panel {
--panel-font-color: #000; --panel-font-color: #000;
--panel-background-color: unset; --panel-background-color: unset;
--panel-border-color: transparent; --panel-border-color: transparent;
padding: variable.$default-layout-padding; padding: variable.$default-layout-padding;
color: var(--panel-font-color, #000); color: var(--panel-font-color, #000);
background: var(--panel-background-color, unset); background: var(--panel-background-color, unset);
border: 1px solid; border: 1px solid;
border-color: var(--panel-border-color, transparent); border-color: var(--panel-border-color, transparent);
a { a {
text-decoration: underline; text-decoration: underline;
font-weight: bold; font-weight: bold;
} }
} }
.panel-primary { .panel-primary {
--panel-border-color: #{variable.$default-border-color}; --panel-border-color: #{variable.$default-border-color};
}
.panel-notice {
--panel-font-color: #fff;
--panel-background-color: #b0b0b0;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-recipe {
--panel-font-color: #000;
--panel-background-color: #{variable.$light-grey-background-color};
--custom-link-text-color: #{variable.$default-link-text-color};
--custom-link-text-hover-color: #{variable.$default-link-text-hover-color};
}
.panel-success {
--panel-font-color: #fff;
--panel-background-color: #609f43;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-caution {
--panel-font-color: #fff;
--panel-background-color: #de776d;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-warning {
--panel-font-color: #fff;
--panel-background-color: #e67e22;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-danger {
--panel-font-color: #fff;
--panel-background-color: #{variable.$danger-background-color};
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
} }
.panel-header {} .panel-notice {
.panel-body {} --panel-font-color: #fff;
--panel-background-color: #b0b0b0;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-recipe {
--panel-font-color: #000;
--panel-background-color: #{variable.$light-grey-background-color};
--custom-link-text-color: #{variable.$default-link-text-color};
--custom-link-text-hover-color: #{variable.$default-link-text-hover-color};
}
.panel-success {
--panel-font-color: #fff;
--panel-background-color: #609f43;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-caution {
--panel-font-color: #fff;
--panel-background-color: #de776d;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-warning {
--panel-font-color: #fff;
--panel-background-color: #e67e22;
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-danger {
--panel-font-color: #fff;
--panel-background-color: #{variable.$danger-background-color};
--custom-link-text-color: #fff;
--custom-link-text-hover-color: #fff;
}
.panel-header {
}
.panel-body {
}
.button { .button {
display: inline-block; display: inline-block;
font-size: 120%; font-size: 120%;
padding: .5rem 1.2rem; padding: .5rem 1.2rem;
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
border-radius: .8rem; border-radius: .8rem;
--button-font-color: #000; --button-font-color: #000;
--button-font-hover-color: #000; --button-font-hover-color: #000;
--button-background-color: #{variable.$default-background-color}; --button-background-color: #{variable.$default-background-color};
--button-background-hover-color: #f7f7f7; --button-background-hover-color: #f7f7f7;
--button-border-color: #{variable.$default-border-color}; --button-border-color: #{variable.$default-border-color};
color: var(--button-font-color, #000); color: var(--button-font-color, #000);
background: var(--button-background-color, unset); background: var(--button-background-color, unset);
border: 2px solid ; border: 2px solid;
border-color: var(--button-border-color, transparent); border-color: var(--button-border-color, transparent);
&:hover { &:hover {
color: var(--button-font-hover-color, #000); color: var(--button-font-hover-color, #000);
text-decoration: none; text-decoration: none;
background: var(--button-background-hover-color, unset); background: var(--button-background-hover-color, unset);
} }
} }
.button-notice { .button-notice {
--button-font-color: #fff; --button-font-color: #fff;
--button-font-hover-color: #fff; --button-font-hover-color: #fff;
--button-background-color: #4ba0e1; --button-background-color: #4ba0e1;
--button-background-hover-color: #3b89c5; --button-background-hover-color: #3b89c5;
--button-border-color: transparent; --button-border-color: transparent;
} }
.button-success { .button-success {
--button-font-color: #fff; --button-font-color: #fff;
--button-font-hover-color: #fff; --button-font-hover-color: #fff;
--button-background-color: #369b08; --button-background-color: #369b08;
--button-background-hover-color: #256905; --button-background-hover-color: #256905;
--button-border-color: transparent; --button-border-color: transparent;
} }
.button-caution { .button-caution {
--button-font-color: #fff; --button-font-color: #fff;
--button-font-hover-color: #fff; --button-font-hover-color: #fff;
--button-background-color: #f56558; --button-background-color: #f56558;
--button-background-hover-color: #d45145; --button-background-hover-color: #d45145;
--button-border-color: transparent; --button-border-color: transparent;
} }
.button-warning { .button-warning {
--button-font-color: #fff; --button-font-color: #fff;
--button-font-hover-color: #fff; --button-font-hover-color: #fff;
--button-background-color: #f5811b; --button-background-color: #f5811b;
--button-background-hover-color: #db7012; --button-background-hover-color: #db7012;
--button-border-color: transparent; --button-border-color: transparent;
} }
.button-danger { .button-danger {
--button-font-color: #fff; --button-font-color: #fff;
--button-font-hover-color: #fff; --button-font-hover-color: #fff;
--button-background-color: #{variable.$danger-background-color}; --button-background-color: #{variable.$danger-background-color};
--button-background-hover-color: #a0281d; --button-background-hover-color: #a0281d;
--button-border-color: transparent; --button-border-color: transparent;
} }
.notification { .notification {
padding: .2rem variable.$default-layout-padding; padding: .2rem variable.$default-layout-padding;
text-align: center; text-align: center;
background: variable.$sidebar-active-color; background: variable.$sidebar-active-color;
} }
figure > figcaption h4 { figure > figcaption h4 {
font-size: 80%; font-size: 80%;
font-weight: normal; font-weight: normal;
} }
.table_of_contents { .table_of_contents {
font-size: 90%; font-size: 90%;
padding: variable.$default-layout-padding; padding: variable.$default-layout-padding;
border: 4px solid variable.$default-border-color; border: 4px solid variable.$default-border-color;
ul { ul {
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
} }
li {
border-top: 1px solid variable.$default-border-color;
}
> nav > ul > li:first-child {
border-top: unset;
}
ul > li li a { li {
margin-left: 2rem * 1; border-top: 1px solid variable.$default-border-color;
} }
ul ul > li li a {
margin-left: 2rem * 2; > nav > ul > li:first-child {
} border-top: unset;
ul ul ul > li li a { }
margin-left: 2rem * 3;
} ul > li li a {
ul ul ul ul > li li a { margin-left: 2rem * 1;
margin-left: 2rem * 4; }
}
ul ul ul ul ul > li li a { ul ul > li li a {
margin-left: 2rem * 5; margin-left: 2rem * 2;
} }
ul ul ul > li li a {
margin-left: 2rem * 3;
}
ul ul ul ul > li li a {
margin-left: 2rem * 4;
}
ul ul ul ul ul > li li a {
margin-left: 2rem * 5;
}
} }
.taxonomy { .taxonomy {
-webkit-column-width: 150px; -webkit-column-width: 150px;
-moz-column-width: 150px; -moz-column-width: 150px;
column-width: 150px; column-width: 150px;
} }
.ais-SearchBox { .ais-SearchBox {
.ais-SearchBox-input { .ais-SearchBox-input {
width: 70%; width: 70%;
} }
button {
margin-left: .2rem;
padding: .4rem;
}
}
.ais-Stats {
font-size: 80%;
color: #70757a;
}
.ais-Hits-item {
@extend %stack;
h3 { button {
font-size: 140%; margin-left: .2rem;
font-weight: normal; padding: .4rem;
} }
p { }
@extend %unset-stack;
color: #3C4043; .ais-Stats {
} font-size: 80%;
.lastmod { color: #70757a;
font-size: 90%; }
color: #70757a;
} .ais-Hits-item {
@extend %stack;
h3 {
font-size: 140%;
font-weight: normal;
}
p {
@extend %unset-stack;
color: #3C4043;
}
.lastmod {
font-size: 90%;
color: #70757a;
}
} }
.ais-Pagination { .ais-Pagination {
margin-top: 1em; margin-top: 1em;
} }
.ais-Pagination-list { .ais-Pagination-list {
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
@include flexbox-grid-mixins.grid($flex-wrap: wrap, $justify-content: center); @include flexbox-grid-mixins.grid($flex-wrap: wrap, $justify-content: center);
} }
.ais-Pagination-item { .ais-Pagination-item {
padding: .6rem; padding: .6rem;
} }
.code { .code {
@include flexbox-grid-mixins.grid($flex-wrap: wrap); @include flexbox-grid-mixins.grid($flex-wrap: wrap);
@extend %stack; @extend %stack;
.filename { .filename {
@include flexbox-grid-mixins.grid-col($col: 9, $flex-shrink: 0, $max-width: 75%); @include flexbox-grid-mixins.grid-col($col: 9, $flex-shrink: 0, $max-width: 75%);
font-size: 80%; font-size: 80%;
color: #666; color: #666;
} }
.copy-btn {
margin-left: auto;
cursor: pointer; .copy-btn {
position: relative; margin-left: auto;
font-size: 80%; cursor: pointer;
border: solid 1px #ccc; position: relative;
padding: .2rem .6rem;
border-radius: .3rem;
line-height: 1;
margin-bottom: .2rem;
outline: none;
}
.code-content {
@include flexbox-grid-mixins.grid-col($col: 12, $flex-shrink: 0, $max-width: 100%);
.highlight { font-size: 80%;
@extend %none-stack; border: solid 1px #ccc;
} padding: .2rem .6rem;
} border-radius: .3rem;
line-height: 1;
margin-bottom: .2rem;
outline: none;
}
.code-content {
@include flexbox-grid-mixins.grid-col($col: 12, $flex-shrink: 0, $max-width: 100%);
.highlight {
@extend %none-stack;
}
}
} }
.tooltipped::after { .tooltipped::after {
content: 'Copied!'; content: 'Copied!';
background: #555; background: #555;
display: inline-block; display: inline-block;
color: #fff; color: #fff;
border-radius: .4rem; border-radius: .4rem;
position: absolute; position: absolute;
left: 50%; left: 50%;
top: -1.8rem; top: -1.8rem;
transform: translate(-50%, 0); transform: translate(-50%, 0);
font-size: .75rem; font-size: .75rem;
padding: 4px 10px 6px 10px; padding: 4px 10px 6px 10px;
animation: fade-tooltip .5s 1s 1 forwards; animation: fade-tooltip .5s 1s 1 forwards;
} }
@keyframes fade-tooltip { @keyframes fade-tooltip {
to { opacity: 0; } to {
opacity: 0;
}
} }
.edit-page-picto { .edit-page-picto {
filter: invert(46%) sepia(17%) saturate(2064%) hue-rotate(161deg) brightness(90%) contrast(83%); filter: invert(46%) sepia(17%) saturate(2064%) hue-rotate(161deg) brightness(90%) contrast(83%);
position: relative; position: relative;
top: 2px; top: 2px;
vertical-align: center; vertical-align: center;
} }

View file

@ -8,212 +8,221 @@
@use 'variable'; @use 'variable';
header { header {
color: var(--custom-font-color, #fff); color: var(--custom-font-color, #fff);
background: var(--custom-background-color, #000); background: var(--custom-background-color, #000);
padding: .5rem variable.$default-layout-padding; padding: .5rem variable.$default-layout-padding;
h1 { h1 {
font-size: 140%; font-size: 140%;
display: inline-block; display: inline-block;
} }
.version { .version {
margin-left: .4rem; margin-left: .4rem;
font-size: 80%; font-size: 80%;
} }
.github { .github {
color: currentColor; color: currentColor;
margin-left: .4rem; margin-left: .4rem;
font-size: 180%; font-size: 180%;
} }
} }
.description { .description {
} }
.global-menu { .global-menu {
color: var(--custom-font-color, #fff); color: var(--custom-font-color, #fff);
background: var(--custom-background-color, #000); background: var(--custom-background-color, #000);
padding: .2rem variable.$default-layout-padding; padding: .2rem variable.$default-layout-padding;
ul { ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
li {
display: inline-block;
margin-right: 1.8rem;
position: relative;
}
ul.sub-menu { li {
display: none; display: inline-block;
margin: 0; margin-right: 1.8rem;
position: absolute; position: relative;
top: 1.8rem; }
left: 0;
z-index: 99999;
li { ul.sub-menu {
padding: .2rem variable.$default-layout-padding; display: none;
background: var(--custom-background-color, #000); margin: 0;
width: 140px; position: absolute;
font-size: 80%; top: 1.8rem;
a { left: 0;
color: var(--custom-font-color, #fff); z-index: 99999;
}
}
}
li.parent:hover > ul.sub-menu { li {
@include flexbox-grid-mixins.grid($flex-flow: column nowrap); padding: .2rem variable.$default-layout-padding;
} background: var(--custom-background-color, #000);
width: 140px;
font-size: 80%;
@media screen and (max-width: #{map.get(variable.$default-breakpoints, xs )} ) { a {
li { color: var(--custom-font-color, #fff);
display: block; }
margin-right: 0; }
border-bottom: 1px solid currentColor; }
&:last-child { li.parent:hover > ul.sub-menu {
border-bottom: none; @include flexbox-grid-mixins.grid($flex-flow: column nowrap);
} }
}
ul.sub-menu { @media screen and (max-width: #{map.get(variable.$default-breakpoints, xs )}) {
display: block; li {
position: static; display: block;
margin-right: 0;
border-bottom: 1px solid currentColor;
li { &:last-child {
width: auto; border-bottom: none;
background: transparent; }
padding: 0 .4rem; }
+ li {
padding-top: .2rem;
}
a {
color: currentColor;
}
}
}
}
a { ul.sub-menu {
display: block; display: block;
color: currentColor; position: static;
text-decoration: none;
&:hover { li {
text-decoration: underline; width: auto;
} background: transparent;
} padding: 0 .4rem;
+ li {
padding-top: .2rem;
}
a {
color: currentColor;
}
}
}
}
a {
display: block;
color: currentColor;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
} }
main { main {
padding: 3rem; padding: 3rem;
} }
@media screen and (max-width: #{map.get(variable.$default-breakpoints, md )} ) { @media screen and (max-width: #{map.get(variable.$default-breakpoints, md )}) {
main { main {
padding: 1rem; padding: 1rem;
} }
} }
.sidebar { .sidebar {
font-size: 90%; font-size: 90%;
line-height: 1.8; line-height: 1.8;
background: variable.$sidebar-background-color; background: variable.$sidebar-background-color;
border-right: 1px solid variable.$sidebar-active-color; border-right: 1px solid variable.$sidebar-active-color;
ul { ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
a { a {
position: relative; position: relative;
display: block; display: block;
color: #404040; color: #404040;
text-decoration: none; text-decoration: none;
padding: .2rem 1rem; padding: .2rem 1rem;
border-left: solid 4px variable.$sidebar-background-color; border-left: solid 4px variable.$sidebar-background-color;
border-bottom: solid 1px variable.$sidebar-active-color; border-bottom: solid 1px variable.$sidebar-active-color;
&:hover { &:hover {
color: #404040; color: #404040;
background: variable.$sidebar-hover-color; background: variable.$sidebar-hover-color;
border-left: solid 4px #ccc; border-left: solid 4px #ccc;
} }
} }
nav > ul > li li a { nav > ul > li li a {
padding-left: 1rem + 1rem * 1; padding-left: 1rem + 1rem * 1;
} }
nav > ul ul > li li a {
padding-left: 1rem + 1rem * 2;
}
nav > ul ul ul > li li a {
padding-left: 1rem + 1rem * 3;
}
nav > ul ul ul ul > li li a {
padding-left: 1rem + 1rem * 4;
}
nav > ul ul ul ul ul > li li a {
padding-left: 1rem + 1rem * 5;
}
@media screen and (max-width: #{map.get(variable.$default-breakpoints, xs )} ) { nav > ul ul > li li a {
nav > ul > li:first-child a { padding-left: 1rem + 1rem * 2;
border-top: solid 1px variable.$sidebar-active-color; }
}
}
.active > a { nav > ul ul ul > li li a {
background: variable.$sidebar-active-color; padding-left: 1rem + 1rem * 3;
border-left: solid 4px #ccc; }
}
.slide-menu { nav > ul ul ul ul > li li a {
.has-sub-menu:not(.parent) ul { padding-left: 1rem + 1rem * 4;
display: none; }
}
.has-sub-menu > a span.mark { nav > ul ul ul ul ul > li li a {
position: absolute; padding-left: 1rem + 1rem * 5;
top: 0; }
right: 0;
display: inline-block; @media screen and (max-width: #{map.get(variable.$default-breakpoints, xs )}) {
height: 32px; nav > ul > li:first-child a {
width: 32px; border-top: solid 1px variable.$sidebar-active-color;
line-height: 2; }
text-align: center; }
color: #979797;
background: #f2f2f2; .active > a {
border-left: 1px solid #e7e7e7; background: variable.$sidebar-active-color;
} border-left: solid 4px #ccc;
} }
.slide-menu {
.has-sub-menu:not(.parent) ul {
display: none;
}
.has-sub-menu > a span.mark {
position: absolute;
top: 0;
right: 0;
display: inline-block;
height: 32px;
width: 32px;
line-height: 2;
text-align: center;
color: #979797;
background: #f2f2f2;
border-left: 1px solid #e7e7e7;
}
}
} }
.sidebar-footer { .sidebar-footer {
padding: variable.$default-layout-padding; padding: variable.$default-layout-padding;
} }
footer { footer {
} }
.edit-meta { .edit-meta {
font-size: 80%; font-size: 80%;
text-align: right; text-align: right;
} }
.edit-page { .edit-page {
font-weight: bold; font-weight: bold;
} }
.powered { .powered {
font-size: 80%; font-size: 80%;
text-align: right; text-align: right;
color: #999; color: #999;
} }

View file

@ -12,46 +12,46 @@
*-----------------------*/ *-----------------------*/
html, html,
body { body {
height: 100%; height: 100%;
} }
.container { .container {
width: 100%; width: 100%;
height: 100%; height: 100%;
@include flexbox-grid-mixins.grid($flex-flow: column nowrap); @include flexbox-grid-mixins.grid($flex-flow: column nowrap);
margin: auto; margin: auto;
} }
.content-container { .content-container {
@include flexbox-grid-mixins.grid-col($flex-grow: 1, $flex-shrink: 0, $flex-basis: auto); @include flexbox-grid-mixins.grid-col($flex-grow: 1, $flex-shrink: 0, $flex-basis: auto);
@include flexbox-grid-mixins.grid($justify-content: center); @include flexbox-grid-mixins.grid($justify-content: center);
} }
main { main {
@include flexbox-grid-mixins.grid-col($col: 9, $flex-shrink: 0, $max-width: 75%); @include flexbox-grid-mixins.grid-col($col: 9, $flex-shrink: 0, $max-width: 75%);
&:only-child { &:only-child {
@include flexbox-grid-mixins.grid-col($col: 12, $flex-shrink: 0, $max-width: 100%); @include flexbox-grid-mixins.grid-col($col: 12, $flex-shrink: 0, $max-width: 100%);
} }
} }
.sidebar { .sidebar {
@include flexbox-grid-mixins.grid-col($col: 3, $order: -1); @include flexbox-grid-mixins.grid-col($col: 3, $order: -1);
// position: fixed; // position: fixed;
// overflow-x: hidden; // overflow-x: hidden;
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: scroll;
} }
@media screen and (max-width: #{map.get(variable.$default-breakpoints, md )} ) { @media screen and (max-width: #{map.get(variable.$default-breakpoints, md )}) {
.content-container { .content-container {
@include flexbox-grid-mixins.grid($flex-flow: column nowrap); @include flexbox-grid-mixins.grid($flex-flow: column nowrap);
} }
main { main {
@include flexbox-grid-mixins.grid-col($col: none, $flex-shrink: 0, $min-width: 100%); @include flexbox-grid-mixins.grid-col($col: none, $flex-shrink: 0, $min-width: 100%);
} }
.sidebar { .sidebar {
@include flexbox-grid-mixins.grid-col($col: none, $order: 1); @include flexbox-grid-mixins.grid-col($col: none, $order: 1);
} }
} }

View file

@ -27,22 +27,22 @@ $sidebar-active-color: #eee !default;
$light-grey-background-color: #e0e0e0; $light-grey-background-color: #e0e0e0;
$danger-background-color:#ce3426; $danger-background-color: #ce3426;
// code // code
$code-font-size: .95rem !default; $code-font-size: .95rem !default;
$code-block-background-color: #f4f6f8 !default; $code-block-background-color: #f4f6f8 !default;
$code-border-color: #f0f0f0 !default; $code-border-color: #f0f0f0 !default;
$code-inline-background-color: #f0f0f0 !default; $code-inline-background-color: #f0f0f0 !default;
$code-font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace !default; $code-font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !default;
// breakpoint // breakpoint
$default-breakpoints: ( $default-breakpoints: (
xl: 1280px, xl: 1280px,
lg: 1024px, lg: 1024px,
md: 896px, md: 896px,
sm: 768px, sm: 768px,
xs: 480px xs: 480px
) !default; ) !default;
// grid // grid

View file

@ -1,59 +1,310 @@
/* Background */ .chroma { color: #f8f8f2; background-color: #272822 } /* Background */
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } .chroma {
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } color: #f8f8f2;
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: 100%; overflow: auto; display: block; } background-color: #272822
/* LineHighlight */ .chroma .hl { background-color: #ffffcc; display: block; width: 100% } }
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; display: block; }
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; } /* Error */
/* Keyword */ .chroma .k { color: #66d9ef } .chroma .err {
/* KeywordConstant */ .chroma .kc { color: #66d9ef } color: #960050;
/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } background-color: #1e0010
/* KeywordNamespace */ .chroma .kn { color: #f92672 } }
/* KeywordPseudo */ .chroma .kp { color: #66d9ef }
/* KeywordReserved */ .chroma .kr { color: #66d9ef } /* LineTableTD */
/* KeywordType */ .chroma .kt { color: #66d9ef } .chroma .lntd {
/* NameAttribute */ .chroma .na { color: #a6e22e } vertical-align: top;
/* NameClass */ .chroma .nc { color: #a6e22e } padding: 0;
/* NameConstant */ .chroma .no { color: #66d9ef } margin: 0;
/* NameDecorator */ .chroma .nd { color: #a6e22e } border: 0;
/* NameException */ .chroma .ne { color: #a6e22e } }
/* NameFunction */ .chroma .nf { color: #a6e22e }
/* NameOther */ .chroma .nx { color: #a6e22e } /* LineTable */
/* NameTag */ .chroma .nt { color: #f92672 } .chroma .lntable {
/* Literal */ .chroma .l { color: #ae81ff } border-spacing: 0;
/* LiteralDate */ .chroma .ld { color: #e6db74 } padding: 0;
/* LiteralString */ .chroma .s { color: #e6db74 } margin: 0;
/* LiteralStringAffix */ .chroma .sa { color: #e6db74 } border: 0;
/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 } width: 100%;
/* LiteralStringChar */ .chroma .sc { color: #e6db74 } overflow: auto;
/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 } display: block;
/* LiteralStringDoc */ .chroma .sd { color: #e6db74 } }
/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 }
/* LiteralStringEscape */ .chroma .se { color: #ae81ff } /* LineHighlight */
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 } .chroma .hl {
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 } background-color: #ffffcc;
/* LiteralStringOther */ .chroma .sx { color: #e6db74 } display: block;
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 } width: 100%
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 } }
/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 }
/* LiteralNumber */ .chroma .m { color: #ae81ff } /* LineNumbersTable */
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff } .chroma .lnt {
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff } margin-right: 0.4em;
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff } padding: 0 0.4em 0 0.4em;
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff } display: block;
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff } }
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
/* Operator */ .chroma .o { color: #f92672 } /* LineNumbers */
/* OperatorWord */ .chroma .ow { color: #f92672 } .chroma .ln {
/* Comment */ .chroma .c { color: #75715e } margin-right: 0.4em;
/* CommentHashbang */ .chroma .ch { color: #75715e } padding: 0 0.4em 0 0.4em;
/* CommentMultiline */ .chroma .cm { color: #75715e } }
/* CommentSingle */ .chroma .c1 { color: #75715e }
/* CommentSpecial */ .chroma .cs { color: #75715e } /* Keyword */
/* CommentPreproc */ .chroma .cp { color: #75715e } .chroma .k {
/* CommentPreprocFile */ .chroma .cpf { color: #75715e } color: #66d9ef
/* GenericDeleted */ .chroma .gd { color: #f92672 } }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericInserted */ .chroma .gi { color: #a6e22e } /* KeywordConstant */
/* GenericStrong */ .chroma .gs { font-weight: bold } .chroma .kc {
/* GenericSubheading */ .chroma .gu { color: #75715e } color: #66d9ef
}
/* KeywordDeclaration */
.chroma .kd {
color: #66d9ef
}
/* KeywordNamespace */
.chroma .kn {
color: #f92672
}
/* KeywordPseudo */
.chroma .kp {
color: #66d9ef
}
/* KeywordReserved */
.chroma .kr {
color: #66d9ef
}
/* KeywordType */
.chroma .kt {
color: #66d9ef
}
/* NameAttribute */
.chroma .na {
color: #a6e22e
}
/* NameClass */
.chroma .nc {
color: #a6e22e
}
/* NameConstant */
.chroma .no {
color: #66d9ef
}
/* NameDecorator */
.chroma .nd {
color: #a6e22e
}
/* NameException */
.chroma .ne {
color: #a6e22e
}
/* NameFunction */
.chroma .nf {
color: #a6e22e
}
/* NameOther */
.chroma .nx {
color: #a6e22e
}
/* NameTag */
.chroma .nt {
color: #f92672
}
/* Literal */
.chroma .l {
color: #ae81ff
}
/* LiteralDate */
.chroma .ld {
color: #e6db74
}
/* LiteralString */
.chroma .s {
color: #e6db74
}
/* LiteralStringAffix */
.chroma .sa {
color: #e6db74
}
/* LiteralStringBacktick */
.chroma .sb {
color: #e6db74
}
/* LiteralStringChar */
.chroma .sc {
color: #e6db74
}
/* LiteralStringDelimiter */
.chroma .dl {
color: #e6db74
}
/* LiteralStringDoc */
.chroma .sd {
color: #e6db74
}
/* LiteralStringDouble */
.chroma .s2 {
color: #e6db74
}
/* LiteralStringEscape */
.chroma .se {
color: #ae81ff
}
/* LiteralStringHeredoc */
.chroma .sh {
color: #e6db74
}
/* LiteralStringInterpol */
.chroma .si {
color: #e6db74
}
/* LiteralStringOther */
.chroma .sx {
color: #e6db74
}
/* LiteralStringRegex */
.chroma .sr {
color: #e6db74
}
/* LiteralStringSingle */
.chroma .s1 {
color: #e6db74
}
/* LiteralStringSymbol */
.chroma .ss {
color: #e6db74
}
/* LiteralNumber */
.chroma .m {
color: #ae81ff
}
/* LiteralNumberBin */
.chroma .mb {
color: #ae81ff
}
/* LiteralNumberFloat */
.chroma .mf {
color: #ae81ff
}
/* LiteralNumberHex */
.chroma .mh {
color: #ae81ff
}
/* LiteralNumberInteger */
.chroma .mi {
color: #ae81ff
}
/* LiteralNumberIntegerLong */
.chroma .il {
color: #ae81ff
}
/* LiteralNumberOct */
.chroma .mo {
color: #ae81ff
}
/* Operator */
.chroma .o {
color: #f92672
}
/* OperatorWord */
.chroma .ow {
color: #f92672
}
/* Comment */
.chroma .c {
color: #75715e
}
/* CommentHashbang */
.chroma .ch {
color: #75715e
}
/* CommentMultiline */
.chroma .cm {
color: #75715e
}
/* CommentSingle */
.chroma .c1 {
color: #75715e
}
/* CommentSpecial */
.chroma .cs {
color: #75715e
}
/* CommentPreproc */
.chroma .cp {
color: #75715e
}
/* CommentPreprocFile */
.chroma .cpf {
color: #75715e
}
/* GenericDeleted */
.chroma .gd {
color: #f92672
}
/* GenericEmph */
.chroma .ge {
font-style: italic
}
/* GenericInserted */
.chroma .gi {
color: #a6e22e
}
/* GenericStrong */
.chroma .gs {
font-weight: bold
}
/* GenericSubheading */
.chroma .gu {
color: #75715e
}