1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/lib/GUI/css/markdown.less

701 lines
11 KiB
Plaintext
Raw Normal View History

/*** Sourced from this Gist: https://github.com/sindresorhus/github-markdown-css ***/
@font-face {
font-family: octicons-anchor;
src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRn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as7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff');
}
2014-05-07 21:56:48 +02:00
.readme {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
font-size: 16px;
line-height: 1.6;
word-wrap: break-word;
2014-05-07 21:56:48 +02:00
a {
background: transparent;
2014-05-07 21:56:48 +02:00
&:active,
&:hover {
outline: 0;
}
}
strong {
2014-05-07 21:56:48 +02:00
font-weight: bold;
}
2014-05-07 21:56:48 +02:00
h1 {
text-align: left;
font-size: 2em;
margin: 0.67em 0;
}
2014-05-07 21:56:48 +02:00
img {
border: 0;
}
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
2014-05-07 21:56:48 +02:00
pre {
overflow: auto;
}
2014-05-07 21:56:48 +02:00
code,
kbd,
pre {
font-family: monospace, monospace;
font-size: 1em;
}
2014-05-07 21:56:48 +02:00
input {
color: inherit;
font: inherit;
margin: 0;
}
2014-05-07 21:56:48 +02:00
html input[disabled] {
cursor: default;
}
2014-05-07 21:56:48 +02:00
input {
line-height: normal;
}
input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
* {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
a {
color: #4183c4;
text-decoration: none;
&:hover,
&:focus,
&:active {
text-decoration: underline;
}
}
hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
&:before {
display: table;
content: "";
}
&:after {
display: table;
clear: both;
content: "";
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
2014-05-07 21:56:48 +02:00
h1 {
font-size: 30px;
}
2014-05-07 21:56:48 +02:00
h2 {
font-size: 21px;
}
2014-05-07 21:56:48 +02:00
h3 {
font-size: 16px;
}
2014-05-07 21:56:48 +02:00
h4 {
font-size: 14px;
}
2014-05-07 21:56:48 +02:00
h5 {
font-size: 12px;
}
2014-05-07 21:56:48 +02:00
h6 {
font-size: 11px;
}
2014-05-07 21:56:48 +02:00
blockquote {
margin: 0;
}
2014-05-07 21:56:48 +02:00
ul,
ol {
padding: 0;
2014-05-07 21:56:48 +02:00
margin-top: 0;
margin-bottom: 0;
ol {
list-style-type: lower-roman;
ol {
list-style-type: lower-alpha;
}
}
}
ul {
ul {
ol {
list-style-type: lower-alpha;
}
}
}
ol {
ul {
ol {
list-style-type: lower-alpha;
}
}
}
dd {
margin-left: 0;
}
code {
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
2014-05-07 21:56:48 +02:00
pre {
2014-05-07 21:56:48 +02:00
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
kbd {
background-color: #e7e7e7;
background-image: -webkit-linear-gradient(#fefefe, #e7e7e7);
background-image: linear-gradient(#fefefe, #e7e7e7);
background-repeat: repeat-x;
border-radius: 2px;
border: 1px solid #cfcfcf;
color: #000;
padding: 3px 5px;
line-height: 10px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
display: inline-block;
}
>*:first-child {
margin-top: 0 !important;
}
>*:last-child {
margin-bottom: 0 !important;
}
.anchor {
position: absolute;
top: 0;
bottom: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.anchor:focus {
outline: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
.octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
&:hover {
.anchor {
height: 1em;
padding-left: 8px;
margin-left: -30px;
line-height: 1;
text-decoration: none;
.octicon-link {
display: inline-block;
}
}
}
}
2014-05-07 21:56:48 +02:00
h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
2014-05-07 21:56:48 +02:00
h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
2014-05-07 21:56:48 +02:00
h3 {
font-size: 1.5em;
line-height: 1.43;
}
h4 {
font-size: 1.25em;
}
2014-05-07 21:56:48 +02:00
h5 {
font-size: 1em;
}
2014-05-07 21:56:48 +02:00
h6 {
font-size: 1em;
color: #777;
}
p,
blockquote,
ul,
ol,
dl,
table,
pre {
margin-top: 0;
margin-bottom: 16px;
}
hr {
height: 4px;
padding: 0;
margin: 16px 0;
background-color: #e7e7e7;
border: 0 none;
}
ul,
ol {
padding-left: 2em;
ul, ol {
margin-top: 0;
margin-bottom: 0;
}
}
li {
>p {
margin-top: 16px;
}
}
2014-05-07 21:56:48 +02:00
dl {
padding: 0;
dt {
2014-05-07 21:56:48 +02:00
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
dd {
padding: 0 16px;
margin-bottom: 16px;
}
}
2014-05-07 21:56:48 +02:00
blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
>:first-child {
margin-top: 0;
}
>:last-child {
margin-bottom: 0;
}
}
2014-05-07 21:56:48 +02:00
table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
th {
font-weight: bold;
}
th,
td {
padding: 6px 13px;
border: 1px solid #ddd;
}
tr {
background-color: #fff;
border-top: 1px solid #ccc;
&:nth-child(2n) {
background-color: #f8f8f8;
}
}
}
2014-05-07 21:56:48 +02:00
img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
2014-05-07 21:56:48 +02:00
code {
2014-05-07 21:56:48 +02:00
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0,0,0,0.04);
border-radius: 3px;
&:before,
&:after {
letter-spacing: -0.2em;
content: "\00a0";
}
}
2014-05-07 21:56:48 +02:00
pre {
padding: 16px;
2014-05-07 21:56:48 +02:00
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
word-wrap: normal;
>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
2014-05-07 21:56:48 +02:00
background-color: transparent;
border: 0;
&:before,
&:after {
content: normal;
}
}
}
.highlight {
margin-bottom: 16px;
background: #fff;
pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
margin-bottom: 0;
word-break: normal;
}
}
.highlight{
.mf,
.mh,
.mi,
.mo,
.il,
.m {
color: #945277;
}
.s,
.sb,
.sc,
.sd,
.s2,
.se,
.sh,
.si,
.sx,
.s1 {
color: #df5000;
}
.kc,
.kd,
.kn,
.kp,
.kr,
.kt,
.k,
.o {
font-weight: bold;
}
.kt {
color: #458;
}
.c,
.cm,
.c1 {
color: #998;
font-style: italic;
}
.cp,
.cs {
color: #999;
font-weight: bold;
}
.cs {
font-style: italic;
}
.n {
color: #333;
}
.na,
.nv,
.vc,
.vg,
.vi {
color: #008080;
}
.nb {
color: #0086B3;
}
.nc {
color: #458;
font-weight: bold;
}
.no {
color: #094e99;
}
.ni {
color: #800080;
}
.ne {
color: #990000;
font-weight: bold;
}
.nf {
color: #945277;
font-weight: bold;
}
.nn {
color: #555;
}
.nt {
color: #000080;
}
.err {
color: #a61717;
background-color: #e3d2d2;
}
.gd {
color: #000;
background-color: #fdd;
.x {
color: #000;
background-color: #faa;
}
}
.ge {
font-style: italic;
}
.gr {
color: #aa0000;
}
.gh {
color: #999;
}
.gi {
color: #000;
background-color: #dfd;
.x {
color: #000;
background-color: #afa;
}
}
.go {
color: #888;
}
.gp {
color: #555;
}
.gs {
font-weight: bold;
}
.gu {
color: #800080;
font-weight: bold;
}
.gt {
color: #aa0000;
}
.ow {
font-weight: bold;
}
.w {
color: #bbb;
}
.sr {
color: #017936;
}
.ss {
color: #8b467f;
}
.bp {
color: #999;
}
.gc {
color: #999;
background-color: #EAF2F5;
}
}
.octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.octicon-link {
&:before {
content: '\f05c';
}
}
.task-list-item {
list-style-type: none;
+.task-list-item {
margin-top: 3px;
}
input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
}
}