1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-23 02:04:34 +02:00
video.js/docs/legacy-docs/api/css/api-docs.css
mister-ben f87297b20e
docs: Add note to legacy notes (#7022)
People keep finding the v4 legacy docs at docs.videojs.com/docs and Google keeps positioning them highly in search results. This attempts to lessen that.
2021-01-06 12:50:22 -05:00

136 lines
2.1 KiB
CSS

body {
color: #333;
margin: 6em;
margin-top: 4em;
margin-right: 3em;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (max-width: 700px) {
.member-index {
display: none;
}
.side-nav {
float: none;
}
}
a {
color: #437ABE;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
h1, h2, h3 {
margin-left: -1em;
}
h1 {
border-bottom: 1px #CCC solid;
font-size: 2.5em;
}
h2 {
border-bottom: 1px #DDD solid;
font-size: 2em;
}
h3 {
font-size: 1.5em;
}
#memberIndex h4 {
font-size: 1em;
font-weight: normal;
font-style: italic;
}
div {
border-bottom: 1px #DDD solid;
font-size: 1em;
}
pre {
background-color: #F4F3EC;
font-size: .8em;
margin-bottom: 1.3rem;
padding: .5rem;
padding-left: 1rem;
margin-top: 1rem;
border-left: 5px solid rgb(99,99,99);
-webkit-box-shadow: 5px 5px 10px rgba(192, 192, 192, 1.000);
-moz-box-shadow: 5px 5px 10px rgba(192, 192, 192, 1.000);
box-shadow: 5px 5px 10px rgba(192, 192, 192, 1.000);
}
code {
font-size: 1em;
font-family: source-code-pro, Monaco, Consolas, Menlo, "Lucida Console", monospace;
border: none;
}
table {
border-collapse: collapse;
border: 1px #CCC solid;
padding: 0;
}
th {
background-color: #F4F3EC;
border: 1px #CCC solid;
margin: 0;
padding: .5em;
}
td {
border: 1px #DDD solid;
margin: 0;
padding: .5em;
}
.side-nav {
float: right;
width: 15%;
padding-left: 3em;
margin-left: 2em;
margin-right: 1em;
border: none;
}
.side-nav div {
border: none;
}
.side-nav h2, .side-nav h3 {
margin-left: 0;
}
#main {
width: 70%;
}
div.section {
border: none;
}
.description {
border: none;
}
.deprecated {
color: #990000;
}
.legacydocsnote {
background-color: #ffdddd;
border: 2px solid #ff0000;
text-align: center;
margin: 1em auto;
padding: 1em;
width: 80%;
}
.legacydocsnote::before {
content: "⚠️";
font-size: 200%;
vertical-align: middle;
}