URL: http://www.weatherstreet.com/
{ box-sizing: border-box; display: flex; flex-direction: row; justify-content: space-between; background-image: linear-gradient(-225deg, #fff 5%, #c5dad3 100%); } .child_left, .child_center, .child_right { margin: auto; } .child_left { min-width: 40px; } .child_center { text-align: center; } .child_center span { padding: 4px; font: bold 15px; } .child_right { } .search_button { border: none; border-radius: 5px; text-decoration: none; cursor: pointer; padding: 2px 12px; margin: 0; font-size: 16px; background-color: #014939; color: #fff; } input[type=text] { border: none; background-color: #fff; } .hfont { font: bold 25px/1 Arial, Helvetica, Verdana, sans-serif; } .h1 { font-size: 20px; font-weight: bold; color: #004639;margin-top:5px;} @media screen and (max-width: 900px) { .hfont { font: bold 20px/1 Arial, Helvetica, Verdana, sans-serif; } } @media screen and (max-width: 700px) { .hfont { font: bold 15px/1 Arial, Helvetica, Verdana, sans-serif; } } #adsense { box-sizing: border-box; width: 100%; height: 90px; margin: 0; padding: 0; text-align: center; background-color: #dbe5e3; } ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; } li { box-sizing: border-box; float: left; width: 16.666%; height: 50px; border-left: 1px solid #000; text-align: center; background-color: #014939; padding-top: 14px; min-width: 50px; } li a, .dropbtn { display: block; text-align: center; padding: 0 1px; text-decoration: none; } li a:hover, .dropdown:hover .dropbtn { display: block; } li.dropdown { display: block; } .dropdown-content { display: none; position: absolute; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4); z-index: 1; } .dropdown-content a { color: black; padding: 4px 5px; text-decoration: none; display: block; text-align: left; } .dropdown-content a:hover { background-color: #dcdcdc; } .dropdown:hover .dropdown-content { display: block; } .hilight { color: #fff; background-color: #014939; line-height: 135%; } .bfont, .wfont { /* Black and white font classes */ text-transform: capitalize; font: bold 15px/1 Arial, Helvetica, Verdana, sans-serif; } .bfont { color: #000; } .wfont { color: #fff; } /* This class evens out what follows it */ div.mkeven { float: left; width: 100%; } /* Logo box background and others */ li a:hover, .dropdown:hover .dropbtn, .dropdown-content, div.nam p { background-color: #8bb3a3; } @media screen and (max-width: 480px) and (min-width: 376px) { /* iPhone 8+: 414, Samsung Galaxy Note 5: 480 */ .bfont, .wfont { font: bold 13px/1 Arial, Helvetica, Verdana, sans-serif; } } @media screen and (max-width: 375px) { /* This catches all non-plus iPhones, as of iPhone 8; Samsung Galaxy S9: 360 */ .bfont, .wfont { font: bold 10px/1 Arial, Helvetica, Verdana, sans-serif; } } .footer p { float: left; width: 100%; padding-top: 0; margin-top: 3px; text-align: center; font-size: 13px; color: #888; } /* Horizontal line */ .hline { float: left; width: 100%; height: 1px; background-color: #999; margin-top: 10px; } @media screen and (max-width: 568px) { .footer p { font-size: 11px; } } @media screen and (max-width: 329px) { .footer p { font-size: 9px; } } div.nam { box-sizing: border-box; float: left; width: 50%; padding: 0 4px; /* top/bottom left/right */ margin: 0; } div.nam img { box-sizing: border-box; width: 100%; height: auto; border: 1px solid #AAA; margin-top: 0; padding-top: 0; } div.nam a { box-sizing: border-box; margin: 0; padding: 0; } div.nam p { text-align: center; vertical-align: middle; height: auto; padding-top: 5px; padding-bottom: 5px; white-space: pre; margin-top: 12px; margin-bottom: 3px; margin-left: 0; margin-right: 0; overflow: hidden; } .hilight { color: #fff; background-color: #014939; line-height: 135%; } /* This class with even out what follows it */ div.mkeven { float: left; width: 100%; }