1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-31 17:42:05 +02:00

Added CSS Styles to use

This commit is contained in:
Ryan Greenup
2020-07-14 21:39:40 +10:00
parent ff5a9e2cb4
commit 880adb63ce
297 changed files with 59368 additions and 3 deletions

View File

@@ -0,0 +1,205 @@
*,
*::before,
*::after {
box-sizing: border-box;
}
.container-fluid {
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
position: relative;
width: 100%;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
.col-12 {
-webkit-box-flex: 0;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
}
@media (min-width: 768px) {
.col-md-3 {
-webkit-box-flex: 0;
-ms-flex: 0 0 25%;
flex: 0 0 25%;
max-width: 25%;
}
}
@media (min-width: 768px) {
.col-md-9 {
-webkit-box-flex: 0;
-ms-flex: 0 0 75%;
flex: 0 0 75%;
max-width: 75%;
}
}
@media (min-width: 1200px) {
.col-xl-2 {
-webkit-box-flex: 0;
-ms-flex: 0 0 16.666667%;
flex: 0 0 16.666667%;
max-width: 16.666667%;
}
}
@media (min-width: 1200px) {
.col-xl-10 {
-webkit-box-flex: 0;
-ms-flex: 0 0 83.333333%;
flex: 0 0 83.333333%;
max-width: 83.333333%;
}
}
@media (min-width: 768px) {
.pt-md-3, .py-md-3 {
padding-top: 1rem!important;
}
}
@media (min-width: 768px) {
.pb-md-3, .py-md-3 {
padding-bottom: 1rem!important;
}
}
@media (min-width: 768px) {
.pl-md-5, .px-md-5 {
padding-left: 3rem!important;
}
}
.d-none {
display: none!important;
}
@media (min-width: 1200px) {
.d-xl-block {
display: block!important;
}
}
@media (min-width: 768px) {
.d-md-block {
display: block!important;
}
}
.bd-content {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.bd-toc {
position: -webkit-sticky;
position: sticky;
top: 4rem;
height: calc(100vh - 10rem);
overflow-y: auto;
}
.bd-toc {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
font-size: .875rem;
}
.section-nav {
padding-left: 0;
}
.section-nav ul {
font-size: .875rem;
list-style-type: none;
}
.section-nav li {
font-size: .875rem;
}
.section-nav a {
color: inherit !important;
}
.row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
@media (min-width: 1200px) {
.flex-xl-nowrap {
flex-wrap: nowrap !important;
}
}
#floating-button {
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background: #00897B;
position: fixed;
top: .5rem;
right: .5rem;
cursor: pointer;
box-shadow: 0px 2px 5px #666;
}
#floating-button .more {
color: #F5F5F5;
position: absolute;
top: 0;
display: block;
bottom: 0;
left: 0;
right: 0;
text-align: center;
padding: 0;
margin: 0;
line-height: 2.5rem;
font-size: 2rem;
font-family: 'monospace';
font-weight: 300;
}
.hide-none {
display: none !important;
}
.col-expand {
-webkit-box-flex: 0;
-ms-flex: 0 0 100% !important;
flex: 0 0 100% !important;
max-width: 100% !important;
padding-right: 3rem !important;
}
.outline-bold {
font-weight: bolder !important;
}
@media print {
#floating-button {
display: none !important;
}
}