@import './base.css'; * { box-sizing: border-box; } body { font-family: Arial; padding: 10px; background: lightgrey; } /* Header/Blog Title */ .header { padding: 30px; text-align: center; background-color: lightblue; } .header h1 { font-size: 50px; } /* Style the top navigation bar */ .topnav { overflow: hidden; background-color: darkgrey; } /* Style the topnav links */ .topnav a { float: left; display: block; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; } /* Change color on hover */ .topnav a:hover { background-color: #ddd; color: black; } .subnav { overflow: hidden; background-color: grey; } .subnav a { float: left; display: block; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; } .form-inline { display: flex; flex-flow: row wrap; align-items: center; padding-top: 10px; padding-left: 20px; } .form-inline label { margin: 5px 10px 5px 0; } .form-inline input { padding-right: 50px; margin-right: 10px; } .form-inline button { padding: 10px 20px; background-color: dodgerblue; border: 1px solid #ddd; color: white; border-radius: 10px; } .form-inline button:hover { background-color: royalblue; } .pill-nav a { display: inline-block; color: white; background-color: dodgerblue; text-align: center; padding: 10px; text-decoration: none; border-radius: 10px; margin-left: 20px; } /* Change the color of links on mouse-over */ .pill-nav a:hover { background-color: royalblue; color: white; } /* Add a color to the active/current link */ .pill-nav a.active { background-color: royalblue; color: white; } .maincolumn { float:left; width: 100%; } /* Create two unequal columns that floats next to each other */ /* Left column */ .leftcolumn { float: left; width: 75%; } /* Right column */ .rightcolumn { float: left; width: 25%; background-color: #f1f1f1; padding-left: 20px; } /* Fake image */ .fakeimg { background-color: #aaa; width: 100%; padding: 20px; } /* Add a card effect for articles */ .card { background-color: white; padding: 20px; margin-top: 20px; } /* Clear floats after the columns */ .row::after { content: ""; display: table; clear: both; } /* Footer */ .footer { padding: 20px; text-align: center; background: #ddd; margin-top: 20px; } /* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */ @media screen and (max-width: 800px) { .leftcolumn, .rightcolumn { width: 100%; padding: 0; } } /* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */ @media screen and (max-width: 400px) { .topnav a { float: none; width: 100%; } } /* #app { max-width: 1280px; margin: 0 auto; padding: 2rem; font-weight: normal; } */ /* a, .green { text-decoration: none; color: hsla(160, 100%, 37%, 1); transition: 0.4s; padding: 3px; } */ /* @media (hover: hover) { a:hover { background-color: hsla(160, 100%, 37%, 0.2); } } */ /* @media (min-width: 1024px) { body { display: flex; place-items: center; } #app { display: grid; grid-template-columns: 1fr 1fr; padding: 0 2rem; } } */