* { box-sizing: border-box; } /* Font currently set to Arial 11.5 Wikipedia standard*/ body { font-family: Arial, Helvetica, sans-serif; display: block; } table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; } tr:nth-child(even) { background-color: #dddddd; } /* Homepage Buttons START */ .button { background-color: #404041; border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px 0 10px; cursor: pointer; -webkit-transition-duration: 0.4s; /* Safari */ transition-duration: 0.4s; } .button1 { box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); } .button2:hover { box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19); } /* Style the top navigation bar START*/ .navbar { background-color: #404041; font-size: 18px; overflow: visible; position: relative; border-radius: 0%!important; margin-bottom: 0!important; } /* Style the header */ .navbar .header { width: 300px; float: left; position: relative; } /* Style the navigation bar links */ .navbar a { color: white; text-decoration: none; float:right; padding-top: 40px; padding-right:19px; } /* Search Box */ .navbar a#google-search{ background-color: #404041; position: absolute; z-index: 15; width: 30%; top: 0; right:0; } #search-row .search-close{ margin-top: 17px!important; position: absolute; color: #ffffff; } /* Test alternate footer START*/ .footer { background: #ddd; } /*Align TXT Start */ .centre { text-align: center; } .left { float: left; } /* Column container START - Create two unequal columns that sits next to each other*/ .main-container{ display: flex; flex-wrap: wrap; } /* Left column*/ .leftside { flex: 20%; background-color: #f1f1f1; padding: 0; } /* Main column */ .main { flex: 60%; background-color: white; padding: 20px; display: block; } /* Right column */ .rightside { flex: 20%; background-color:#f1f1f1; padding:20px; } /*For Powershell commands typed manually START */ .powershell { font-family: "Lucida Console"; Font-size: 14px; background-color: #002b80; color: white; display:inline-flex; } /*For Python START */ .python { font-family: "Courier New"; font-size: 14px; background-color: #eeffcc; color: black; display:inline-flex; } /*For CentOS START */ .centos { font-family: "Dejavu Sans"; font-size: 14px; background-color: black; color: white; display:inline-flex; } @media screen and (min-width: 996px){ .header img { margin-left: -45px!important; } .footer-nav{ padding: 0 250px; } } /* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */ @media screen and (max-width: 700px) { .main-container { flex-direction: column; } .navbar a#google-search { width: 100%; } } /* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */ @media screen and (max-width: 400px) { .navbar a { float: right; width:100%; } .menu-icon { margin-right: 10px!important; } .navbar a#google-search { width: 100%; } } /* Left side expanadable bar START */ .accordion { background-color: #eee; color: #444; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px; transition: 0.4s; } .active, .accordion:hover { background-color: #ccc; } .accordion:after { content: '\002B'; color: #777; font-weight: bold; float: right; margin-left: 5px; } .active:after { content: "\2212"; } .panel { padding: 0 18px; background-color: white; max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; } /* Previous and next buttons START*/ a { text-decoration: none; } a:hover { background-color: #ddd; color: black; } .previous { background-color: #f1f1f1; color: black; text-decoration: none; display: inline-block; padding: 8px 16px; } .next { background-color: #4CAF50; color: white; text-decoration: none; display: inline-block; padding: 8px 16px; } .round { border-radius: 50%; } /* Testimonials START */ .container { border: 2px solid #ccc; background-color: #eee; border-radius: 5px; padding: 16px; margin: 16px 0 } .container::after { content: ""; clear: both; display: table; } .container img { float: left; margin-right: 20px; border-radius: 50%; } .container span { font-size: 20px; margin-right: 15px; } @media (max-width: 500px) { .container { text-align: center; } .container img { margin: auto; float: none; display: block; } } /* Footer image at bottom of ever page START */ .footerimage { position: relative; width: 100%; display: block; } .footerimage img { width: 100%; height: auto; } /*Autosize end of page image START*/ img { max-width: 100%; max-height: 100%; display: block; } /* customize work */ @media (min-width: 701px) { .leftside { height: 100%; overflow: scroll; } } div.footerimage { background-attachment: fixed; min-height: 300px; max-height: 300px; overflow: hidden; background: url("PoSHPythonPics/footerimage.jpg") center center no-repeat; background-size: cover; } div.footerimage img { display: none; } @media (max-width: 767px) { div.footerimage { min-height: 150px; max-height: 150px; } .leftside { max-height: none !important; } } /* responsive menu */ .navbar { display: flex; align-items: center; justify-content: space-between; } .menu-icon { display: none; } .navbar a { padding: 0; margin:0; } .navbar-menu a { padding: 10px 15px; border-radius: 5px; } @media (max-width: 991px) { .navbar-menu { position: absolute; top: 100%; background: #333; z-index: 1001; left: 0; right: 0; display: none; } .navbar-menu a { float: none; display: block; width: 100%; text-align: center; } .menu-icon { display: block!important; padding: 1rem; background: #ccc; color: black !important; padding: .5rem 1rem !important; margin-right: 1rem; border-radius: 5px; width: auto !important; } } /* Contact Us page form START Style inputs with type="text", select elements and textareas */ input[type=text], select, textarea { width: auto; /* Full width */ padding: 12px; /* Some padding */ border: 1px solid #ccc; /* Gray border */ border-radius: 4px; /* Rounded borders */ box-sizing: border-box; /* Make sure that padding and width stays in place */ margin-top: 6px; /* Add a top margin */ margin-bottom: 16px; /* Bottom margin */ resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */ } /* Style the submit button with a specific background color etc */ input[type=submit] { background-color: #4CAF50; color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; } /* When moving the mouse over the submit button, add a darker green color */ input[type=submit]:hover { background-color: #45a049; } /* Add a background color and some padding around the form */ .container-form { border-radius: 5px; background-color: #f2f2f2; padding: 20px; margin-bottom: 0!important; } /* Contact us page form END */ /* footer global */ .global-footer { background: #ddd; padding: 3rem 1rem; box-sizing: border-box; text-align: center; } .global-footer h5 { text-transform: uppercase; margin: 0; margin-bottom: 10px; font-size: 18px; } .global-footer a { background: none; } .global-footer ul { margin: 0; padding: 0; list-style: none; } .main-container:after { content: ''; display: block; clear: both; } .footer-nav { margin-bottom: 20px; max-width: 100%; } .footer-nav .fav-box { width: 20%; float: left; } .footer-nav a { display: block; margin-bottom: 10px; font-size: 16px; text-align: center; } .footer-signup form { width: 100%; max-width: 500px; margin: 2rem auto; border: 1px solid #8cc641; } .footer-signup form:after { content: ''; display: block; clear: both; } .footer-signup form > * { width: 50%; float: left; border: none; padding: 15px 10px; margin: 0; outline: none; border-radius: 0 !important; } .footer-signup button { cursor: pointer; background: #8cc641; text-transform: uppercase; color: white; } .footer-signup button:hover { background: #7cc801 } .footer-minilinks { text-align: center; display: flex; justify-content: center; align-items:center; } .footer-minilinks a { text-align: center; display: inline-block; padding: 10px; font-size: 14px; } .footer-copy { text-align: center; } .footer-copy p { width: 100%; font-size: 14px; } @media (max-width: 700px) { .global-footer .fav-box { float: none; width: 100%; text-align: center; margin-bottom: 2rem; } .global-footer .fav-box:last-child { margin: 0; } .rightside { flex: 100%; width: 100% !important; } } /* login and signup css */ /* Full-width input fields */ .modal input[type=text], .modal input[type=password] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; box-sizing: border-box; } /* Set a style for all buttons */ .modal button { background-color: #4CAF50; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; width: 100%; } button:hover { opacity: 0.8; } /* Extra styles for the cancel button */ .modal .cancelbtn { width: auto; padding: 10px 18px; background-color: #f44336; } /* Center the image and position the close button */ .imgcontainer { text-align: center; margin: 24px 0 12px 0; position: relative; } .modal .imgcontainer img { max-width: 200px; margin: 0 auto; } img.avatar { width: 40%; border-radius: 50%; } .modal .container { background: none; padding: 16px; border: none; margin: 0 auto; } span.psw { float: right; padding-top: 16px; } /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ padding-top: 60px; } /* Modal Content/Box */ .modal-content { background-color: #fefefe; margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */ border: 1px solid #888; width: 80%; /* Could be more or less, depending on screen size */ max-width: 500px; } /* The Close Button (x) */ .close { position: absolute; right: 25px; top: 0; color: #000; font-size: 35px; font-weight: bold; } .close:hover, .close:focus { color: red; cursor: pointer; } /* Add Zoom Animation */ .animate { -webkit-animation: animatezoom 0.6s; animation: animatezoom 0.6s } #id02 button { width: 50%; float: left; padding: 10px 18px; } .modal { z-index: 10000; } @-webkit-keyframes animatezoom { from {-webkit-transform: scale(0)} to {-webkit-transform: scale(1)} } @keyframes animatezoom { from {transform: scale(0)} to {transform: scale(1)} } /* Change styles for span and cancel button on extra small screens */ @media screen and (max-width: 300px) { span.psw { display: block; float: none; } .cancelbtn { width: 100%; } }