html { scroll-behavior: smooth; max-width: 800px; margin: auto; } body { font-family: "Palatino", "Georgia", Times, serif; background-color: rgb(255, 255, 250); line-height: 1.4; padding-bottom: 200px; } img { border-radius: 15px; } h1, h2, h3, h4 { padding-top: 0px; padding-bottom: 10px; text-align: center; } th{ font-weight: normal; } p { padding-bottom: 10px; } #topbar{ display: inline-block; padding: 0 5px; } div#annoucement { width: 750px; } table#table1 { text-align:left; margin-left:35; margin-right:auto; } ul#course { list-style: none; padding-left: 5; } /* The navigation bar */ .navbar { opacity: 0.8; overflow: hidden; background-color: #333; position: fixed; /* Set the navbar to fixed position */ top: 0; /* Position the navbar at the top of the page */ left: 0; width: 100%; /* Full width */ text-align: center; font-weight: bold; } /* Links inside the navbar */ .navbar a { /* float: left; */ display: inline-block; color: #f2f2f2; text-align: center; padding: 10px 16px; text-decoration: none; } /* Change background on mouse-over */ .navbar a:hover { background: #ddd; color: black; } /* Main content */ .main { margin-top: 5px; /* Add a top margin to avoid content overlay */ } hr { border-top: dashed 1px; } .notATable { display:table; list-style:none; padding-left:5; } .notATable > li { display:table-row; } .notATable > li > * { display:table-cell; padding:2px; } .notATable label { font-weight:bold; text-align:right; } .notATable label:after { content: '|'; } #shadowbox { border: 0px solid; border-radius: 15px; padding: 10px; box-shadow: 5px 5px 18px #999999; } hr.style-one { border: 0; height: 1px; background: #333; background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); background-image: -moz-linear-gradient(left, #ccc, #333, #ccc); background-image: -ms-linear-gradient(left, #ccc, #333, #ccc); background-image: -o-linear-gradient(left, #ccc, #333, #ccc); } hr.curve { border: 0; height: 15px; background-image: url(curve.png); background-size: 100% 100%; background-repeat: no-repeat; } .box { width:100%; height:280px; background:rgb(220, 220, 220); margin:40px auto; } .effect2 { position: relative; } .effect2:before, .effect2:after { z-index: -1; position: absolute; content: ""; bottom: 15px; left: 10px; width: 50%; top: 80%; max-width:300px; background: #777; -webkit-box-shadow: 0 15px 10px #777; -moz-box-shadow: 0 15px 10px #777; box-shadow: 0 15px 10px #777; -webkit-transform: rotate(-3deg); -moz-transform: rotate(-3deg); -o-transform: rotate(-3deg); -ms-transform: rotate(-3deg); transform: rotate(-3deg); } .effect2:after { -webkit-transform: rotate(3deg); -moz-transform: rotate(3deg); -o-transform: rotate(3deg); -ms-transform: rotate(3deg); transform: rotate(3deg); right: 10px; left: auto; }