t_code.scss - andersdamsgaard.com - my photography webpage
 (HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       t_code.scss (760B)
       ---
            1 pre,
            2 code {
            3   font-family: $monospaced;
            4 }
            5 
            6 code {
            7   background-color: $grey-3;
            8   border-radius: 3px;
            9   color: $code-color;
           10   font-size: 85%;
           11   padding: .25em .5em;
           12 }
           13 
           14 pre {
           15   margin: 0 0 1rem;
           16 }
           17 
           18 pre code {
           19   background-color: transparent;
           20   color: inherit;
           21   font-size: 100%;
           22   padding: 0;
           23 }
           24 
           25 .highlight {
           26   background-color: $grey-3;
           27   border-radius: 3px;
           28   line-height: 1.4;
           29   margin: 0 0 1rem;
           30   padding: 1rem;
           31 
           32   pre {
           33     margin-bottom: 0;
           34     overflow-x: auto;
           35   }
           36 
           37   .lineno {
           38     color: $default-tint;
           39     display: inline-block; // Ensures the null space also isn't selectable
           40     padding: 0 .75rem 0 .25rem;
           41     // Make sure numbers aren't selectable
           42     -webkit-user-select: none;
           43        -moz-user-select: none;
           44             user-select: none;
           45   }
           46 }