(18 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
/* Clear the default wiki settings */ | /* Clear the default wiki settings */ | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/*-- Make page full width and remove borders */ | /*-- Make page full width and remove borders */ | ||
− | #globalWrapper, | + | #globalWrapper, { |
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
− | border: | + | border: none; |
background-color: transparent; | background-color: transparent; | ||
margin: 0px; | margin: 0px; | ||
Line 25: | Line 21: | ||
background-color: #333333; | background-color: #333333; | ||
} | } | ||
+ | |||
+ | /*Styling for the content box */ | ||
+ | #content { | ||
+ | width: 950px; | ||
+ | padding:15px; | ||
+ | border: none; | ||
+ | color: black; | ||
+ | margin-left: 20px; | ||
+ | margin-right: auto; | ||
+ | background-color: #ffffff; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | /*First heading styling */ | ||
+ | #content H1 { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 33: | Line 50: | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /*STYLING BELLOW " #HQ_page " will apply only to pages created by HQ members */ | ||
Line 38: | Line 60: | ||
/*LAYOUT CLASSES */ | /*LAYOUT CLASSES */ | ||
/**************************************************************************************************************************************************************************************************************************************************/ | /**************************************************************************************************************************************************************************************************************************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Full width div */ | /* Full width div */ | ||
− | .oneColumn { | + | #HQ_page .oneColumn { |
− | width: | + | width: 920px; |
float:left; | float:left; | ||
− | padding:15px; | + | padding: 15px; |
+ | |||
} | } | ||
/* half width div - can be mixed with .fourColumns */ | /* half width div - can be mixed with .fourColumns */ | ||
− | .twoColumns { | + | #HQ_page .twoColumns { |
− | width: | + | width: 444px; |
float:left; | float:left; | ||
− | padding:15px; | + | padding: 15px; |
} | } | ||
/* one third width div */ | /* one third width div */ | ||
− | .threeColumns { | + | #HQ_page .threeColumns { |
− | width: | + | width: 285px; |
− | float:left; | + | float: left; |
− | padding:15px; | + | padding: 15px; |
} | } | ||
/* one fourth width div */ | /* one fourth width div */ | ||
− | .fourColumns { | + | #HQ_page .fourColumns { |
− | width: | + | width: 206px; |
float:left; | float:left; | ||
− | padding:15px; | + | padding: 15px; |
} | } | ||
− | /*Clear | + | /*Clear, adds spacing 10px*/ |
− | .clear { | + | #HQ_page .clear { |
height:10px; | height:10px; | ||
clear: both; | clear: both; | ||
} | } | ||
+ | /*Clear class that ads spacing, when creating a title that will be # referenced in a link, place it in this class*/ | ||
+ | #HQ_page .clear_id { | ||
+ | height:30px; | ||
+ | clear: both; | ||
+ | } | ||
− | |||
− | /* | + | /*CLASSES */ |
+ | /**********************************************************************************************************************************************************************************************************************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | + | /* EFFECTS / VARIANTS FOR LAYOUT CLASSES */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /*highlight a div on hover*/ | |
− | + | #HQ_page .highlight { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/*animate transition */ | /*animate transition */ | ||
-webkit-transition: background 0.2s linear; | -webkit-transition: background 0.2s linear; | ||
Line 130: | Line 123: | ||
} | } | ||
− | + | /* change the color on hover */ | |
− | /*hover | + | #HQ_page .highlight:hover { |
− | . | + | |
background-color:#ebeea9; | background-color:#ebeea9; | ||
cursor:pointer; | cursor:pointer; | ||
Line 138: | Line 130: | ||
− | /* | + | /* declare a medium gray line around the div*/ |
− | + | #HQ_page .full_border { | |
+ | border: 1px solid #d3d3d3; | ||
+ | } | ||
+ | /* declare a turquoise dotted border on a div */ | ||
+ | #HQ_page .dot_border { | ||
+ | border: 1px dashed #5da88a; | ||
+ | } | ||
+ | /* declare a border on the right of a div */ | ||
+ | #HQ_page .right_border { | ||
+ | border-right: 1px solid #f2f2f2; | ||
+ | } | ||
+ | /* make the background of a div light gray */ | ||
+ | #HQ_page .background_gray { | ||
+ | background-color: #f2f2f2; | ||
+ | } | ||
+ | /* remove the padding for a div that contains a picture */ | ||
+ | #HQ_page .photo_container { | ||
+ | padding:0px; | ||
+ | margin-right:30px; | ||
+ | } | ||
− | + | #HQ_page .photo_container p{ | |
− | + | padding: 0px 15px; | |
+ | font-size: 11px; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /* declares that a div is an alert box */ | |
− | + | #HQ_page .alert_box{ | |
− | + | background-color: pink; | |
− | + | border: 1px solid red; | |
− | + | color:red; | |
− | + | font-weight:bold; | |
− | + | cursor:pointer; | |
} | } | ||
+ | /* styling for the hover of the alert box */ | ||
+ | #HQ_page .alert_box:hover{ | ||
+ | background-color: red; | ||
+ | border: 1px solid red; | ||
+ | color:white; | ||
+ | font-weight:bold; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
/**************************************************************************************************************************************/ | /**************************************************************************************************************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*Buttons for all of the pages */ | |
− | + | #HQ_page .button { | |
− | + | min-width: 25%; | |
− | + | max-width: 50%; | |
− | /* | + | border: 3px solid #f58631; |
− | + | color: #f58631; | |
− | + | background-color: #FFF; | |
− | + | height: 30px; | |
− | + | font-size: 15px; | |
− | + | text-align: center; | |
− | + | border-radius: 5px; | |
− | + | padding: 10px 5px 0px 5px; | |
− | + | margin: auto; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/*animate transition */ | /*animate transition */ | ||
Line 230: | Line 206: | ||
-o-transition: background 0.2s linear; | -o-transition: background 0.2s linear; | ||
transition: background 0.2s linear; | transition: background 0.2s linear; | ||
− | + | } | |
+ | /*For the button class, change background on hover */ | ||
+ | #HQ_page .button:hover { | ||
+ | background-color: #f58631; | ||
+ | color: #fff; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /*Class for creating a news post, this is used in the Main Page and in the Archived news page */ |
− | # | + | #HQ_page .newsItem { |
− | + | border: 1px solid #cccccc; | |
+ | margin: 0px 5px 5px 5px; | ||
+ | padding: 5px 15px 5px 15px; | ||
+ | border-radius: 5px; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*Style the date inside a news post */ | |
− | + | #HQ_page .newsDate { | |
− | + | font-style: italic; | |
− | + | display: inline-block; | |
− | + | color: #383838; | |
− | + | float: right; | |
− | + | padding-top: 5px; | |
− | + | padding-right: 15px; | |
− | + | ||
− | + | ||
− | /* | + | |
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | color: # | + | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /* ( ? ) POP WHY - Makes a round div that will call the pop up box*/ | ||
+ | #HQ_page .pop_why { | ||
+ | border: 2px solid #f58631; | ||
+ | color: #f58631; | ||
+ | font-weight: bold; | ||
+ | text-align: center; | ||
+ | border-radius: 50%; | ||
+ | float: none; | ||
+ | margin-right: 5px; | ||
+ | margin-left: 5px; | ||
+ | padding-left: 6px; | ||
+ | padding-top: 2px; | ||
+ | padding-right: 6px; | ||
+ | padding-bottom: 2px; | ||
+ | cursor:pointer; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /*For the pop why class, changes the color on hover */ | ||
+ | #HQ_page .pop_why:hover { | ||
+ | color: #fff; | ||
+ | background-color:#f58631; | ||
+ | } | ||
− | /* | + | /*For the pop why class,creates the close button X */ |
− | . | + | #HQ_page .pop_close { |
− | + | font-size: 25px; | |
− | + | border: 3px solid #f58631; | |
− | + | padding: 5px; | |
− | + | padding-top: 0px; | |
+ | padding-right: 10px; | ||
+ | color: #f58631; | ||
+ | border-radius: 5px; | ||
+ | cursor: pointer; | ||
+ | font-weight: bold; | ||
+ | width: 10px; | ||
+ | height: 18px; | ||
+ | float: right; | ||
+ | } | ||
+ | |||
+ | #HQ_page .pop_close:hover { | ||
+ | background-color: #f58631; | ||
+ | color: white; | ||
+ | } | ||
− | + | /*For the pop why class, div that holds the content being loaded */ | |
− | background-color:# | + | #HQ_page .pop_why_box { |
− | + | display:none; | |
− | + | left: 250px; | |
+ | top:0px; | ||
+ | background-color: white; | ||
+ | padding: 15px; | ||
+ | width: 500px; | ||
+ | position: absolute; | ||
+ | border: 3px solid #4e606e; | ||
+ | border-radius: 3px; | ||
+ | z-index: 100; | ||
+ | } | ||
− | |||
− | |||
− | /* | + | /*creates a div that covers the content - if clicked closes the pop why */ |
− | + | #HQ_page .pop_why_cover { | |
− | + | display:none; | |
− | + | z-index: 100; | |
− | + | margin-top: -65px; | |
+ | margin-left: -40px; | ||
+ | width: 980px; | ||
+ | height: 2100px; | ||
+ | float:left; | ||
+ | position: absolute; | ||
+ | opacity: 0.5; | ||
+ | background-color: #b2b2b2; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | + | /*click class for expandable content */ | |
− | + | #HQ_page .click_open { | |
− | + | padding: 10px 15px; | |
− | + | background-color: #f2f2f2; | |
+ | border: 1px solid #d3d3d3; | ||
+ | border-radius: 3px; | ||
cursor:pointer; | cursor:pointer; | ||
+ | |||
+ | /*animate transition */ | ||
+ | -webkit-transition: background 0.2s linear; | ||
+ | -moz-transition: background 0.2s linear; | ||
+ | -ms-transition: background 0.2s linear; | ||
+ | -o-transition: background 0.2s linear; | ||
+ | transition: background 0.2s linear; | ||
} | } | ||
− | + | #HQ_page .click_icon { | |
− | + | font-size:16px; | |
+ | float:right; | ||
+ | margin-top:-25px; | ||
+ | } | ||
+ | /*div that holds the toggle content, hide by default */ | ||
+ | #HQ_page .click_content { | ||
+ | display:none; | ||
+ | } | ||
+ | /**********************************************************************************************************************************************************************************************************************************************/ | ||
Line 361: | Line 359: | ||
/*VISUAL STYLING*/ | /*VISUAL STYLING*/ | ||
− | / | + | /**********************************************************************************************************************************************************************************************************************************************/ |
/* TEXT */ | /* TEXT */ | ||
/* styling for text in all the pages */ | /* styling for text in all the pages */ | ||
− | # | + | #HQ_page p { |
font-family: "Arial", Helvetica, sans-serif; | font-family: "Arial", Helvetica, sans-serif; | ||
font-size: 13px; | font-size: 13px; | ||
text-align: justify; | text-align: justify; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | /* styling for the hover of the alert box */ | ||
+ | #HQ_page .red_text { | ||
+ | color: red; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
/**************************************************************************************************************************************/ | /**************************************************************************************************************************************/ | ||
Line 376: | Line 383: | ||
/* styling for all the headers in all the pages */ | /* styling for all the headers in all the pages */ | ||
− | # | + | #HQ_page h1, h2, h3, h4, h5 { |
font-family: "Arial", Gadget, sans-serif; | font-family: "Arial", Gadget, sans-serif; | ||
border-bottom:none; | border-bottom:none; | ||
font-weight: bold; | font-weight: bold; | ||
− | |||
} | } | ||
/*Define color for h1 titles (black) */ | /*Define color for h1 titles (black) */ | ||
− | + | #HQ_page .oneColumn h1, | |
+ | #HQ_page .twoColumns h1, | ||
+ | #HQ_page .threeColumns h1, | ||
+ | #HQ_page .fourColumns h1, | ||
+ | #HQ_page .pop_why_content h1 { | ||
color: #000000; | color: #000000; | ||
} | } | ||
Line 391: | Line 401: | ||
/*Define color for h2 titles (turquoise) */ | /*Define color for h2 titles (turquoise) */ | ||
− | + | #HQ_page .oneColumn h2, | |
+ | #HQ_page .twoColumns h2, | ||
+ | #HQ_page .threeColumns h2, | ||
+ | #HQ_page .fourColumns h2, | ||
+ | #HQ_page .pop_why_content h2 { | ||
color: #5da88a; | color: #5da88a; | ||
} | } | ||
− | /*Define color for | + | /*Define color for h3 titles (navy)*/ |
− | + | ||
+ | #HQ_page .oneColumn h3, | ||
+ | #HQ_page .twoColumns h3, | ||
+ | #HQ_page .threeColumns h3, | ||
+ | #HQ_page .fourColumns h3, | ||
+ | #HQ_page .pop_why_content h3 { | ||
color: #4d5f6d; | color: #4d5f6d; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*Define color for h4 titles (red)*/ | ||
+ | #HQ_page .oneColumn h4, | ||
+ | #HQ_page .twoColumns h4, | ||
+ | #HQ_page .threeColumns h4, | ||
+ | #HQ_page .fourColumns h4, | ||
+ | #HQ_page .pop_why_content h4 { | ||
+ | color: #e9232f ; | ||
} | } | ||
/*Define color for h5 h6 titles (black) */ | /*Define color for h5 h6 titles (black) */ | ||
− | + | #HQ_page .oneColumn h5, | |
+ | #HQ_page .twoColumns h5, | ||
+ | #HQ_page .threeColumns h5, | ||
+ | #HQ_page .fourColumns h5, | ||
+ | #HQ_page .pop_why_content h5, | ||
+ | #HQ_page .oneColumn h6, | ||
+ | #HQ_page .twoColumns h6, | ||
+ | #HQ_page .threeColumns h6, | ||
+ | #HQ_page .fourColumns h6, | ||
+ | #HQ_page .pop_why_content h6{ | ||
color: #000000; | color: #000000; | ||
} | } | ||
Line 413: | Line 451: | ||
/*Defines the color of links*/ | /*Defines the color of links*/ | ||
− | + | #HQ_page .oneColumn a, | |
+ | #HQ_page .twoColumns a, | ||
+ | #HQ_page .threeColumns a, | ||
+ | #HQ_page .fourColumns a , | ||
+ | #HQ_page .pop_why_content a{ | ||
color:#f58631; | color:#f58631; | ||
font-weight: bold; | font-weight: bold; | ||
Line 421: | Line 463: | ||
/* Styling links on hover- links are different in menus */ | /* Styling links on hover- links are different in menus */ | ||
− | + | #HQ_page .oneColumn a:hover, | |
+ | #HQ_page .twoColumns a:hover, | ||
+ | #HQ_page .threeColumns a:hover, | ||
+ | #HQ_page .fourColumns a:hover, | ||
+ | #HQ_page .pop_why_content a:hover { | ||
color: #fbceac; | color: #fbceac; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
/**************************************************************************************************************************************/ | /**************************************************************************************************************************************/ | ||
Line 433: | Line 475: | ||
/*Styling for all the tables */ | /*Styling for all the tables */ | ||
− | # | + | #HQ_page table { |
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 445: | Line 487: | ||
/*Styling cells inside all of the tables */ | /*Styling cells inside all of the tables */ | ||
− | # | + | #HQ_page td { |
padding: 10px; | padding: 10px; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
Line 453: | Line 495: | ||
/*Styling table headers for all the tables */ | /*Styling table headers for all the tables */ | ||
− | # | + | #HQ_page th { |
background-color:#f2f2f2; | background-color:#f2f2f2; | ||
padding: 10px; | padding: 10px; | ||
Line 462: | Line 504: | ||
} | } | ||
+ | /**********************************************************************************************************************************************************************************************************************************************/ | ||
Line 470: | Line 513: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /*MENU */ | ||
+ | /**************************************************************************************************************************************************************************************************************************************************/ | ||
+ | /* this div will contain the side menu */ | ||
+ | #sideMenu { | ||
+ | width: 170px; | ||
+ | position: absolute; | ||
− | + | ||
− | + | top:20px; | |
− | + | left: 1020px; | |
− | + | z-index: 10; | |
− | padding: | + | |
− | + | padding-top: 0px; | |
+ | padding-bottom: 15px; | ||
+ | padding-left: 15px; | ||
+ | padding-right: 15px; | ||
+ | |||
+ | background-color: white; | ||
+ | text-align: left; | ||
} | } | ||
+ | /* for all lists created within the sideMenu container - no spacing between top or bottom */ | ||
+ | #sideMenu ul { | ||
+ | margin-top:0px; | ||
+ | margin-bottom: 0px; | ||
+ | } | ||
+ | /* al links within side menu have no decoration */ | ||
+ | #sideMenu .sideMenu a:hover { | ||
+ | text-decoration:none; | ||
+ | } | ||
− | + | /* 2016 logo for top part of all menus */ | |
− | + | #HQ_page #home_logo { | |
− | + | margin-bottom:10px; | |
− | + | margin-top:10px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | #sideMenu #home_logo:hover { | ||
+ | opacity: 0.4; | ||
+ | } | ||
+ | /**************************************************************************************************************************************/ | ||
+ | /*MAIN MENU STYLING*/ | ||
+ | /*styling for the Main menu*/ | ||
+ | #sideMenu #MainPage_menu ul li { | ||
+ | width: 183px; | ||
+ | margin-left: -30px; | ||
+ | margin-bottom: 0px; | ||
+ | list-style:none; | ||
+ | } | ||
− | |||
+ | /*main menu button */ | ||
+ | #sideMenu .mainMenu_Title { | ||
+ | width: 152px; | ||
+ | float:left; | ||
− | + | padding-left:15px; | |
− | + | padding-top: 10px; | |
− | padding: 10px; | + | padding-bottom: 10px; |
− | + | ||
− | + | border: solid 1px #f2f2f2; | |
− | + | font-size: 14px; | |
− | + | ||
− | + | /*animate transition */ | |
− | + | -webkit-transition: background 0.1s linear; | |
+ | -moz-transition: background 0.1s linear; | ||
+ | -ms-transition: background 0.1s linear; | ||
+ | -o-transition: background 0.1s linear; | ||
+ | transition: background 0.1s linear; | ||
} | } | ||
− | /* | + | /* toggle button in the main Menu */ |
+ | #sideMenu .mainMenu_toggle { | ||
+ | width: 24px; | ||
+ | text-align: center; | ||
+ | float: left; | ||
+ | font-size: 12px; | ||
+ | margin-right: -17px; | ||
+ | margin-left: -14px; | ||
+ | padding-left: 5px; | ||
+ | padding-bottom: 10px; | ||
+ | padding-top: 10px; | ||
+ | border: solid 1px #f2f2f2; | ||
+ | |||
− | + | /*animate transition */ | |
+ | -webkit-transition: background 0.1s linear; | ||
+ | -moz-transition: background 0.1s linear; | ||
+ | -ms-transition: background 0.1s linear; | ||
+ | -o-transition: background 0.1s linear; | ||
+ | transition: background 0.1s linear; | ||
+ | } | ||
− | |||
− | /* | + | /*hover styling for main menu item and main menu toggle */ |
+ | #sideMenu .mainMenu_Title:hover, | ||
+ | #sideMenu .mainMenu_toggle:hover { | ||
− | + | border: solid 1px #5da88a; | |
− | + | background: #5da88a; | |
− | + | color:white; | |
− | + | ||
− | margin- | + | } |
− | + | ||
+ | |||
+ | |||
+ | /*MAIN MENU LIST UNDER TOGGLES (NESTED LISTS) */ | ||
+ | |||
+ | |||
+ | /* lists inside the toggle */ | ||
+ | #sideMenu #MainPage_menu ul li li { | ||
+ | width: 183px; | ||
+ | |||
+ | margin-bottom: 0px; | ||
+ | margin-left: -15px; | ||
padding-left: 15px; | padding-left: 15px; | ||
− | cursor:pointer; | + | padding-top: 5px; |
− | + | padding-bottom:5px; | |
− | font-size: | + | |
− | color: # | + | cursor: pointer; |
+ | border: solid 1px #f2f2f2; | ||
+ | background-color: white; | ||
+ | color: black; | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | |||
+ | /* hover for the lists inside the toggle */ | ||
+ | #sideMenu #MainPage_menu ul li li:hover { | ||
+ | border: solid 1px #5da88a; | ||
+ | background: #5da88a; | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************************************/ | ||
+ | |||
+ | |||
+ | |||
+ | /* For HUB MENUS */ | ||
+ | |||
+ | |||
+ | /*upper part of hub menus; switching between menus, menu name and collapse/expand all */ | ||
+ | |||
+ | /* This switches between menus " ▶ " */ | ||
+ | #sideMenu .switch_Menus { | ||
+ | width:30px; | ||
+ | font-size: 18px; | ||
+ | margin-left:-15px; | ||
+ | display:block; | ||
} | } | ||
− | |||
+ | /* This holds the title of the menu "NAME OF HUB MENU " */ | ||
+ | #sideMenu .sideMenuTitle { | ||
+ | width:140px; | ||
+ | margin-left: 0px; | ||
+ | font-size: 16px; | ||
+ | } | ||
− | # | + | |
− | background-color: #f17530; | + | |
+ | /* This holds the expand all / collapse all button (+) (-) */ | ||
+ | #sideMenu .expand_subMenus { | ||
+ | width:30px; | ||
+ | font-size: 20px; | ||
+ | margin-right:-15px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* declares the height and color that three elements have in common */ | ||
+ | #sideMenu .sideMenuTitle, | ||
+ | #sideMenu .expand_subMenus, | ||
+ | #sideMenu .switch_Menus { | ||
+ | height:30px; | ||
+ | padding-top:10px; | ||
+ | float:left; | ||
+ | font-weight:bold; | ||
+ | color: #4e606e; | ||
+ | background-color:#e8edaa; | ||
+ | cursor:pointer; | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* declares hover state, background turns orange and font becomes white */ | ||
+ | #sideMenu .sideMenuTitle:hover, | ||
+ | #sideMenu .expand_subMenus:hover, | ||
+ | #sideMenu .switch_Menus:hover { | ||
+ | background-color:#f17530; | ||
color:white; | color:white; | ||
} | } | ||
− | */ | + | |
+ | /************************************************/ | ||
+ | |||
+ | /*Lists and nested lists within the hub menu */ | ||
+ | |||
+ | |||
+ | |||
+ | /* h4 titles used in hub menus change to turquoise */ | ||
+ | #sideMenu h4 { | ||
+ | color: #5ba88a; | ||
+ | } | ||
+ | |||
+ | /* toggle ▼*/ | ||
+ | #sideMenu .subMenu_toggle { | ||
+ | float:right; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*First layer of lists (LIST ITEMS) */ | ||
+ | |||
+ | /* remove indentation in not numbered lists */ | ||
+ | #sideMenu ul { | ||
+ | margin-left: 15px; | ||
+ | list-style:disc; | ||
+ | } | ||
+ | |||
+ | /* remove indentation in numbered lists */ | ||
+ | #sideMenu ol { | ||
+ | margin-left: 17px; | ||
+ | } | ||
+ | |||
+ | /* declare the color of links in both types of lists */ | ||
+ | #sideMenu ul a , #sideMenu ol a { | ||
+ | font-weight:bold; | ||
+ | color: #4e606e; | ||
+ | } | ||
+ | |||
+ | /* declare the color of links in hover state in both types of lists */ | ||
+ | #sideMenu ul a:hover, #HQ_page #sideMenu ol a:hover { | ||
+ | color:#f27631; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /*Second layer of lists (SUBMENUS) */ | ||
+ | |||
+ | /* styling for nested lists */ | ||
+ | #sideMenu ul ul { | ||
+ | margin-left: 15px; | ||
+ | list-style: none; | ||
+ | color: #4e606e; | ||
+ | } | ||
+ | |||
+ | /* styling for links in nested lists */ | ||
+ | #sideMenu ul ul a { | ||
+ | color: black; | ||
+ | font-weight:normal; | ||
+ | } | ||
+ | |||
+ | /*styling for hover state of links in nested lists */ | ||
+ | #sideMenu ul ul a:hover { | ||
+ | color:#f27631; | ||
+ | cursor:pointer; | ||
+ | } | ||
Line 576: | Line 790: | ||
− | |||
− | |||
− | < | + | <!----------------------------------------------------------- Declares that pages under this template will use HQ styling ---------------------------------------------------------------> |
− | <div id=" | + | <div id="HQ_page"> |
− | < | + | |
− | < | + | |
− | < | + | |
− | </ | + | |
− | <div | + | <!-----------------------------------------------------------Logo ---------------------------------------------------------------> |
+ | |||
+ | |||
+ | <!-----------------------------------------------------------Menu ---------------------------------------------------------------> | ||
+ | |||
+ | |||
+ | <!---------------------------------------------------------------------------------------------------------------------------------> | ||
+ | |||
+ | |||
+ | <!------------------------------------------ Pop why ( ? ) divs - hidden by default ------------------------------------------> | ||
+ | <div class="pop_why_cover"> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <div class="pop_why_box" > <div class="pop_close">× </div> | ||
+ | <div class="pop_why_content"> | ||
+ | <h3> Loading ... </h3> | ||
+ | </div> | ||
+ | </div> | ||
+ | <!---------------------------------------------------------------------------------------------------------------------------------> | ||
+ | |||
− | |||
− | |||
− | |||
</html> | </html> |
Latest revision as of 20:16, 1 December 2015
×