* { transition: background-color .6s ease, color 1s ease; } /*Styles the dark/blind buttons*/ .btnStyle { background-color: #0983c0; border: none; color: white; padding: 7.5px 12px; font-size: 16px; cursor: pointer; margin-top: 7px; margin-right,margin-bottom: 5px; margin-left:4px; } /*Darker background on mouse-over */ .btnStyle:hover { background-color: #045a7a; } /*Styles copy button, unused*/ .icobtn { background-color: DodgerBlue; border: none; color: white; padding: 12px 16px; font-size: 16px; cursor: pointer; } /* Darker background on mouse-over */ .icobtn:hover { background-color: RoyalBlue; } .content { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background-color: #24292e; margin-bottom: 20px; } .content > p { text-indent: 40px; margin-bottom: 1em; line-height: 1.15; color: #c8ccd1; } .content > img { display: block; margin-left: auto; margin-right: auto; padding-top: 15px; padding-bottom: 15px; } * { color: white; } /*Don't add padding for top or bottom, a body with multiple lines and usage will sometimes overlap, which looks awful*/ code { background-color: rgba(5, 5, 5, 0.65); padding-left: 4px; padding-right: 4px; border-radius: 5px; } /*Handles the background color of the margin space*/ #vb { background-color: #24292e; font-family: sans-serif; color: white; background-size: cover; } #gg { background-color: #24292e; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } #myBtn { display: none; position: fixed; bottom: 23px; right: 30px; z-index: 99; font-size: 18px; border: none; outline: none; background-color: #0d171d; color: white; cursor: pointer; padding: 15px; border-radius: 4px; } #myBtn:hover { background-color: #555; } /*Makes returning to top of page a smooth transition*/ @media screen and (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } } /*Handles paragraph indention, line space, and
*/ .ptab { text-indent: 40px; margin-bottom: 1em; line-height: 1.25; color: #c8ccd1; } /*Handles the background of the body, also forming margins*/ .bgcolor { background-color: #0d171d; font-size: 25px; margin: auto; padding: 0 130px; /*First value is for top and bottom, second value is for left and right*/ max-width: 1045px; box-shadow: 0 2px 170px 0 rgba(0, 0, 0, 0.3); } .bgcolor>p { color:#c8ccd1; } /*Demo*/ .topnav { overflow: hidden; /*Direction, top half, bottom half*/ background-image: linear-gradient(180deg, #333, #202020); background-color: #333; /*In case browser doesn't support gradient*/ /* position: sticky; */ top:0; left:0; min-width: 100%; box-shadow: 0 2px 25px 0 rgba(0, 0, 0, 0.3); /*X-axis position, Y-axis position, blur, stretch (respectively)*/ height: 54px; z-index: 50; } .topnav a { float: right; color: #f2f2f2; text-align: center; padding: 18px 26px; text-decoration: none; font-size: 17px; } .topnav a:hover { background-color: #ddd; color: black; } .topnav a.active { background-color: #0983c0; color: white; } /* Style the tab */ .tab { overflow: hidden; border: 1px solid #ccc; background-color: #f1f1f1; } /* Style the buttons inside the tab */ .tab button { background-color: inherit; float: left; border: none; outline: none; cursor: pointer; padding: 14px 16px; transition: 0.3s; font-size: 17px; } /* Change background color of buttons on hover */ .tab button:hover { background-color: #ddd; } /* Create an active/current tablink class */ .tab button.active { background-color: #ccc; } /* Style the tab content */ .tabcontent { display: none; padding: 6px 12px; border: 1px solid #ccc; border-top: none; } /*The flex box*/ .flex-container { display: flex; flex-wrap: nowrap; background-color: #003366; display: flex; justify-content: center; min-width: 100%; } /*The boxes in the flex box*/ .flex-container > div { /*background-color: #f1f1f1;*/ width: 100px; margin-top: 50px; margin-right: 25px; margin-left: 25px; text-align: center; line-height: 75px; font-size: 30px; height: 100px; width: 100px; } #checkbox{ position: sticky; top: 40px; right: 40px; appearance: none; -webkit-appearance : none; -moz-appearance : none; -o-appearance : none; width: 80px; height: 40px; background: black; border-radius: 22px; cursor: pointer; outline: none; }/* styling the circle inside the checkbox input */ #checkbox::before{ content: ''; position: absolute; width: 40px; height: 35px; background-color: #c8ccd1; border-radius: 35px; top: 2px; left: 2px; cursor: pointer; transition: .3s linear; } /* Switching to the dark when the checkbox is toggled */ #checkbox:checked + .container{ background: rgb(19, 18, 18); color: white; } /* Moving the checkbox circle when it's toggled by the user */ #checkbox:checked::before{ left: 40px; } /* Changing the color of the checkbox when it's toggled */ #checkbox:checked{ background: #0983c0; } /*For the tab table, don't remember*/ /* Reset */ *, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; } ul { list-style-type: none; } ul.styled-list { list-style-type: initial; list-style-position: inside; } ul.indented{ padding-left: 20px; list-style-type: initial; list-style-position: outside; } /* html, body height */ html, body { height: 100%; background-color: #e9e9e9; font-family: RobotoSlab-Regular; } .collapsebar { background-color: #777; } .active, .collapsebar:hover { background-color: #555; } body p{ color: #797979; } body a { color: #0983c0; text-decoration: none; transition: color 0.2s ease-in; } body a:hover { color: #045a7a; } .accent-bold { color: #045a7a; font-weight: 800; } .accent-medium { color: #045a7a; font-weight: 600; } .small { font-size: 0.8rem; } .medium { font-size: 0.9rem; } .center-children { display: flex; justify-content: center; } /* Navbar */ #navbar { position: sticky; top:0; left:0; min-width: 100%; box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3); background-color: #738bd7; height: 106px; z-index: 50; border-style: solid; border-color: #697ec4; border-width: 15px; } /*Contents of navbar*/ #navbar-main { display: flex; height: 64px; padding-top: 5px; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; } #navbar-logo { flex: 0 0 50px; max-width: 75px; } #navbar-logo > img { height: 54px; width: 54px; } #navbar-title { display: flex; align-items: center; font-size: 25px; font-weight: 600; padding-left: 5px; } #navbar-title > a{ color: #15276b; } @media only screen and (max-width: 550px){ #navbar-title { font-size: 20px; }