Style Sheet Code

/* headers */
h1, h2, h3, h4, h5, h6 {
font-weight: bold !important;
margin-top: 1em !important;
margin-bottom: 1em !important;
}

/* Suppress Pressbooks rendering
of chapter titles in screaming caps */
section.chapter header h1 {
text-transform: none !important;
}
.front-matter header h1 {
text-transform: none !important;
}
.back-matter header h1 {
text-transform: none !important;
}

/* rounded textboxes */
.textbox, .textbox p {
hyphens: none;
border-radius: 1.5em !important;
}
.textbox__header {
border-radius: 1.5em 1.5em 0 0 !important;
}
/*end of rounded textboxes */
/* Get rid of large margins some themes apply to textbox headings */
h2.textbox__title, h3.textbox__title, h4.textbox__title {
margin: 0;
}
.textbox__header h2, h3, h4 {
margin: 0;
}
/* Make headings bold by default */
h1, h2, h3, h4, h5, h6 {
font-weight: bold !important;
}
/* Make sure lists inside tables match table font defaults */
table li {
font-size: 0.9em !important;
font-weight: normal !important;
line-height: 1 !important;
}
table ul, ol {
margin-top: 1.5em !important;
}/*End of table list formatting */
/*normal word wrap in tables*/
td, th {
word-break: normal !important;
overflow-wrap: normal !important;
}

/*textbox icons */
.textbox–learning-objectives .textbox__header::before,
.textbox–exercises .textbox__header::before,
.textbox–examples .textbox__header::before,
.textbox–key-takeaways .textbox__header::before {
content: “”;
display: block;
float: left;
background-size: 50px 50px !important;
width: 50px;
height: 50px;
margin: 5px 10px 0 0; /*adjust these values if you needed */
}

/* Learning Objectives Box */
.textbox–learning-objectives .textbox__header::before {
background: url(“https://ecampusontario.pressbooks.pub/app/uploads/sites/4230/2024/05/Pressbooks_Icon_Objectives_OG-White.png”) no-repeat;
}

/* Question/Exercises Box */
.textbox–exercises .textbox__header::before {
background: url(“https://ecampusontario.pressbooks.pub/app/uploads/sites/4230/2024/05/Pressbooks_Icon_Activity_OG-White.png”) no-repeat;
}

/* Examples Box */
.textbox–examples .textbox__header::before {
background: url(“https://ecampusontario.pressbooks.pub/app/uploads/sites/4230/2024/05/Pressbooks_Icon_Examples_OG-White.png”) no-repeat;
}

/* Key Takeaways Box */
.textbox–key-takeaways .textbox__header::before {
background: url(“https://ecampusontario.pressbooks.pub/app/uploads/sites/4230/2024/05/Pressbooks_Icon_Key_OG-White.png”) no-repeat;
}

/* No-Icon */

.textbox-no-icon::before {
display: none !important;
background: none !important;
}

/* Table with alternating row colours */
table.alternating tr:nth-child(even){
background: #f5faff !important;
}
table.alternating tr td:first-child{
padding-left: 1em;
}

table.alternating tr:nth-child(odd){
background: #daeaf5 !important;
}table.alternating td {
padding-left: 1em;
}

table.alternating th {
background: #0b6396;
color: #fff;
padding-left: 1em;
}

/* box chart*/
.box-chart {
margin-top: 10px;
}

.box-chart > .title {
color: #443988;
text-align: center;
}

.box-row {
display: flex;
flex-direction: row;
margin-bottom: 10px
}

.box-container-rounded {
background-color: #443988;
border-radius: 12px;
padding: 10px;
margin-right: 10px;
flex: 1;
color: #fff;
}

@media screen and (max-width: 500px) {
.box-row {
flex-direction: column;
margin-bottom: 0;
}

.box-container-rounded {
margin-right: 0;
margin-bottom: 10px;
}
}
/* wizard*/
.wizzard ol {
list-style: none;
counter-reset: list-counter;
padding: 0;
}
.wizzard li {
counter-increment: list-counter;
margin-bottom: 20px;
position: relative;
margin: 0;
display: flex;
align-items: center;
padding: 4px;
background-color: #f1f1f1;
border-radius: 8px;
margin-bottom: 6px;
}
.wizzard .text-container {
background-color: red;
position: relative;
}
.wizzard .circle {
position: relative;
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #443988;
color: white;
text-align: center;
line-height: 50px;
margin-right: 10px;
}
.wizzard p {
vertical-align: top;
margin: 0;
}
.wizzard li::before {
content: “”;
position: absolute;
left: 28px;
top: 53px;
width: 1px;
height: 11px;
background-color: #443988;
}
.wizzard li::after {
content: “”;
position: absolute;
left: 28px;
top: -7px;
width: 1px;
height: 11px;
background-color:#443988;
}
.wizzard li:first-child:after {
display: none;
}
.wizzard li:last-child:before {
display: none;
}

/* Link to learning boxes */
.link-to-learning {
border: 2px solid #2596be !important;
position: relative;
}

.link-to-learning_icon {
content: url(“https://ecampusontario.pressbooks.pub/app/uploads/sites/4234/2024/05/teal_link.png”);
position: absolute;
display: inline-block;
width: 45px;
left: -22px;
top: 50%;
transform: translateY(-50%);
}

/*video*/
.video {
padding: 2.5em 2.5em 2.5em 2.5em;
margin: 0.9em 0 0.9em 0;
background-color: #d6dfea;
border-style: solid;
border-width: 0.05em;
border-radius: 1.5em;
}

/* Table with alternating row colours */
table.alternating tr:nth-child(even){
background: #f5faff !important;
}
table.alternating tr td:first-child{
padding-left: 1em;
}

table.alternating tr:nth-child(odd){
background: #daeaf5 !important;
}table.alternating td {
padding-left: 1em;
}

table.alternating th {
background: #0b6396;
color: #fff;
padding-left: 1em;
}
.lity-content {

background-color: white !important;

padding: 2rem;

}

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Risk Management - Supply Chain and Operations Perspective Copyright © 2024 by Azim Abbas and Larry Watson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book