Skip to content

Commit

Permalink
Drop in super primitive code styles
Browse files Browse the repository at this point in the history
Jacked straight from GitHub. Oddly their markdown API renders things
slightly differently from Gist. For example, things with a `pl-s2`
class on Gist are getting a `pl-s1` class through the API which makes
them orange.

Lovely.
  • Loading branch information
adamwathan committed May 24, 2015
1 parent d3e6189 commit 9109456
Showing 1 changed file with 101 additions and 0 deletions.
101 changes: 101 additions & 0 deletions resources/views/gistlogs/show.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,107 @@
@extends('layouts.app')

@section('content')
<!-- @todo: Fix this, there are some inconsistencies with GitHub,
and also extract it to a proper stylesheet. Just here for working purposes -->
<style>
.highlight {
background: #fff;
color: #333;
}
.pl-c {
color: #969896
}
.pl-c1,
.pl-mdh,
.pl-mm,
.pl-mp,
.pl-mr,
.pl-s1 .pl-v,
.pl-s3,
.pl-sc,
.pl-sv {
color: #0086b3
}
.pl-e,
.pl-en {
color: #795da3
}
.pl-s1 .pl-s2,
.pl-smi,
.pl-smp,
.pl-stj,
.pl-vo,
.pl-vpf {
color: #333
}
.pl-ent {
color: #63a35c
}
.pl-k,
.pl-s,
.pl-st {
color: #a71d5d
}
.pl-pds,
.pl-s1,
.pl-s1 .pl-pse .pl-s2,
.pl-sr,
.pl-sr .pl-cce,
.pl-sr .pl-sra,
.pl-sr .pl-sre,
.pl-src {
color: #df5000
}
.pl-mo,
.pl-v {
color: #1d3e81
}
.pl-id {
color: #b52a1d
}
.pl-ii {
background-color: #b52a1d;
color: #f8f8f8
}
.pl-sr .pl-cce {
color: #63a35c;
font-weight: bold
}
.pl-ml {
color: #693a17
}
.pl-mh,
.pl-mh .pl-en,
.pl-ms {
color: #1d3e81;
font-weight: bold
}
.pl-mq {
color: #008080
}
.pl-mi {
color: #333;
font-style: italic
}
.pl-mb {
color: #333;
font-weight: bold
}
.pl-md,
.pl-mdhf {
background-color: #ffecec;
color: #bd2c00
}
.pl-mdht,
.pl-mi1 {
background-color: #eaffea;
color: #55a532
}
.pl-mdr {
color: #795da3;
font-weight: bold
}
</style>
<div class="container">
<a href="https://github.com/{{ $gistlog->author }}" class="profile-pic">
<img src="{{ $gistlog->avatarUrl }}">
Expand Down

0 comments on commit 9109456

Please sign in to comment.