/* * CSS for Junior Doctor Chokai Course */ body{ margin: 0; height: 100%; font-family: "Sawarabi Gothic"; color: rgb(45, 45, 45); } .c, body.top h2 {text-align: center;} body.top h2 { padding: 1ex 2em; width: 20em; border: groove #4a7 3px; margin: 5em auto; border-radius: 1em; } body.top a {text-decoration: none; color: #284} body.top a:hover h2 {background: #9ea;} 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; } body.vmenuspace {margin-top: 2em; border-top: 3px solid;} div.scrollbox { height: 6em; overflow: auto; background: #eff; } header{ width: 100%; height: auto; } header > div.list{ 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 nav a { color: white; text-decoration: none; margin-left: 20px; margin-right: 20px; } header nav a:hover { color: white; text-decoration: underline; } header ul{ display:flex; } header ul li{ list-style: none; } header > div.logobox { position: relative; margin-left: 20px; } header > div.logobox > h1 { position:absolute; top: 30px; left: 170px; } header > div.logobox > img { width: 150px; height: 150px; } main.home{ padding: 0 1ex; height: 800px; /* background-color: rebeccapurple; */ position: relative; } h2{ margin-left:20px; } section{ width:730px; } .what_study{ position: absolute; top: 100px; right: 10px; /* background-color: saddlebrown; */ } .what_study > h3{ background: linear-gradient(transparent 50%, yellow 50%); width: 346px; } .aiming_top{ position: absolute; top: 500px; /* background-color: royalblue; */ } .aiming_top > h3{ background: linear-gradient(transparent 50%, yellow 50%); width: 680px; } em.see { font-style: normal; font-weight: bold; background: linear-gradient(to top, yellow, transparent); } /* Q&A */ div.QandA{ margin-left: 20px; } div.QandA label:not(.label){ color: #000; padding: 10px; display: block; margin-bottom:20px; margin-right: 20px; border-radius: 25px; border: 2px solid rgb(88, 88, 88); cursor: pointer; } div.QandA label:hover:not(.label) { color: rgb(255, 60, 0); } div.QandA input[type="checkbox"].que{ display: none; } input[type="checkbox"].que:checked + div{ display: none; } input[type="checkbox"].que:checked + div{ display: block; } div.ans{ display:none; margin-bottom: 10px; } footer { /* XXX: Change ME! */ border-top: 1px dashed #888; text-align: right; font-size: 70%; } table.school tr {visibility: collapse;} table.school tr.match {visibility: visible;} table.border, table.border td, table.border th { border: 1px solid #446; border-collapse: collapse; } table.border th {text-align: left; padding: 0.2ex 0.8ex;} table.form th:first-child {min-width: 10em;} dl dt { margin: 0 1ex; padding: 0 1ex; width: 6em; border: #284 solid; border-width: 0 0 1px 1.2em; }