viewerjs/docs/css/main.css
2015-12-28 11:08:48 +08:00

187 lines
2.4 KiB
CSS

/* Basic */
body {
margin: 0;
overflow-x: hidden;
}
.browserupgrade {
margin: 0;
padding: 5px 15px;
background-color: #ff851b;
color: #fff;
text-align: center;
}
/* Header */
.docs-header {
margin-bottom: 0;
}
.navbar-toggle:hover,
.navbar-toggle:focus {
border-color: #0074d9;
}
.navbar-toggle .icon-bar {
background-color: #0074d9;
}
/* Jumbotron */
.docs-jumbotron {
background-color: #0074d9;
color: #fff;
}
.docs-jumbotron .version {
font-size: 14px;
color: #fff;
filter: alpha(opacity=50);
opacity: 0.5;
}
.docs-carbonads-container {
position: relative;
}
.docs-carbonads {
max-width: 350px;
padding: 15px;
border: 1px solid #ccc;
border-radius: 4px;
overflow: hidden;
}
.carbon-wrap {
overflow: hidden;
}
.carbon-img {
clear: left;
float: left;
display: block;
}
.carbon-text,
.carbon-poweredby {
display: block;
margin-left: 140px;
}
.carbon-text,
.carbon-text:hover,
.carbon-text:focus {
color: #fff;
text-decoration: none;
}
.carbon-poweredby,
.carbon-poweredby:hover,
.carbon-poweredby:focus {
color: #ddd;
text-decoration: none;
}
@media (min-width: 992px) {
.docs-carbonads {
position: absolute;
right: 0;
bottom: 5px;
}
}
/* Content */
.docs-pictures {
margin: 0;
padding: 0;
list-style: none;
}
.docs-pictures > li {
float: left;
width: 33.3%;
height: 33.3%;
margin: 0 -1px -1px 0;
border: 1px solid transparent;
overflow: hidden;
}
.docs-pictures > li > img {
width: 100%;
}
.docs-toggles > .btn,
.docs-toggles > .btn-group {
margin-bottom: 10px;
}
@media (min-width: 992px) {
.docs-collapse {
display: block;
}
}
.docs-buttons > .btn-group,
.docs-buttons > .input-group {
width: 100%;
margin-bottom: 5px;
}
.docs-buttons .input-group-btn {
width: 50%;
}
.docs-buttons .input-group-btn .btn {
width: 100%;
}
/* Footer */
.docs-footer {
overflow: hidden;
}
.hearts {
position: relative;
display: block;
width: 100%;
height: 30px;
margin-top: 20px;
margin-bottom: 20px;
color: #ddd;
font-size: 18px;
line-height: 30px;
text-align: center;
}
.hearts:hover {
color: #ff4136;
}
.hearts:before {
position: absolute;
top: 50%;
right: 0;
left: 0;
display: block;
height: 0;
border-top: 1px solid #eee;
content: " ";
}
.hearts:after {
position: relative;
z-index: 1;
padding-left: 8px;
padding-right: 8px;
background-color: #fff;
content: "♥";
}