nori/results/resources/offcanvas.css

80 lines
1.3 KiB
CSS

/*
* Style tweaks
* --------------------------------------------------
*/
html,
body {
overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
padding-top: 70px;
}
footer {
padding: 30px 0;
}
table {
width: 100%;
border: 1px solid gray;
text-align: center;
}
table tr {
border-bottom: 1px solid gray;
}
table th {
padding: 0.5em;
border-bottom: 1px solid gray;
}
table td:first-child {
text-align: left;
}
table td {
padding: 1em;
border-right: 1px solid gray;
}
/*
* Off Canvas
* --------------------------------------------------
*/
@media screen and (max-width: 767px) {
.row-offcanvas {
position: relative;
-webkit-transition: all .25s ease-out;
-moz-transition: all .25s ease-out;
transition: all .25s ease-out;
}
.row-offcanvas-right {
right: 0;
}
.row-offcanvas-left {
left: 0;
}
.row-offcanvas-right
.sidebar-offcanvas {
right: -80%; /* 6 columns */
}
.row-offcanvas-left
.sidebar-offcanvas {
left: -80%; /* 6 columns */
}
.row-offcanvas-right.active {
right: 80%; /* 6 columns */
}
.row-offcanvas-left.active {
left: 80%; /* 6 columns */
}
.sidebar-offcanvas {
position: absolute;
top: 0;
width: 80%; /* 6 columns */
}
}