2015-10-13 08:55:06 +00:00
|
|
|
@mixin md-typography {
|
|
|
|
color: $md-text-color;
|
2015-10-16 15:06:24 +00:00
|
|
|
word-wrap: break-word;
|
2015-10-13 08:55:06 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $md-link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
*:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
white-space: pre;
|
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 10px;
|
|
|
|
color: #555;
|
|
|
|
vertical-align: middle;
|
2016-03-15 19:56:28 +00:00
|
|
|
background-color: #fcfcfc;
|
2015-10-13 08:55:06 +00:00
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2016-03-15 19:56:28 +00:00
|
|
|
border-color: #ccc #ccc #bbb;
|
2015-10-13 08:55:06 +00:00
|
|
|
border-image: none;
|
|
|
|
border-radius: 3px;
|
2016-03-16 23:29:47 +00:00
|
|
|
box-shadow: 0 -1px 0 #bbb inset;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2016-07-18 09:48:07 +00:00
|
|
|
font-size: 2em;
|
2015-10-13 08:55:06 +00:00
|
|
|
font-weight: 600;
|
2016-06-28 16:36:41 +00:00
|
|
|
margin: 1em 0 10px;
|
|
|
|
padding: 0 0 0.3em;
|
|
|
|
border-bottom: 1px solid $btn-default-border;
|
2016-04-25 20:02:15 +00:00
|
|
|
color: $gl-gray-dark;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2016-07-18 09:48:07 +00:00
|
|
|
font-size: 1.6em;
|
2015-10-13 08:55:06 +00:00
|
|
|
font-weight: 600;
|
2016-06-28 16:36:41 +00:00
|
|
|
margin: 1em 0 10px;
|
|
|
|
padding-bottom: 0.3em;
|
|
|
|
border-bottom: 1px solid $btn-default-border;
|
2016-04-25 20:02:15 +00:00
|
|
|
color: $gl-gray-dark;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2016-06-28 16:36:41 +00:00
|
|
|
margin: 1em 0 10px;
|
2016-07-18 09:48:07 +00:00
|
|
|
font-size: 1.4em;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2016-06-28 16:36:41 +00:00
|
|
|
margin: 1em 0 10px;
|
|
|
|
font-size: 1.25em;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2016-06-28 16:36:41 +00:00
|
|
|
margin: 1em 0 10px;
|
|
|
|
font-size: 1em;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2016-06-28 16:36:41 +00:00
|
|
|
margin: 1em 0 10px;
|
|
|
|
font-size: 0.95em;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2015-10-16 15:06:24 +00:00
|
|
|
color: #7f8fa4;
|
|
|
|
font-size: inherit;
|
2015-10-13 08:55:06 +00:00
|
|
|
padding: 8px 21px;
|
2016-03-18 21:18:00 +00:00
|
|
|
margin: 12px 0;
|
2015-10-13 08:55:06 +00:00
|
|
|
border-left: 3px solid #e7e9ed;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote p {
|
|
|
|
color: #7f8fa4 !important;
|
2015-10-16 15:06:24 +00:00
|
|
|
font-size: inherit;
|
2015-10-13 08:55:06 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2016-01-25 10:42:47 +00:00
|
|
|
color: #5c5d5e;
|
2016-03-18 21:18:00 +00:00
|
|
|
margin: 6px 0 0;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
@extend .table;
|
|
|
|
@extend .table-bordered;
|
2016-03-18 21:18:00 +00:00
|
|
|
margin: 12px 0;
|
2015-10-13 08:55:06 +00:00
|
|
|
color: #5c5d5e;
|
|
|
|
th {
|
|
|
|
background: #f8fafc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2016-03-18 21:18:00 +00:00
|
|
|
margin: 12px 0;
|
2016-01-25 10:42:47 +00:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.6em;
|
|
|
|
overflow-x: auto;
|
2015-10-13 08:55:06 +00:00
|
|
|
@include border-radius(2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
p > code {
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
2015-10-16 15:06:24 +00:00
|
|
|
ul, ol {
|
|
|
|
padding: 0;
|
2016-06-28 16:36:41 +00:00
|
|
|
margin: 3px 0 3px 28px !important;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[href*="/uploads/"], a[href*="storage.googleapis.com/google-code-attachments/"] {
|
|
|
|
&:before {
|
|
|
|
margin-right: 4px;
|
|
|
|
|
|
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
|
|
font-size: inherit;
|
|
|
|
text-rendering: auto;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
content: "\f0c6";
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:before {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2015-10-16 15:06:24 +00:00
|
|
|
|
2016-03-30 22:03:49 +00:00
|
|
|
a.no-attachment-icon {
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-16 15:06:24 +00:00
|
|
|
/* Link to current header. */
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
a.anchor {
|
|
|
|
// Setting `display: none` would prevent the anchor being scrolled to, so
|
|
|
|
// instead we set the height to 0 and it gets updated on hover.
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover > a.anchor {
|
2016-02-15 17:41:02 +00:00
|
|
|
$size: 14px;
|
2015-10-16 15:06:24 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 100%;
|
|
|
|
top: 50%;
|
2016-02-15 17:41:02 +00:00
|
|
|
margin-top: -11px;
|
|
|
|
margin-right: 0;
|
|
|
|
padding-right: 15px;
|
2015-10-16 15:06:24 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: $size;
|
|
|
|
height: $size;
|
|
|
|
background-image: image-url("icon-link.png");
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-08-30 06:09:42 +00:00
|
|
|
/**
|
2012-08-29 18:23:43 +00:00
|
|
|
* Headers
|
2012-08-30 06:09:42 +00:00
|
|
|
*
|
2012-08-29 18:23:43 +00:00
|
|
|
*/
|
2015-09-25 18:33:05 +00:00
|
|
|
body {
|
|
|
|
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
|
|
|
|
}
|
2015-10-13 08:55:06 +00:00
|
|
|
|
2015-03-07 04:02:34 +00:00
|
|
|
.page-title {
|
2016-01-13 16:01:11 +00:00
|
|
|
margin-top: $gl-padding;
|
2015-09-24 16:36:15 +00:00
|
|
|
line-height: 1.3;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 600;
|
2015-12-02 13:43:23 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-09-28 15:58:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-title-empty {
|
2016-03-16 23:29:47 +00:00
|
|
|
margin-top: 0;
|
2015-09-28 15:58:30 +00:00
|
|
|
line-height: 1.3;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 600;
|
2016-03-18 21:18:00 +00:00
|
|
|
margin: 12px 7px;
|
2012-11-21 07:14:15 +00:00
|
|
|
}
|
|
|
|
|
2015-09-03 13:46:13 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
color: $gl-header-color;
|
2016-03-02 10:28:17 +00:00
|
|
|
font-weight: 600;
|
2015-09-03 13:46:13 +00:00
|
|
|
}
|
|
|
|
|
2016-04-26 09:56:18 +00:00
|
|
|
.light-header {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2012-08-29 18:23:43 +00:00
|
|
|
/** CODE **/
|
|
|
|
pre {
|
2012-12-01 12:49:21 +00:00
|
|
|
font-family: $monospace_font;
|
2012-08-29 18:23:43 +00:00
|
|
|
|
2015-07-09 09:36:09 +00:00
|
|
|
&.plain-readme {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2012-08-29 18:23:43 +00:00
|
|
|
}
|
|
|
|
|
2012-11-23 04:24:09 +00:00
|
|
|
.monospace {
|
2012-12-01 12:49:21 +00:00
|
|
|
font-family: $monospace_font;
|
2015-12-08 11:54:32 +00:00
|
|
|
font-size: 90%;
|
2012-11-23 04:24:09 +00:00
|
|
|
}
|
2013-01-10 16:09:12 +00:00
|
|
|
|
2015-06-03 21:54:16 +00:00
|
|
|
code {
|
|
|
|
&.key-fingerprint {
|
|
|
|
background: $body-bg;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-31 21:44:16 +00:00
|
|
|
a > code {
|
|
|
|
color: $link-color;
|
|
|
|
}
|
|
|
|
|
2013-01-10 16:09:12 +00:00
|
|
|
/**
|
2015-10-16 15:06:24 +00:00
|
|
|
* Apply Markdown typography
|
2013-01-10 16:09:12 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
.wiki {
|
2013-03-04 19:34:26 +00:00
|
|
|
@include md-typography;
|
2013-01-10 16:09:12 +00:00
|
|
|
}
|
2013-03-04 20:00:51 +00:00
|
|
|
|
|
|
|
.md {
|
|
|
|
@include md-typography;
|
|
|
|
}
|
2014-03-21 18:14:11 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Textareas intended for GFM
|
|
|
|
*
|
|
|
|
*/
|
2014-11-05 20:45:18 +00:00
|
|
|
.strikethrough {
|
|
|
|
text-decoration: line-through;
|
2015-10-13 08:55:06 +00:00
|
|
|
}
|
2015-11-24 10:36:53 +00:00
|
|
|
|
|
|
|
h1, h2, h3, h4 {
|
|
|
|
small {
|
|
|
|
color: $gl-gray;
|
|
|
|
}
|
|
|
|
}
|
2016-04-26 09:56:18 +00:00
|
|
|
|
|
|
|
.text-right-lg {
|
|
|
|
@media (min-width: $screen-lg-min) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
2016-04-06 19:37:09 +00:00
|
|
|
|
|
|
|
.idiff.deletion {
|
2016-05-18 18:20:46 +00:00
|
|
|
background: $line-removed-dark;
|
2016-04-06 19:37:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.idiff.addition {
|
2016-05-18 18:20:46 +00:00
|
|
|
background: $line-added-dark;
|
2016-04-06 19:37:09 +00:00
|
|
|
}
|