2015-10-24 18:46:33 +05:30
|
|
|
@mixin md-typography {
|
|
|
|
color: $md-text-color;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $md-link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
*:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
// Single code lines should wrap
|
2015-10-24 18:46:33 +05:30
|
|
|
code {
|
|
|
|
font-family: $monospace_font;
|
2016-09-13 17:45:13 +05:30
|
|
|
white-space: pre-wrap;
|
2015-10-24 18:46:33 +05:30
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
// Multi-line code blocks should scroll horizontally
|
|
|
|
pre {
|
|
|
|
code {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 10px;
|
|
|
|
color: #555;
|
|
|
|
vertical-align: middle;
|
2016-06-02 11:05:42 +05:30
|
|
|
background-color: #fcfcfc;
|
2015-10-24 18:46:33 +05:30
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2016-06-02 11:05:42 +05:30
|
|
|
border-color: #ccc #ccc #bbb;
|
2015-10-24 18:46:33 +05:30
|
|
|
border-image: none;
|
|
|
|
border-radius: 3px;
|
2016-06-02 11:05:42 +05:30
|
|
|
box-shadow: 0 -1px 0 #bbb inset;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2016-11-03 12:29:30 +05:30
|
|
|
font-size: 1.75em;
|
2015-10-24 18:46:33 +05:30
|
|
|
font-weight: 600;
|
2016-11-03 12:29:30 +05:30
|
|
|
margin: 16px 0 10px;
|
2016-09-13 17:45:13 +05:30
|
|
|
padding: 0 0 0.3em;
|
2016-11-03 12:29:30 +05:30
|
|
|
border-bottom: 1px solid $white-dark;
|
2016-06-02 11:05:42 +05:30
|
|
|
color: $gl-gray-dark;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2016-11-03 12:29:30 +05:30
|
|
|
font-size: 1.5em;
|
2015-10-24 18:46:33 +05:30
|
|
|
font-weight: 600;
|
2016-11-03 12:29:30 +05:30
|
|
|
margin: 16px 0 10px;
|
2016-06-02 11:05:42 +05:30
|
|
|
color: $gl-gray-dark;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2016-11-03 12:29:30 +05:30
|
|
|
margin: 16px 0 10px;
|
|
|
|
font-size: 1.3em;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2016-11-03 12:29:30 +05:30
|
|
|
margin: 16px 0 10px;
|
|
|
|
font-size: 1.2em;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2016-11-03 12:29:30 +05:30
|
|
|
margin: 16px 0 10px;
|
2016-09-13 17:45:13 +05:30
|
|
|
font-size: 1em;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2016-11-03 12:29:30 +05:30
|
|
|
margin: 16px 0 10px;
|
2016-09-13 17:45:13 +05:30
|
|
|
font-size: 0.95em;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
color: #7f8fa4;
|
|
|
|
font-size: inherit;
|
|
|
|
padding: 8px 21px;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 12px 0;
|
2016-11-03 12:29:30 +05:30
|
|
|
border-left: 3px solid $white-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote:dir(rtl) {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 3px solid $white-dark;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
blockquote p {
|
|
|
|
color: #7f8fa4 !important;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2016-02-05 20:25:01 +05:30
|
|
|
color: #5c5d5e;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 6px 0 0;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
@extend .table;
|
|
|
|
@extend .table-bordered;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 12px 0;
|
2015-10-24 18:46:33 +05:30
|
|
|
color: #5c5d5e;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
th {
|
|
|
|
background: #f8fafc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
table:dir(rtl) th {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
pre {
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 12px 0;
|
2016-02-05 20:25:01 +05:30
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.6em;
|
|
|
|
overflow-x: auto;
|
2016-11-03 12:29:30 +05:30
|
|
|
border-radius: 2px;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
p > code {
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul, ol {
|
|
|
|
padding: 0;
|
2016-09-13 17:45:13 +05:30
|
|
|
margin: 3px 0 3px 28px !important;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
ul:dir(rtl), ol:dir(rtl) {
|
|
|
|
margin: 3px 28px 3px 0 !important;
|
|
|
|
}
|
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
a.no-attachment-icon {
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
/* Link to current header. */
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
a.anchor {
|
2016-09-29 09:46:39 +05:30
|
|
|
left: -16px;
|
|
|
|
position: absolute;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: image-url('icon_anchor.svg');
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
&:hover > a.anchor:after {
|
|
|
|
visibility: visible;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Headers
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
body {
|
|
|
|
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-title {
|
2016-01-19 16:12:03 +05:30
|
|
|
margin-top: $gl-padding;
|
2015-10-24 18:46:33 +05:30
|
|
|
line-height: 1.3;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 600;
|
2015-12-23 02:04:40 +05:30
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.page-title-empty {
|
2016-06-02 11:05:42 +05:30
|
|
|
margin-top: 0;
|
2015-10-24 18:46:33 +05:30
|
|
|
line-height: 1.3;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 600;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 12px 7px;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2016-11-03 12:29:30 +05:30
|
|
|
color: $gl-title-color;
|
2016-06-02 11:05:42 +05:30
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.light-header {
|
|
|
|
font-weight: 600;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
/** CODE **/
|
|
|
|
pre {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
|
|
|
|
&.plain-readme {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.monospace {
|
|
|
|
font-family: $monospace_font;
|
2015-12-23 02:04:40 +05:30
|
|
|
font-size: 90%;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
&.key-fingerprint {
|
|
|
|
background: $body-bg;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a > code {
|
|
|
|
color: $link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Apply Markdown typography
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.wiki {
|
|
|
|
@include md-typography;
|
|
|
|
}
|
|
|
|
|
|
|
|
.md {
|
|
|
|
@include md-typography;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Textareas intended for GFM
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.strikethrough {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2015-12-23 02:04:40 +05:30
|
|
|
|
|
|
|
h1, h2, h3, h4 {
|
|
|
|
small {
|
|
|
|
color: $gl-gray;
|
|
|
|
}
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
.text-right-lg {
|
|
|
|
@media (min-width: $screen-lg-min) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.idiff.deletion {
|
|
|
|
background: $line-removed-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.idiff.addition {
|
|
|
|
background: $line-added-dark;
|
|
|
|
}
|