Style tweaks.

master
Nick Sergeant 2013-03-25 22:23:55 -04:00
parent 31f76f057a
commit 6e6e7d8d1b
6 changed files with 24 additions and 4 deletions

View File

@ -10,6 +10,16 @@ div.linenodiv {
margin-right: 2px; margin-right: 2px;
padding: 0 5px; padding: 0 5px;
} }
div.linenodiv a {
color: black;
text-decoration: none;
}
div.linenodiv a:hover {
text-decoration: underline;
}
div.highlight > pre, div.linenodiv > pre { div.highlight > pre, div.linenodiv > pre {
margin-bottom: 5px; margin-bottom: 5px;
} }
div.highlight pre > span {
display: block;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1667,7 +1667,7 @@ body.detail {
td.code { td.code {
div.highlight { div.highlight {
pre { pre {
width: 804px; width: 810px;
} }
} }
} }
@ -1681,6 +1681,13 @@ body.detail {
aside { aside {
margin-right: 0; margin-right: 0;
} }
footer {
ul.attrs {
li.raw {
margin-right: 100px;
}
}
}
} }
} }
} }

View File

@ -77,7 +77,7 @@
<a href="<%= snipt.user.absolute_url %>"> <a href="<%= snipt.user.absolute_url %>">
<%= snipt.user.username %> <%= snipt.user.username %>
</a> </a>
<% if (snipt.user.profile.is_pro) { %> <% if (window.user_is_pro) { %>
<span class="pro"><a href="/pro/">Pro</a></span> <span class="pro"><a href="/pro/">Pro</a></span>
<% } %> <% } %>
</li> </li>

View File

@ -218,6 +218,9 @@
<li class="roadmap"> <li class="roadmap">
<a href="https://github.com/nicksergeant/snipt/issues?state=open"><span>Bugs & feature requests</span></a> <a href="https://github.com/nicksergeant/snipt/issues?state=open"><span>Bugs & feature requests</span></a>
</li> </li>
<li class="roadmap">
<a href="http://getsentry.com/"><span>Shipped with confidence</span></a>
</li>
</ul> </ul>
</nav> </nav>
<div class="linode"> <div class="linode">