2015-10-13 04:55:06 -04:00
|
|
|
@mixin md-typography {
|
|
|
|
color: $md-text-color;
|
2015-10-16 11:06:24 -04:00
|
|
|
word-wrap: break-word;
|
2015-10-13 04:55:06 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $md-link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
*:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-08-04 15:29:45 -04:00
|
|
|
// Single code lines should wrap
|
2015-10-13 04:55:06 -04:00
|
|
|
code {
|
|
|
|
font-family: $monospace_font;
|
2016-08-04 15:29:45 -04:00
|
|
|
white-space: pre-wrap;
|
2015-10-13 04:55:06 -04:00
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
|
2016-08-04 15:29:45 -04:00
|
|
|
// Multi-line code blocks should scroll horizontally
|
|
|
|
pre {
|
|
|
|
code {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-13 04:55:06 -04:00
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 10px;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $kdb-color;
|
2015-10-13 04:55:06 -04:00
|
|
|
vertical-align: middle;
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $kdb-bg;
|
2015-10-13 04:55:06 -04:00
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2016-11-30 08:25:25 -05:00
|
|
|
border-color: $kdb-border $kdb-border $kdb-border-bottom;
|
2015-10-13 04:55:06 -04:00
|
|
|
border-image: none;
|
|
|
|
border-radius: 3px;
|
2016-11-30 08:25:25 -05:00
|
|
|
box-shadow: 0 -1px 0 $kdb-shadow inset;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2016-10-14 16:55:10 -04:00
|
|
|
font-size: 1.75em;
|
2015-10-13 04:55:06 -04:00
|
|
|
font-weight: 600;
|
2016-10-14 16:55:10 -04:00
|
|
|
margin: 16px 0 10px;
|
2016-06-28 12:36:41 -04:00
|
|
|
padding: 0 0 0.3em;
|
2016-10-17 16:23:28 -04:00
|
|
|
border-bottom: 1px solid $white-dark;
|
2016-04-25 16:02:15 -04:00
|
|
|
color: $gl-gray-dark;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2016-10-14 16:55:10 -04:00
|
|
|
font-size: 1.5em;
|
2015-10-13 04:55:06 -04:00
|
|
|
font-weight: 600;
|
2016-10-14 16:55:10 -04:00
|
|
|
margin: 16px 0 10px;
|
2016-04-25 16:02:15 -04:00
|
|
|
color: $gl-gray-dark;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2016-10-14 16:55:10 -04:00
|
|
|
margin: 16px 0 10px;
|
|
|
|
font-size: 1.3em;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2016-10-14 16:55:10 -04:00
|
|
|
margin: 16px 0 10px;
|
|
|
|
font-size: 1.2em;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2016-10-14 16:55:10 -04:00
|
|
|
margin: 16px 0 10px;
|
2016-06-28 12:36:41 -04:00
|
|
|
font-size: 1em;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2016-10-14 16:55:10 -04:00
|
|
|
margin: 16px 0 10px;
|
2016-06-28 12:36:41 -04:00
|
|
|
font-size: 0.95em;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $gl-grayish-blue;
|
2015-10-16 11:06:24 -04:00
|
|
|
font-size: inherit;
|
2015-10-13 04:55:06 -04:00
|
|
|
padding: 8px 21px;
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 12px 0;
|
2016-10-17 16:23:28 -04:00
|
|
|
border-left: 3px solid $white-dark;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
2016-09-11 12:08:09 -04:00
|
|
|
blockquote:dir(rtl) {
|
|
|
|
border-left: 0;
|
2016-10-17 16:23:28 -04:00
|
|
|
border-right: 3px solid $white-dark;
|
2016-09-11 12:08:09 -04:00
|
|
|
}
|
|
|
|
|
2015-10-13 04:55:06 -04:00
|
|
|
blockquote p {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $gl-grayish-blue !important;
|
2015-10-16 11:06:24 -04:00
|
|
|
font-size: inherit;
|
2015-10-13 04:55:06 -04:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $gl-text-color-dark;
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 6px 0 0;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
@extend .table;
|
|
|
|
@extend .table-bordered;
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 12px 0;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $gl-text-color-dark;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2015-10-13 04:55:06 -04:00
|
|
|
th {
|
2016-11-30 08:25:25 -05:00
|
|
|
background: $label-gray-bg;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-11 12:08:09 -04:00
|
|
|
table:dir(rtl) th {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2015-10-13 04:55:06 -04:00
|
|
|
pre {
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 12px 0;
|
2016-01-25 05:42:47 -05:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.6em;
|
|
|
|
overflow-x: auto;
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 2px;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
p > code {
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
ul,
|
|
|
|
ol {
|
2015-10-16 11:06:24 -04:00
|
|
|
padding: 0;
|
2016-06-28 12:36:41 -04:00
|
|
|
margin: 3px 0 3px 28px !important;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
ul:dir(rtl),
|
|
|
|
ol:dir(rtl) {
|
2016-09-11 12:08:09 -04:00
|
|
|
margin: 3px 28px 3px 0 !important;
|
|
|
|
}
|
|
|
|
|
2015-10-13 04:55:06 -04:00
|
|
|
li {
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
a[href*="/uploads/"],
|
|
|
|
a[href*="storage.googleapis.com/google-code-attachments/"] {
|
2016-10-24 16:58:50 -04:00
|
|
|
&::before {
|
2015-10-13 04:55:06 -04:00
|
|
|
margin-right: 4px;
|
|
|
|
|
|
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
|
|
font-size: inherit;
|
|
|
|
text-rendering: auto;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
content: "\f0c6";
|
|
|
|
}
|
|
|
|
|
2016-10-24 16:58:50 -04:00
|
|
|
&:hover::before {
|
2015-10-13 04:55:06 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2015-10-16 11:06:24 -04:00
|
|
|
|
2016-03-30 18:03:49 -04:00
|
|
|
a.no-attachment-icon {
|
2016-10-24 16:58:50 -04:00
|
|
|
&::before {
|
2016-03-30 18:03:49 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-16 11:06:24 -04:00
|
|
|
/* Link to current header. */
|
2016-10-24 16:22:06 -04:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2015-10-16 11:06:24 -04:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
a.anchor {
|
2016-07-30 15:23:46 -04:00
|
|
|
left: -16px;
|
|
|
|
position: absolute;
|
|
|
|
text-decoration: none;
|
2016-11-22 17:11:12 -05:00
|
|
|
outline: none;
|
2016-07-30 15:23:46 -04:00
|
|
|
|
2016-10-24 16:58:50 -04:00
|
|
|
&::after {
|
2016-09-14 17:35:46 -04:00
|
|
|
content: image-url('icon_anchor.svg');
|
2016-07-30 15:23:46 -04:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2015-10-16 11:06:24 -04:00
|
|
|
}
|
|
|
|
|
2016-10-24 16:58:50 -04:00
|
|
|
&:hover > a.anchor::after {
|
2016-07-30 15:23:46 -04:00
|
|
|
visibility: visible;
|
2015-10-16 11:06:24 -04:00
|
|
|
}
|
|
|
|
}
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-08-30 02:09:42 -04:00
|
|
|
/**
|
2012-08-29 14:23:43 -04:00
|
|
|
* Headers
|
2012-08-30 02:09:42 -04:00
|
|
|
*
|
2012-08-29 14:23:43 -04:00
|
|
|
*/
|
2015-09-25 14:33:05 -04:00
|
|
|
body {
|
2016-11-30 08:25:25 -05:00
|
|
|
-webkit-text-shadow: $body-text-shadow 0 0 1px;
|
2015-09-25 14:33:05 -04:00
|
|
|
}
|
2015-10-13 04:55:06 -04:00
|
|
|
|
2015-03-06 23:02:34 -05:00
|
|
|
.page-title {
|
2016-01-13 11:01:11 -05:00
|
|
|
margin-top: $gl-padding;
|
2015-09-24 12:36:15 -04:00
|
|
|
line-height: 1.3;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 600;
|
2015-12-02 08:43:23 -05:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-09-28 11:58:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-title-empty {
|
2016-03-16 19:29:47 -04:00
|
|
|
margin-top: 0;
|
2015-09-28 11:58:30 -04:00
|
|
|
line-height: 1.3;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 600;
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 12px 7px;
|
2012-11-21 02:14:15 -05:00
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2016-09-08 17:38:14 -04:00
|
|
|
color: $gl-title-color;
|
2016-03-02 05:28:17 -05:00
|
|
|
font-weight: 600;
|
2015-09-03 09:46:13 -04:00
|
|
|
}
|
|
|
|
|
2016-04-26 05:56:18 -04:00
|
|
|
.light-header {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2012-08-29 14:23:43 -04:00
|
|
|
/** CODE **/
|
|
|
|
pre {
|
2012-12-01 07:49:21 -05:00
|
|
|
font-family: $monospace_font;
|
2012-08-29 14:23:43 -04:00
|
|
|
|
2015-07-09 05:36:09 -04:00
|
|
|
&.plain-readme {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2012-08-29 14:23:43 -04:00
|
|
|
}
|
|
|
|
|
2012-11-22 23:24:09 -05:00
|
|
|
.monospace {
|
2012-12-01 07:49:21 -05:00
|
|
|
font-family: $monospace_font;
|
2015-12-08 06:54:32 -05:00
|
|
|
font-size: 90%;
|
2012-11-22 23:24:09 -05:00
|
|
|
}
|
2013-01-10 11:09:12 -05:00
|
|
|
|
2015-06-03 17:54:16 -04:00
|
|
|
code {
|
|
|
|
&.key-fingerprint {
|
|
|
|
background: $body-bg;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-31 17:44:16 -04:00
|
|
|
a > code {
|
|
|
|
color: $link-color;
|
|
|
|
}
|
|
|
|
|
2013-01-10 11:09:12 -05:00
|
|
|
/**
|
2015-10-16 11:06:24 -04:00
|
|
|
* Apply Markdown typography
|
2013-01-10 11:09:12 -05:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
.wiki {
|
2013-03-04 14:34:26 -05:00
|
|
|
@include md-typography;
|
2013-01-10 11:09:12 -05:00
|
|
|
}
|
2013-03-04 15:00:51 -05:00
|
|
|
|
|
|
|
.md {
|
|
|
|
@include md-typography;
|
|
|
|
}
|
2014-03-21 14:14:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Textareas intended for GFM
|
|
|
|
*
|
|
|
|
*/
|
2014-11-05 15:45:18 -05:00
|
|
|
.strikethrough {
|
|
|
|
text-decoration: line-through;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
2015-11-24 05:36:53 -05:00
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4 {
|
2015-11-24 05:36:53 -05:00
|
|
|
small {
|
|
|
|
color: $gl-gray;
|
|
|
|
}
|
|
|
|
}
|
2016-04-26 05:56:18 -04:00
|
|
|
|
|
|
|
.text-right-lg {
|
|
|
|
@media (min-width: $screen-lg-min) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
2016-04-06 15:37:09 -04:00
|
|
|
|
|
|
|
.idiff.deletion {
|
2016-05-18 14:20:46 -04:00
|
|
|
background: $line-removed-dark;
|
2016-04-06 15:37:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.idiff.addition {
|
2016-05-18 14:20:46 -04:00
|
|
|
background: $line-added-dark;
|
2016-04-06 15:37:09 -04:00
|
|
|
}
|