@import "variable"; // Override color defined within the common file $color: #019AD7; /********************************************* * GLOBAL STYLES * Feb 24, ART: added a border to the body, attempting to see how the margin is being used. * Feb 24, ART: added a border to the reveal section, attempting to see how the margin is being used. *********************************************/ body { font-family: $fonts; } .reveal { font-family: $fonts; font-size: 28px; font-weight: normal; letter-spacing: -0.02em; color: black; } ::selection { color: white; background: rgba(0, 0, 0, 0.99); text-shadow: none; } /********************************************* * HEADERS *********************************************/ .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 { margin: 0 0 20px 0; color: #3E4349; font-family: $fonts; line-height: 0.9em; letter-spacing: 0.02em; text-transform: none; text-shadow: none; } /************************************************************** * Change color of the cover slide using class sl-block-content **************************************************************/ .reveal .sl-block-content h1, .reveal .sl-block-content h2, .reveal .sl-block-content h3, .reveal .sl-block-content h4, .reveal .sl-block-content h5, .reveal .sl-block-content h6 { color: $header-sl-block-color; } /*************************************************** * Feb 26, ART: Font Size 2em and width: 900px added **************************************************/ .reveal h1 { text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); font-size: 2em; width: 900px; } .reveal h2 { font-size: 2em; } /****************************************** * Fill screen to 100% & align text on left * Feb 26, CHM : Add top: 370px to fill the screen to 100% * Mar 24 3015, CHM : Remove top due to cutoff with safari, firefox & add margin-top ******************************************/ .reveal .slides { text-align: left; /* margin-top: $slides-margin-top; WE don't use it as the value is assigned by Revealjs */ } /********************************************* * ScrollBar * Feb 24, ART: Changed the height of the scrollbar from 450 600 * Feb 24, ART: Changed the padding from 10 20 20 20 to 5 10 10 10 * Feb 24, ART: Changed the margin from 20px 0 0 to 5px 0 0 * Mar 02, CHM: Increase height from 600 to 670px * Mar 06, CHM: Change overflow from scroll to auto *********************************************/ .scrollbar { border: 1px solid #eee; height: $scrollbar-height; overflow: auto; margin: 5px 0 0; padding: 5px 10px 10px 10px; } /************************************************************** * Style used to display the cover picture full screen * Add this tag [.cover] before the picture of the cover page * Mar 04 2015, CHM: Initial **************************************************************/ .cover { position: absolute; top: 20px; text-align: center; } /********************************************* * Corporate Logo Header Image * Feb 26, CHM: Changed the height from 80px to 0px *********************************************/ .header { position: absolute; margin: 0 auto; left: 0; right: 0; top: 0; height: 0px; font-family: $fonts; font-size: 20px; text-align: center; } /***************************************************** * Copyright Footer * Feb 24, ART: Changed to footer height from 80 to 40 * Mar 13 2015, CHM : Add footer-cover to override the color for cover slide * Mar 24 2015, CHM : Remove hard coded px and use percentages ******************************************************/ .reveal .footer { position: absolute; margin: 0 auto; left: 0; right: 0; bottom: $footer-bottom; height: 80px; font-family: $fonts; font-size: 14px; text-align: center; } .reveal .footer-cover { position: absolute; margin: 0 auto; left: 0; right: 0; bottom: $footer-bottom; height: 80px; font-family: "Overpass", "Liberation Sans", "Open Sans", sans-serif; font-size: 14px; text-align: center; color: white; } /********************************************* * LINKS *********************************************/ .reveal a:not(.image) { color: $color; text-decoration: none; -webkit-transition: color .15s ease; -moz-transition: color .15s ease; -ms-transition: color .15s ease; -o-transition: color .15s ease; transition: color .15s ease; } .reveal a:not(.image):hover { color: $color; text-shadow: none; border: none; } .reveal .roll span:after { color: #fff; background: $color; } /********************************************* * IMAGES * Mar 13 2015, CHM : Remove the shadow box around the image *********************************************/ .reveal section img { margin: 15px 0px; -webkit-transition: all .2s linear; -moz-transition: all .2s linear; -ms-transition: all .2s linear; -o-transition: all .2s linear; transition: all .2s linear; } .reveal a:hover img { background: rgba(255, 255, 255, 0.2); border-color: $color; box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } /********************************************* * NAVIGATION CONTROLS *********************************************/ .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled { border-right-color: #C1100C; } .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled { border-left-color: #C1100C; } .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled { border-bottom-color: #C1100C; } .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled { border-top-color: #C1100C; } .reveal .controls div.navigate-left.enabled:hover { border-right-color: #ef6f16; } .reveal .controls div.navigate-right.enabled:hover { border-left-color: #ef6f16; } .reveal .controls div.navigate-up.enabled:hover { border-bottom-color: #ef6f16; } .reveal .controls div.navigate-down.enabled:hover { border-top-color: #ef6f16; } /********************************************* * PROGRESS BAR *********************************************/ .reveal .progress { background: rgba(0, 0, 0, 0.2); } .reveal .progress span { background: $color; -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } /********************************************* * SLIDE NUMBER *********************************************/ .reveal .slide-number { color: darkblue; } /********************************************************************************* * Trick to avoid to define [square] or [circle] for each item of an unordered list * and solve issue that we have here as we have nested lists * Feb 27, CHM : Added * Mar 04 2015, CHM: Add red colors & square, disc & circle * Mar 13 2015, CHM: Change color to black and revert square, disc & circle *********************************************************************************/ /* line 287, ../gpe.scss */ .reveal ul li p, ul li li p, ul li li p { color: black; list-style: none; } /* line 293, ../gpe.scss */ .reveal ul li { list-style-type: disc; color: black; } /* line 298, ../gpe.scss */ .reveal ul li li { list-style-type: square; color: black; } /* line 303, ../gpe.scss */ .reveal ul li li li { list-style-type: circle; color: black; } /******************************************************************* * .reveal i must be override in order to be able to use Asciidoctor and * Font Awesome icons for NOTE, WARNING, REMARK, .... * Feb, CHM: Added *******************************************************************/ .reveal i.fa { font-family: 'FontAwesome'; font-style: normal; font-size: 100%; } /********************************************* * Support asciidoctor callout * Feb 27, CHM: Added *********************************************/ .reveal i.conum { display: inline-block; color: white !important; background-color: $color; -webkit-border-radius: 100px; border-radius: 100px; text-align: center; width: 25px; height: 25px; font-size: 14px; font-weight: bold; line-height: 25px; font-style: normal; position: relative; top: -2px; letter-spacing: -2px; } .reveal i.conum * { color: white !important; } .reveal i.conum + b { display: none; } .reveal i.conum:after { content: attr(data-value); } .reveal i.conum:not([data-value]):empty { display: none; } /******************************************************* * Asciidoctor Table style rendering * Feb 27, CHM: Added & Refactor to display the borders * Mar 02, CHM: Add caption to display the Table title with a different style, color * Mar 03, CHM: Improve style to be compliant with Redhat styles * Mar 06, CHM: Add a noredheader class to avoid to display the first line in red of a table containing images, .. ******************************************************/ table.tableblock, table.tableblock td { border-style: none; border-color: #F3F4F4;; border-width: 0px; border-collapse: collapse; border-spacing: 0px; padding: 5px; } table.tableblock > caption { line-height: 1.4; color: #333333; margin-top: 0.2em; margin-bottom: 0.5em; overflow: visible; max-width: 0; white-space: nowrap; display: table-caption; } table.tableblock:not(.noredheader) thead tr, table.tableblock:not(.noredheader) :not(thead) + tbody tr:first-child td { background-color: #a70000; text-align: left; padding: 10px; color: white; font-size: 24px; } table.tableblock.noredheader tr:first-child td { /* background-color: #EEEEEE;*/ } table.tableblock tr:nth-child(even) { /* background: white;*/ } table.tableblock tr:nth-child(odd) { /* background-color: #F3F4F4;*/ } th.tableblock.halign-left, td.tableblock.halign-left { text-align: left; } th.tableblock.halign-right, td.tableblock.halign-right { text-align: right; } th.tableblock.halign-center, td.tableblock.halign-center { text-align: center; } th.tableblock.valign-top, td.tableblock.valign-top { vertical-align: top; } th.tableblock.valign-bottom, td.tableblock.valign-bottom { vertical-align: bottom; } th.tableblock.valign-middle, td.tableblock.valign-middle { vertical-align: middle; } /************************************************************** * By default, it is not possible to display text in Bold, ... within