Add light syntax, using Pygments sas
style.
This commit is contained in:
parent
29a9d25381
commit
830c26e333
@ -5,6 +5,7 @@
|
||||
<title>{{ title }} @ Código para llevar</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../css/style.css" />
|
||||
<link rel="stylesheet" href="../css/light-syntax.css" />
|
||||
<link rel="stylesheet" href="../css/dark-syntax.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
@ -3,68 +3,62 @@ td.linenos .normal { color: inherit; background-color: transparent; padding-left
|
||||
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
||||
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||
.hll { background-color: #3c3836 }
|
||||
.c { color: #928374; font-style: italic } /* Comment */
|
||||
.err { color: #fbf1c7; background-color: #9d0006 } /* Error */
|
||||
.k { color: #9d0006 } /* Keyword */
|
||||
.ch { color: #928374; font-style: italic } /* Comment.Hashbang */
|
||||
.cm { color: #928374; font-style: italic } /* Comment.Multiline */
|
||||
.c-PreProc { color: #427b58; font-style: italic } /* Comment.PreProc */
|
||||
.cp { color: #928374; font-style: italic } /* Comment.Preproc */
|
||||
.cpf { color: #928374; font-style: italic } /* Comment.PreprocFile */
|
||||
.c1 { color: #928374; font-style: italic } /* Comment.Single */
|
||||
.cs { color: #3c3836; font-weight: bold; font-style: italic } /* Comment.Special */
|
||||
.gd { color: #fbf1c7; background-color: #9d0006 } /* Generic.Deleted */
|
||||
.ge { font-style: italic } /* Generic.Emph */
|
||||
.gr { color: #9d0006 } /* Generic.Error */
|
||||
.gh { color: #3c3836; font-weight: bold } /* Generic.Heading */
|
||||
.gi { color: #fbf1c7; background-color: #79740e } /* Generic.Inserted */
|
||||
.go { color: #32302f } /* Generic.Output */
|
||||
.gp { color: #7c6f64 } /* Generic.Prompt */
|
||||
.gs { font-weight: bold } /* Generic.Strong */
|
||||
.gu { color: #3c3836; text-decoration: underline } /* Generic.Subheading */
|
||||
.gt { color: #9d0006 } /* Generic.Traceback */
|
||||
.kc { color: #9d0006 } /* Keyword.Constant */
|
||||
.kd { color: #9d0006 } /* Keyword.Declaration */
|
||||
.kn { color: #9d0006 } /* Keyword.Namespace */
|
||||
.kp { color: #9d0006 } /* Keyword.Pseudo */
|
||||
.kr { color: #9d0006 } /* Keyword.Reserved */
|
||||
.kt { color: #9d0006 } /* Keyword.Type */
|
||||
.m { color: #8f3f71 } /* Literal.Number */
|
||||
.s { color: #79740e } /* Literal.String */
|
||||
.na { color: #b57614 } /* Name.Attribute */
|
||||
.nb { color: #af3a03 } /* Name.Builtin */
|
||||
.nc { color: #427b58 } /* Name.Class */
|
||||
.no { color: #8f3f71 } /* Name.Constant */
|
||||
.nd { color: #9d0006 } /* Name.Decorator */
|
||||
.ne { color: #9d0006 } /* Name.Exception */
|
||||
.nf { color: #427b58 } /* Name.Function */
|
||||
.nn { color: #427b58 } /* Name.Namespace */
|
||||
.nt { color: #427b58 } /* Name.Tag */
|
||||
.nv { color: #076678 } /* Name.Variable */
|
||||
.ow { color: #9d0006 } /* Operator.Word */
|
||||
.mb { color: #8f3f71 } /* Literal.Number.Bin */
|
||||
.mf { color: #8f3f71 } /* Literal.Number.Float */
|
||||
.mh { color: #8f3f71 } /* Literal.Number.Hex */
|
||||
.mi { color: #8f3f71 } /* Literal.Number.Integer */
|
||||
.mo { color: #8f3f71 } /* Literal.Number.Oct */
|
||||
.sa { color: #79740e } /* Literal.String.Affix */
|
||||
.sb { color: #79740e } /* Literal.String.Backtick */
|
||||
.sc { color: #79740e } /* Literal.String.Char */
|
||||
.dl { color: #79740e } /* Literal.String.Delimiter */
|
||||
.sd { color: #79740e } /* Literal.String.Doc */
|
||||
.s2 { color: #79740e } /* Literal.String.Double */
|
||||
.se { color: #af3a03 } /* Literal.String.Escape */
|
||||
.sh { color: #79740e } /* Literal.String.Heredoc */
|
||||
.si { color: #79740e } /* Literal.String.Interpol */
|
||||
.sx { color: #79740e } /* Literal.String.Other */
|
||||
.sr { color: #79740e } /* Literal.String.Regex */
|
||||
.s1 { color: #79740e } /* Literal.String.Single */
|
||||
.ss { color: #79740e } /* Literal.String.Symbol */
|
||||
.bp { color: #af3a03 } /* Name.Builtin.Pseudo */
|
||||
.fm { color: #427b58 } /* Name.Function.Magic */
|
||||
.vc { color: #076678 } /* Name.Variable.Class */
|
||||
.vg { color: #076678 } /* Name.Variable.Global */
|
||||
.vi { color: #076678 } /* Name.Variable.Instance */
|
||||
.vm { color: #076678 } /* Name.Variable.Magic */
|
||||
.il { color: #8f3f71 } /* Literal.Number.Integer.Long */
|
||||
.hll { background-color: #ffffcc }
|
||||
.c { color: #008800; font-style: italic } /* Comment */
|
||||
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
||||
.g { color: #2c2cff } /* Generic */
|
||||
.k { color: #2c2cff } /* Keyword */
|
||||
.x { background-color: #ffffe0 } /* Other */
|
||||
.ch { color: #008800; font-style: italic } /* Comment.Hashbang */
|
||||
.cm { color: #008800; font-style: italic } /* Comment.Multiline */
|
||||
.cp { color: #008800; font-style: italic } /* Comment.Preproc */
|
||||
.cpf { color: #008800; font-style: italic } /* Comment.PreprocFile */
|
||||
.c1 { color: #008800; font-style: italic } /* Comment.Single */
|
||||
.cs { color: #008800; font-style: italic } /* Comment.Special */
|
||||
.gd { color: #2c2cff } /* Generic.Deleted */
|
||||
.ge { color: #008800 } /* Generic.Emph */
|
||||
.gr { color: #d30202 } /* Generic.Error */
|
||||
.gh { color: #2c2cff } /* Generic.Heading */
|
||||
.gi { color: #2c2cff } /* Generic.Inserted */
|
||||
.go { color: #2c2cff } /* Generic.Output */
|
||||
.gp { color: #2c2cff } /* Generic.Prompt */
|
||||
.gs { color: #2c2cff } /* Generic.Strong */
|
||||
.gu { color: #2c2cff } /* Generic.Subheading */
|
||||
.gt { color: #2c2cff } /* Generic.Traceback */
|
||||
.kc { color: #2c2cff; font-weight: bold } /* Keyword.Constant */
|
||||
.kd { color: #2c2cff } /* Keyword.Declaration */
|
||||
.kn { color: #2c2cff } /* Keyword.Namespace */
|
||||
.kp { color: #2c2cff } /* Keyword.Pseudo */
|
||||
.kr { color: #353580; font-weight: bold } /* Keyword.Reserved */
|
||||
.kt { color: #2c2cff } /* Keyword.Type */
|
||||
.m { color: #2c8553; font-weight: bold } /* Literal.Number */
|
||||
.s { color: #800080 } /* Literal.String */
|
||||
.nb { color: #2c2cff } /* Name.Builtin */
|
||||
.nf { font-weight: bold; font-style: italic } /* Name.Function */
|
||||
.nv { color: #2c2cff; font-weight: bold } /* Name.Variable */
|
||||
.w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.mb { color: #2c8553; font-weight: bold } /* Literal.Number.Bin */
|
||||
.mf { color: #2c8553; font-weight: bold } /* Literal.Number.Float */
|
||||
.mh { color: #2c8553; font-weight: bold } /* Literal.Number.Hex */
|
||||
.mi { color: #2c8553; font-weight: bold } /* Literal.Number.Integer */
|
||||
.mo { color: #2c8553; font-weight: bold } /* Literal.Number.Oct */
|
||||
.sa { color: #800080 } /* Literal.String.Affix */
|
||||
.sb { color: #800080 } /* Literal.String.Backtick */
|
||||
.sc { color: #800080 } /* Literal.String.Char */
|
||||
.dl { color: #800080 } /* Literal.String.Delimiter */
|
||||
.sd { color: #800080 } /* Literal.String.Doc */
|
||||
.s2 { color: #800080 } /* Literal.String.Double */
|
||||
.se { color: #800080 } /* Literal.String.Escape */
|
||||
.sh { color: #800080 } /* Literal.String.Heredoc */
|
||||
.si { color: #800080 } /* Literal.String.Interpol */
|
||||
.sx { color: #800080 } /* Literal.String.Other */
|
||||
.sr { color: #800080 } /* Literal.String.Regex */
|
||||
.s1 { color: #800080 } /* Literal.String.Single */
|
||||
.ss { color: #800080 } /* Literal.String.Symbol */
|
||||
.bp { color: #2c2cff } /* Name.Builtin.Pseudo */
|
||||
.fm { font-weight: bold; font-style: italic } /* Name.Function.Magic */
|
||||
.vc { color: #2c2cff; font-weight: bold } /* Name.Variable.Class */
|
||||
.vg { color: #2c2cff; font-weight: bold } /* Name.Variable.Global */
|
||||
.vi { color: #2c2cff; font-weight: bold } /* Name.Variable.Instance */
|
||||
.vm { color: #2c2cff; font-weight: bold } /* Name.Variable.Magic */
|
||||
.il { color: #2c8553; font-weight: bold } /* Literal.Number.Integer.Long */
|
||||
|
@ -60,11 +60,9 @@ li .tag::after {
|
||||
/* Code blocks */
|
||||
pre {
|
||||
overflow: auto;
|
||||
padding: 0.5ex;
|
||||
padding-left: 0.5ex;
|
||||
padding-left: 1.5ex;
|
||||
background-color: #001622;
|
||||
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.26);
|
||||
padding: 0.25ex;
|
||||
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.26);
|
||||
border-radius: 2px;
|
||||
}
|
||||
pre > code {
|
||||
display: block;
|
||||
@ -74,15 +72,13 @@ pre > code {
|
||||
pre code {
|
||||
padding: 0.5ex;
|
||||
font-size: medium;
|
||||
border: 2px solid #001622;
|
||||
background: #073642;
|
||||
color: #fff;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 0.25ex;
|
||||
margin: 0.25ex;
|
||||
border: 1px solid #001622;
|
||||
}
|
||||
|
||||
article.post {
|
||||
|
Loading…
Reference in New Issue
Block a user