Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * {
- box-sizing: border-box;
- }
- .banner {
- height: 15rem;
- width: auto;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .clearfix::after {
- content: '';
- display: block;
- clear: both;
- }
- body {
- margin: 0;
- padding: 0;
- }
- .topnav nav {
- margin: 0rem;
- max-width: 100%;
- color: grey;
- font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
- }
- .topnav nav ul {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- .topnav nav ul li {
- display: inline;
- }
- .topnav nav ul li:last-child a {
- margin: 0;
- }
- .topnav nav ul li a {
- text-decoration: none;
- text-align: center;
- display: block;
- padding: 1.65rem;
- margin: 0 0 0 0;
- background-color: #000000;
- color: rgba(231, 231, 231, 0.78);
- font-family: 'Open Sans Condensed', sans-serif;
- font-size: 1.5rem;
- border-bottom: 2px solid #cae7b6;
- }
- .topnav nav ul li:last-child a {
- margin: 0;
- }
- .topnav nav ul li a:hover {
- border-bottom: 2px solid rgba(14, 137, 1, 0.98);
- }
- @media screen and (min-width: 35rem) {
- nav ul li a {
- width: 25%;
- float: left;
- margin-bottom: 1rem;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement