boxes/css/boxes.css
2015-05-12 23:10:46 +02:00

126 lines
2.3 KiB
CSS

body {
font-size: 1.6em;
}
div.footer {
max-height: 33px;
padding-top: 2px;
font-size: 12px;
line-height: 1.1em;
}
.well {
padding-top: 0;
}
.bxsample div {
display: table;
margin: 0;
padding: 0;
}
.bxsample pre {
margin: 0;
padding: 0;
overflow: visible;
border: 0;
}
.bxpage h1 {
color: black;
font-size: 28px;
font-weight: bold;
}
.bxpage h2 {
color: black;
font-size: 22px;
font-weight: bold;
padding-top: 0.5em;
border-top: 1px solid darkgray;
}
.bxpage h3{
color: black;
font-size: 18px;
font-weight: bold;
}
.bxpage dd {
margin-left: 2em;
}
.bxpage pre {
border: 0;
background-color: white;
}
.row .col-md-9 .bxpage {
margin-bottom: 0;
}
.bxpage table {
border: 0;
border-collapse: collapse;
margin: 1em 0;
}
.bxpage table th, .bxpage table td {
text-align: left;
vertical-align: top;
padding: 0.3em 0.7em;
border-right: 2px solid #F5F5F5;
border-bottom: 3px solid #F5F5F5;
}
.bxpage table th {
font-weight: bold;
background-color: white;
}
.bxpage table tr:nth-child(odd) {
background-color: #eeeeee;
}
.bxpage table tr:nth-child(even) {
background-color: white;
}
p code, li code { /* also outside of bxpages */
color: black;
background-color: #ffffdc;
}
p pre code, li pre code {
background-color: transparent;
}
blockquote {
font-size: 1em;
font-weight: normal;
font-style: italic;
}
.atmention a { /* at-mentions of github users, e.g. @tsjensen */
color: inherit;
}
pre {
line-height: 100%;
word-wrap: normal; /* prevent contents of pre areas from line wrapping */
}
pre code {
white-space: pre; /* prevent contents of pre areas from line wrapping */
}
a.bxOffsetAnchor { /* used to prevent anchors from being obscured by the fixed header */
display: block;
position: relative;
top: -60px;
visibility: hidden;
}
/* reponsive embedded video for xs layout */
.bxEmbedContainer {
position: relative;
padding-bottom: 75%; /* 4/3 ratio */
padding-top: 30px; /* IE6 workaround*/
height: 0;
overflow: hidden;
}
.bxEmbedContainer iframe, .bxEmbedContainer object, .bxEmbedContainer embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}