mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
7bec74c02f
- Additional information and better layout for examples. See the src repo for more information.
250 lines
4.2 KiB
CSS
250 lines
4.2 KiB
CSS
|
|
|
|
body {
|
|
font: 90%/1.45em "Helvetica Neue", HelveticaNeue, Verdana, Arial, Helvetica, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #333;
|
|
background-color: #fff;
|
|
}
|
|
|
|
|
|
div.container {
|
|
width: 980px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
font-weight: 100;
|
|
letter-spacing: 1px;
|
|
font-size: 3em;
|
|
}
|
|
|
|
h1 span {
|
|
font-size: 0.5em;
|
|
}
|
|
|
|
a {
|
|
cursor: pointer;
|
|
color: #0063DC;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
div.toc ul {
|
|
color: #4E6CA3;
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
div.toc li {
|
|
padding: 0.2em 1em;
|
|
}
|
|
|
|
div.toc li.active {
|
|
background-color: #ccc !important;
|
|
}
|
|
|
|
div.toc li:nth-child(odd) {
|
|
background-color: #eaeaea;
|
|
}
|
|
|
|
|
|
div.epilogue {
|
|
text-align: center;
|
|
}
|
|
|
|
p.copyright {
|
|
font-size: 0.8em;
|
|
padding-bottom: 2em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
|
|
div.info {
|
|
margin-bottom: 2em;
|
|
|
|
-webkit-column-count: 3;
|
|
-moz-column-count: 3;
|
|
-ms-column-count: 3;
|
|
-o-column-count: 3;
|
|
column-count: 3;
|
|
|
|
-webkit-column-rule: 1px solid #F3F3F3;
|
|
-moz-column-rule: 1px solid #F3F3F3;
|
|
-ms-column-rule: 1px solid #F3F3F3;
|
|
-o-column-rule: 1px solid #F3F3F3;
|
|
column-rule: 1px solid #F3F3F3;
|
|
}
|
|
|
|
div.info li {
|
|
margin-top: 0.75em;
|
|
}
|
|
|
|
div.info p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
div.footer {
|
|
position: relative;
|
|
margin-top: 3em;
|
|
border-top: 1px solid #999;
|
|
background-color: #eee;
|
|
}
|
|
|
|
div.footer > div.liner {
|
|
width: 960px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
div.footer > div.gradient {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 6px;
|
|
|
|
background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.2)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
|
|
background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
|
|
background: -o-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
|
|
background: -ms-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* W3C */
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
|
|
}
|
|
|
|
div.toc {
|
|
-webkit-column-count: 2;
|
|
-moz-column-count: 2;
|
|
-ms-column-count: 2;
|
|
-o-column-count: 2;
|
|
column-count: 2;
|
|
}
|
|
|
|
div.toc-group {
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
div.box {
|
|
overflow: auto;
|
|
height: 8em;
|
|
padding: 1em;
|
|
color: #444;
|
|
background-color: #fcfcfc;
|
|
border: 1px solid #e0e0e0;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
|
|
code {
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
padding: 2px 4px;
|
|
font-size: 0.8em;
|
|
|
|
color: #444;
|
|
background-color: #fcfcfc;
|
|
|
|
border: 1px solid #e0e0e0;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
code.option {
|
|
color: #D14;
|
|
background-color: #fcf6f8;
|
|
border: 1px solid #f7d6df;
|
|
}
|
|
|
|
code.path {
|
|
color: #095c05;
|
|
border: 1px solid #D6E9C6;
|
|
}
|
|
|
|
code.tag {
|
|
color: #095c05;
|
|
background-color: #f5fcf5;
|
|
border: 1px solid #D6E9C6;
|
|
}
|
|
|
|
code.api {
|
|
color: #0c199c;
|
|
background-color: #f4f5fc;
|
|
border: 1px solid #c6cbe9;
|
|
}
|
|
|
|
code.event {
|
|
color: #2a839e;
|
|
background-color: #f5fafb;
|
|
border: 1px solid #a8ddec;
|
|
}
|
|
|
|
code.string {
|
|
color: #e8941e;
|
|
background-color: #fcf8f1;
|
|
border: 1px solid #f7e4c9;
|
|
}
|
|
|
|
code.multiline {
|
|
display: inline-block;
|
|
width: 95%;
|
|
}
|
|
|
|
|
|
ul.tabs {
|
|
height: 40px;
|
|
margin: 20px 20px 0 0;
|
|
}
|
|
|
|
|
|
ul.tabs li {
|
|
display: block;
|
|
float: left;
|
|
padding: 0 20px;
|
|
height: 40px;
|
|
font-size: 1.2em;
|
|
margin: 0 5px;
|
|
cursor: pointer;
|
|
line-height: 40px;
|
|
color: #121e32;
|
|
border: 1px solid white;
|
|
border-bottom: none;
|
|
margin-top: -1px;
|
|
}
|
|
|
|
ul.tabs li.active {
|
|
border: 1px solid #ccc;
|
|
border-bottom: 1px solid white;
|
|
margin-top: 0;
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
}
|
|
|
|
ul.tabs li:hover {
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
ul.tabs li.active:hover {
|
|
background-color: white;
|
|
}
|
|
|
|
div.tabs>div {
|
|
padding: 0 20px;
|
|
border: 1px solid #ccc;
|
|
margin-top: 1px;
|
|
display: none;
|
|
border-radius: 5px;
|
|
box-shadow: 2px 2px 2px #bbb;
|
|
}
|
|
|
|
div.tabs>div h1 {
|
|
border-bottom: none;
|
|
margin-top: 1em;
|
|
}
|
|
|