body { width: 100%; height: 100%; margin: 0; /* padding: 0 20px 0 20px; */ background-color: #faf3e0; /* font-family: Arial, Helvetica, sans-serif; */ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; position: static; } .container { padding: 0; position: sticky; /* top: 0; */ /* display: flex; */ align-items: center; justify-content: space-between; flex-wrap: wrap; width: 100%; height: max-content; background-color: #eabf9f; box-shadow: 0px 8px 16px 0px rgba(29, 20, 20, 0.5); z-index: 1; /* border: 1px solid black; */ /* padding: 20px; */ /* border-radius: 10px; */ /* margin: 5px; */ } .navigation { display: flex; } .nav-left { float: left; /* flex-grow: 1; */ display: flex; /* position: relative; */ /* properti lainnya */ /* background-color: #FBDD1C; */ margin: 10px; /* border: 2px solid black; */ /* border-radius: 10px; */ width: 40%; padding-left: 50px; } .nav-right { float: right; /* flex-grow: 1; */ /* display: inline-block; */ /* position: fixed; */ /* properti lainnya */ /* background-color: #FBDD1C; */ margin: 5px; width: 60%; /* padding-left: 50px; */ /* border: 2px solid black; */ /* border-radius: 10px; */ } .logo { display: inline-block; width: 70px; height: 70px; border-radius: 10px; box-shadow: inset; /* float: left; */ } .title { display: inline-block; margin-left: 20px; /* float: left; */ /* justify-content: center; */ /* display: flex; */ /* flex-direction: column; */ } .menu { display: inline; float: right; list-style-type: none; margin-top: 25px; padding: 0; } /*dropdown menu*/ /* .dropbtn { background-color: #b68973; color: white; padding: 16px; font-size: 16px; border: none; cursor: pointer; } .dropdown { position: relative; display: inline-block; float: right; margin: 15px; } .dropdown-content { right: 0; display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); z-index: 1; } .dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; } .dropdown-content a:hover { background-color: #f1f1f1 } .dropdown:hover .dropdown-content { display: block; } .dropdown:hover .dropbtn { background-color: #ca7a52; } */ .dropbtn { background-color: #cc7c54; color: white; padding: 16px; font-size: 16px; border: none; cursor: pointer; } /* Dropdown button on hover & focus */ .dropbtn:hover, .dropbtn:focus { background-color: #b68973; } /* The container
- needed to position the dropdown content */ .dropdown { position: relative; display: inline-block; float: right; margin: 20px; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { display: none; position: absolute; background-color: #f1f1f1; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); z-index: 1; right: 0; } /* Links inside the dropdown */ .dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; } /* Change color of dropdown links on hover */ .dropdown-content a:hover { background-color: #ddd } /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */ .show { display: block; } main { padding: 50px; display: flex; } .content { float: left; border: 2px solid black; /* border-radius: 10px; /* flex-grow: 1; */ } .profile-content { float: right; margin: 50px; border: 2px solid black; border-radius: 5px; height: max-content; /* padding: 50px; */ /* flex-grow: 5; */ } .profile { background-color: #ca7a52; /* margin: 50px; */ } .profile h4 { text-align: center; } .profile p { text-align: center; } .img-profile { width: 130px; height: 200px; margin: 20px 50px 10px 50px; /* padding: 0 0 0 0 20px; */ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5); } footer { padding: 0; position: sticky; /* top: 0; */ /* display: flex; */ align-items: center; /* justify-content: space-between; */ flex-wrap: wrap; width: 100%; height: 50px; background-color: #eabf9f; box-shadow: 16px 0px 8px 10px rgba(0, 0, 0, 0.2); z-index: auto; text-align: center; } footer p { padding: 10px; }