/* * CSS for Junior Doctor Chokai Course */ body{ margin: 0; height: 100%; font-family: "Sawarabi Gothic"; color: rgb(45, 45, 45); } body:after{ margin: 0; position: fixed; top: 0; left: 0; width: 100%; height: 100%; content: ""; background: #afeeee; /* background: -moz-linear-gradient(top, #afeeee 0%,#FFF 100%); */ /* background: -webkit-linear-gradient(top, #afeeee 0%,#FFF 100%); */ background: linear-gradient(to bottom, #afeeee 0%, #FFF 100%); z-index: -1; } a{ color: white; text-decoration: none; margin-left: 20px; margin-right: 20px; } a:hover{ color: white; text-decoration: underline; } img{ width: 150px; height: 150px; } header{ display: flex; align-items: center; justify-content: left; width: 100%; height: 50px; background: linear-gradient(to bottom, rgba(15, 15, 15, 0.8), rgba(40, 40, 40, 0.8)); } header ul{ display:flex; } header ul li{ list-style: none; } div{ width: 100%; /* background-color: aqua; */ position: relative; } h1{ position:absolute; top: 30px; left: 170px; } h2{ margin-left:20px; } table.school tr {visibility: collapse;} table.school tr.match {visibility: visible;}