Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *,
- *::before,
- *::after {
- box-sizing: border-box;
- }
- body {
- font-family: 'Quicksand', sans-serif;
- min-height: 100vh;
- margin: 0;
- display: flex;
- flex-direction: column;
- }
- footer {
- padding: 20px;
- color: white;
- background-color: #2d3e50;
- text-align: center;
- font-weight: bold;
- }
- .logo img{
- width: 150px;
- display: flex;
- position: relative;
- justify-content: center;
- align-items: center;
- }
- header.navbar-container {
- width: 100%;
- max-width: 1200px;
- padding-block: 1rem;
- margin-inline: auto;
- display: inline-flex;
- justify-content: space-around;
- align-items: center;
- position: sticky;
- top: 0;
- background-color: white;
- }
- .nav-list {
- position: sticky;
- top: 0;
- }
- header.navbar-container .nav-list ul {
- padding-left: 0;
- display: flex;
- justify-content: center;
- gap: 2rem 1rem;
- }
- header.navbar-container .nav-list li {
- list-style-type: none;
- }
- header.navbar-container .nav-list li a {
- padding: 0.5rem 1.5rem;
- border-radius: 999px;
- text-decoration: none;
- font-size: 1.05rem;
- font-weight: 500;
- color: black;
- transition: all 0.2s ease-in-out;
- }
- header.navbar-container .nav-list li:hover a {
- background-color: #425c77;
- color: white;
- }
- main {
- flex: 1;
- width: 100%;
- max-width: 1200px;
- margin-inline: auto;
- padding: 2rem 4rem;
- display: flexbox;
- align-items: center;
- }
- main .content {
- flex-grow: 1;
- display: flexbox;
- align-items: center;
- }
- main .content .content-description {
- flex: 1 1;
- }
- main .content .content-description .title {
- margin-block: 1rem;
- font-size: 3.5rem;
- }
- main .content .content-description p {
- font-size: 1.2rem;
- line-height: 1.7rem;
- }
- main .content .content-description button {
- padding: 0.8rem 2.5rem;
- border: 3px solid transparent;
- border-radius: 999px;
- margin-block-start: 1rem;
- background-color: #2d3e50;
- font-family: 'Quicksand', sans-serif;
- text-transform: uppercase;
- font-size: 1rem;
- font-weight: 700;
- color: white;
- cursor: pointer;
- transition: all 0.15s ease-in;
- }
- main .content .content-description button:hover {
- border: 3px solid #2d3e50;
- background-color: transparent;
- color: #2d3e50;
- }
- main .content .content-image {
- flex: 1;
- display: flex;
- }
- main .content .content-image img {
- width: 300px;
- min-width: 250px;
- margin: auto;
- }
- .profile header {
- text-align: center;
- }
- .featured-image {
- width: 100%;
- max-height: 300px;
- object-fit: cover;
- object-position: center;
- }
- .profile img {
- max-width: 200px;
- }
- @media screen and (max-width: 768px) {
- header.navbar-container {
- flex-direction: column;
- }
- header.navbar-container .nav-list ul {
- flex-wrap: wrap;
- column-gap: 0.5rem;
- }
- main {
- padding: 1rem 3rem;
- }
- main .content {
- flex-direction: column;
- gap: 2rem;
- }
- main .content .content-description .title {
- font-size: 3rem;
- }
- main .content .content-description p {
- font-size: 1rem;
- }
- main .content .content-image {
- order: -1;
- }
- }
- main aside {
- display: flex;
- position: fixed;
- inset-block: 0;
- inset-inline-end: 0;
- }
- main aside .info-tambahan {
- height: 100%;
- display: flex;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement