Docs tweak

This commit is contained in:
Sam Potts
2015-07-20 23:03:24 +10:00
parent e49c417e54
commit 20ee77a55e
4 changed files with 11 additions and 5 deletions

2
docs/dist/docs.css vendored

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.0/plyr.css?1">
<!-- Docs styles -->
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.0/docs.css?2">
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.0/docs.css?3">
</head>
<body>
<header>
@ -92,7 +92,7 @@
a.send();
a.onload = function(){
var c = d.createElement("div");
c.style.display="none";
c.setAttribute("hidden", "");
c.innerHTML = a.responseText;
b.insertBefore(c, b.childNodes[0]);
}

View File

@ -8,13 +8,19 @@
box-sizing: border-box;
}
// Hidden
[hidden] {
display: none;
}
// Base
html {
height: 100%;
font-size: 100%;
background: linear-gradient(#fff, @body-background);
}
body {
font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
background: @body-background;
line-height: 1.5;
text-align: center;
color: @gray;

View File

@ -123,7 +123,7 @@ nav {
position: relative;
margin-left: 6px;
padding: ((@padding-base / 2) - 1px);
background: @body-background;
background: #fff;
border: 1px solid @gray-light;
&::before {