BLANTERWISDOM101

df

Monday, December 28, 2020

.code-editor span.control:nth-child(1):before {
    margin-left15px;
    background-color#df6963;
    
}

.code-editor span.control:nth-child(2):before {
    margin-left35px;
    background-color#f5e18a;
    
}

.code-editor span.control:nth-child(3):before {
    margin-left55px;
    background-color#97c38a;
}

/* -- iPad Screen -- */
@media only screen and (min-width480pxand (max-width768px) {
    .code-editor {
        width500px
    }

    .code-editor:before {
        width500px;
    }
}

/* -- iPhone Screen -- */
@media only screen and (max-width479px) {
    .code-editor {
        width300px;
    }   

    .code-editor:before {
        width300px;
    }
}

/**
 * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
 * Based on https://github.com/chriskempson/tomorrow-theme
 * @author Rose Pritchard
 */

code[class*="language-"],
pre[class*="language-"] {
  color#ccc;
  font-family: Consolas, Monaco, 'Andale Mono'monospace;
  directionltr;
  text-alignleft;
  white-spacepre;
  word-spacingnormal;

  -moz-tab-size4;
  -o-tab-size4;
  tab-size4;

  -webkit-hyphensnone;
  -moz-hyphensnone;
  -ms-hyphensnone;
  hyphensnone;

}

/* Code blocks */
pre[class*="language-"] {
  padding1em;
  margin0em 0;
  height500px;
  overflowauto;
}

:not(pre> code[class*="language-"],
pre[class*="language-"] {
  background#080808;
}

/* Inline code */
:not(pre> code[class*="language-"] {
  padding.1em;
  border-radius.3em;
  -moz-border-radius.3em;
  -o-border-radius.3em;
  -webkit-border-radius.3em;
}




pre.line-numbers {
    positionrelative;
    padding-left3.8em;
    counter-reset: linenumber;
    padding-bottom1px;
}

pre.line-numbers > code {
    positionrelative;
}

.line-numbers .line-numbers-rows {
    positionabsolute;
    pointer-eventsnone;
    top0;

    font-size100%;
    left-13em;
    width3em/* works for line-numbers below 1000 lines */
    letter-spacing-1px;
    background-color#322422;
    -webkit-user-selectnone;
    -moz-user-selectnone;
    -ms-user-selectnone;
    user-selectnone;

}

.line-numbers-rows > span {
    pointer-eventsnone;
    displayblock;
    counter-increment: linenumber;
}

.line-numbers-rows > span:before {
    contentcounter(linenumber);
    color#999;
    displayblock;
    padding-right0.8em;
    text-alignright;
}
Share This :

0 Comments