HTMLify

Views: 4 | Author: itintern
body{
    margin:0px;
    text-align:center;
    background: linear-gradient(138deg, white, rgb(218, 207, 207));
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
}

.main{
    width:100%;
    height: 100%;
}

.header {
    height: 55px;
    padding: 10px 20px;
  
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.5px solid rgb(167, 163, 163);
  }

  .header h1 {
    margin: 0;
    color: #003566;
    font-size: 1.8em;
  }

  .header a {
    font-family: "Roboto", sans-serif;
    color: black;
    text-decoration: none;
    margin: 0 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    padding: 5px 5px;
  }
  
  .header a:hover {
    text-decoration: none;
    color: #022d55;
    background-color: lightgrey;
  }

  .header i {
    display: none;
    font-size: 16px;
    padding: 0 5px;
    border: 1px solid lightgray;
    border-radius: 5px;
    cursor: pointer;
  }
  .header i:hover {
    background-color: lightgray;
  }

  .sidenav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    background-color: white;
    box-shadow: -10px 0 10px rgb(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 8px;
    animation: slideIn 0.5s forwards;
    transition: right 0.8s ease;
  }

  @keyframes slideIn {
    from {
        right: -250px; 
    }
    to {
        right: 0; 
    }
  }

.container{
    color: blue;
    width:100%;
}

@media (max-width: 768px) {
    iframe{
        height:250px;
    }
}

@media (min-width: 1024px) {
    iframe{
        height:450px;
    }
}

.content iframe{
    border-radius: 8px;
    width: 90%;
}

.instruction{
    margin:30px;
    text-align: left;
}

.taskl{
    color:black;
}

.taskl a{
    text-decoration: none;
}
.instruction p{
    color:black;
}

  .sidenav i {
    margin: 12px 0 12px 8px;
    cursor: pointer;
    border: 1px solid lightgray;
    padding: 0 5px;
    border-radius: 5px;
  }
  .sidenav i:hover {
    background-color: lightgray;
  }

  .sidenav a {
    margin: 5px 0px;
    padding: 5px 8px;
    cursor: pointer;
    color: black;
    border-radius: 5px;
    text-decoration: none;
  }
  .sidenav a:hover {
    background-color: lightgray;
    color: #022d55;
  }

  .header{
    height:35px;
  }

  @media (max-width: 768px) {
    .header h1 {
      font-size: 1.5em;
    }
  
    .header button {
      display: none;
    }
  
    .headerLinks {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .headerLinks a {
      display: none;
    }
    .headerLinks i {
      display: block;
    }
    .sidenav {
      display: none;
    }
  }

  footer {
    background-color: #111111;
    color: white;
    padding: 10px 0px;
    text-align: center;
    font-family: "Roboto", sans-serif;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 15px;
  }
  .footer-content .address p {
    color: #777777;
  }
  
  .footer-content .address i {
    margin-right: 10px;
  }

  .list li a {
    color: #777777;
    position: relative;
    text-align: center;
  }
  
  .list li a:hover{
    margin-left: 8px;
    transition: all 0.3s ease;
    color: whitesmoke;
  }
  .social-media li {
    display: inline-block;
    margin: 10px 15px;
  
    /* text-align: center; */
  }
  .social-media li a {
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 60px;
    border: 1px solid #777777;
    color: #777777;
  }
  .social-media li a:hover {
    color: #022d55;
    border: none;
    background-color: whitesmoke;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
  }
  .footer-content div {
    flex: 1;
    margin: 8px;
    min-width: 200px;
  }
  
  .footer-content h4 {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
  }
  
  .footer-content p,
  .footer-content ul,
  .footer-content a {
    margin: 5px 0;
  }
  
  .footer-content ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-content a {
    color: white;
    text-decoration: none;
  }
  
  .footer-bottom {
    padding: 5px 0;
    font-size: 17px;
  }
  
  .footer-bottom p {
    margin: 0;
    color: #777777;
  }

Comments