1
0
Fork 0
mirror of https://github.com/treffynnon/sqlstyle.guide.git synced 2025-03-09 12:49:51 -05:00
sqlstyle.guide/style.css

122 lines
1.6 KiB
CSS
Raw Normal View History

2015-07-03 08:24:10 -05:00
---
layout: nil
---
2015-07-06 10:53:43 -05:00
{% assign primary_colour = '#DE1B1B' %}
2015-07-04 18:34:25 -05:00
/*
Begin styles from codeguide.co by @mdo
*/
html {
font-size: 16px;
}
@media (min-width: 48em) {
html {
font-size: 20px;
}
}
body {
margin: 0;
font: 1rem/1.5 "PT Sans", sans-serif;
2015-07-06 07:58:19 -05:00
color: #333;
2015-07-04 18:34:25 -05:00
}
/*
End styles from codeguide.co by @mdo
*/
2015-07-06 10:53:43 -05:00
/*
* Page navigation
*/
#page-nav {
bottom: 0.5em;
right: 0.5em;
position: fixed;
text-align: center;
font-weight: bold;
2015-07-06 07:58:19 -05:00
}
2015-07-06 10:53:43 -05:00
/*
* Typography
*/
2015-07-06 07:58:19 -05:00
h1 {
font-family: 'Roboto Slab', serif;
font-weight: 400;
}
h2 {
2015-07-06 10:53:43 -05:00
font-family: 'Roboto Slab', serif;
2015-07-06 07:58:19 -05:00
font-weight: 400;
border-bottom: 0.25em solid #e2e2e2;
padding-bottom: 0.3em;
}
h3:before {
content: '➤';
width: 1.5em;
display: inline-block;
margin-left: -1.5em;
2015-07-06 10:53:43 -05:00
color: #DE1B1B;
2015-07-06 07:58:19 -05:00
font-weight: normal;
}
2015-07-06 10:53:43 -05:00
a {
color: #333;
border-bottom: 1px solid {{ primary_colour }};
text-decoration: none;
-o-transition:.2s;
-ms-transition:.2s;
-moz-transition:.2s;
-webkit-transition:.2s;
transition:.3s;
}
a:hover {
color: {{ primary_colour }};
border-color: #333;
}
header.top {
background: {{ primary_colour }};
}
header.top h1 {
color: #fff;
}
.wrap {
padding: 2% 10%;
max-width: 48em;
margin: 0 auto;
}
#content h1 {
display: none;
}
2015-07-06 07:06:16 -05:00
/* Syntax highlighting */
2015-07-06 07:58:19 -05:00
code {
font-family: 'Droid Sans Mono', monospace;
font-size: 0.825em;
color: #666;
}
pre code {
max-height: 450px;
overflow-y: auto;
}
{% include highlight.hybrid.css %}
2015-07-06 07:06:16 -05:00
.anchorjs-link {
2015-07-06 10:53:43 -05:00
color: {{ primary_colour }};
border: none;
2015-07-06 07:06:16 -05:00
}