/* Add a black background color to the top navigation */ .topnav { padding: 2px 125px; background: linear-gradient(to bottom, lightgrey, white); overflow: hidden; border: 1px solid lightgrey; } .topnav ul { display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; } .topnav li { margin: 5px; } .pic{ display: block; height: 75px; } .pic:hover { transform: translateY(-80px); } .icon { padding: 16px; font-family: 'Roboto', sans-serif; font-size: 14px; border-left: 1px solid lightgrey; } .icon:hover { background: linear-gradient(to top, grey, white); } .lastBorder { border-right: 1px solid lightgrey; } .page { margin: 0 125px; } h1 { margin: 20px 0; font-family: 'Roboto', sans-serif; font-size: 30px; } .text { font-family: 'Roboto', sans-serif; font-size: 14px; line-height: 145%; font-style: normal; border: 3px solid lightgrey; border-top-color: lightgreen; border-radius: 3px; column-count: 3; padding: 10px; } @media only screen and (max-width: 1000px) { .text { column-count: 2; } } @media only screen and (max-width: 500px) { .text { column-count: 1; } } .text a { color: lightgreen; } .text a:hover { color: darkgreen; text-decoration: none; } .table { font-family: 'Roboto', sans-serif; margin-bottom: 15px; vertical-align: middle; } /*table#t01 { width: 100%; background-color: deeppink; text-align: left; vertical-align: middle; }*/ table#t01 tr:nth-child(even) { background-color: lightgray; height: 2em; vertical-align: middle; } table#t01 tr:nth-child(odd) { background-color: white; height: 2em; } table#t01 th { padding: 15px; background-color: white; } .boxed { border: 1px solid green; width: 80%; box-align: center; text-align: center; } th { text-align: left; border-bottom: 3px solid lightgrey; } .did { border: 1px solid; float: left; padding: 2em; min-height: 150px; min-width: 250px; } .Div { display: none; border: 2px solid lightgreen; min-width: 50px; } .footer{ margin: 0 125px; border-top: 2px solid lightgreen; font-family: 'Roboto', sans-serif; display: flex; justify-content: space-between; } .foo-left { margin-top: 15px; margin-bottom: 30px; } .foo-right { margin-top: 15px; margin-bottom: 30px; text-align: right; }