Cut CSS up into separate parts for easier editing
Something for a future change is to migrate to SCSS based bootstrap instead of the compiled version
This commit is contained in:
22 files changed
+13869
-27504
No files matched your search
Vendored
+10632
File diff suppressed because it is too large.
Load diff
+3130
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,85 @@
|
||||
.gh-source {
|
||||
display: block;
|
||||
padding-right: 1.2rem;
|
||||
transition: opacity .25s;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.2;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
}
|
||||
[dir=rtl] .gh-source {
|
||||
padding-right: 0;
|
||||
padding-left: 1.2rem;
|
||||
}
|
||||
.gh-source:hover {
|
||||
color: yellow;
|
||||
}
|
||||
.gh-source__icon+.gh-source__repository {
|
||||
margin-left: -4.4rem;
|
||||
padding-left: 4rem;
|
||||
}
|
||||
[dir=rtl] .gh-source__icon+.gh-source__repository {
|
||||
margin-right: -4.4rem;
|
||||
margin-left: 0;
|
||||
padding-right: 4rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
.gh-source__repository {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
margin-left: 1.2rem;
|
||||
font-weight: 700;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.gh-source__facts {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
list-style-type: none;
|
||||
opacity: .75;
|
||||
overflow: hidden;
|
||||
}
|
||||
[data-md-state=done] .gh-source__facts {
|
||||
-webkit-animation: md-source__facts--done .25s ease-in;
|
||||
animation: md-source__facts--done .25s ease-in;
|
||||
}
|
||||
.gh-source__fact {
|
||||
float: left;
|
||||
}
|
||||
[dir=rtl] .gh-source__fact {
|
||||
float: right;
|
||||
}
|
||||
[data-md-state=done] .gh-source__fact {
|
||||
-webkit-animation: md-source__fact--done .4s ease-out;
|
||||
animation: md-source__fact--done .4s ease-out;
|
||||
}
|
||||
.gh-source__fact:before {
|
||||
margin: 0 .2rem;
|
||||
content: "\B7"}
|
||||
.gh-source__fact:first-child:before {
|
||||
display: none;
|
||||
}
|
||||
.gh-source-file {
|
||||
display: inline-block;
|
||||
margin: 1em .5em 1em 0;
|
||||
padding-right: .5rem;
|
||||
border-radius: .2rem;
|
||||
background-color: rgba(0, 0, 0, .07);
|
||||
font-size: 1.28rem;
|
||||
list-style-type: none;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
}
|
||||
.gh-source-file:before {
|
||||
display: inline-block;
|
||||
margin-right: .5rem;
|
||||
padding: .5rem;
|
||||
background-color: rgba(0, 0, 0, .26);
|
||||
color: #fff;
|
||||
font-size: 1.6rem;
|
||||
content: "\E86F";
|
||||
vertical-align: middle;
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
.highlight pre {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.highlight table td { padding: 5px; }
|
||||
.highlight table pre { margin: 0; }
|
||||
.highlight .cm {
|
||||
color: #999988;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .cp {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .c1 {
|
||||
color: #999988;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .cs {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
|
||||
color: #999988;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .err {
|
||||
color: #a61717;
|
||||
background-color: #e3d2d2;
|
||||
}
|
||||
.highlight .gd {
|
||||
color: #000000;
|
||||
background-color: #ffdddd;
|
||||
}
|
||||
.highlight .ge {
|
||||
color: #000000;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .gr {
|
||||
color: #aa0000;
|
||||
}
|
||||
.highlight .gh {
|
||||
color: #999999;
|
||||
}
|
||||
.highlight .gi {
|
||||
color: #000000;
|
||||
background-color: #ddffdd;
|
||||
}
|
||||
.highlight .go {
|
||||
color: #888888;
|
||||
}
|
||||
.highlight .gp {
|
||||
color: #555555;
|
||||
}
|
||||
.highlight .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .gu {
|
||||
color: #aaaaaa;
|
||||
}
|
||||
.highlight .gt {
|
||||
color: #aa0000;
|
||||
}
|
||||
.highlight .kc {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kd {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kn {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kp {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kr {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kt {
|
||||
color: #445588;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .k, .highlight .kv {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .mf {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .mh {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .il {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .mi {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .mo {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .m, .highlight .mb, .highlight .mx {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .sb {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sc {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sd {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .s2 {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .se {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sh {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .si {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sx {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sr {
|
||||
color: #009926;
|
||||
}
|
||||
.highlight .s1 {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .ss {
|
||||
color: #990073;
|
||||
}
|
||||
.highlight .s, .highlight .sa, .highlight .dl {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .na {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .bp {
|
||||
color: #999999;
|
||||
}
|
||||
.highlight .nb {
|
||||
color: #0086B3;
|
||||
}
|
||||
.highlight .nc {
|
||||
color: #445588;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .no {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .nd {
|
||||
color: #3c5d5d;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .ni {
|
||||
color: #800080;
|
||||
}
|
||||
.highlight .ne {
|
||||
color: #990000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .nf, .highlight .fm {
|
||||
color: #990000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .nl {
|
||||
color: #990000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .nn {
|
||||
color: #555555;
|
||||
}
|
||||
.highlight .nt {
|
||||
color: #000080;
|
||||
}
|
||||
.highlight .vc {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .vg {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .vi {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .nv, .highlight .vm {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .ow {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .o {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .w {
|
||||
color: #bbbbbb;
|
||||
}
|
||||
.highlight {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
Reference in new issue
Block a user