Skip to content
Snippets Groups Projects
style-dacc.css 4.87 KiB
Newer Older
  • Learn to ignore specific revisions
  • Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    body {
      font-family: 'Roboto Mono', sans-serif;
      font-style: normal;
      font-weight: bold;
      margin: auto;
    }
    
    html {
      overflow-x: hidden;
      background: white;
    }
    
    h1 {
      font-weight: bold;
      font-size: 2.875em;
      line-height: 60px;
    }
    
    h2 {
      text-align: center;
    }
    
    p {
      font-family: Roboto;
      font-style: normal;
      font-weight: 500;
      font-size: 1.5em;
      line-height: 31px;
    }
    
    .background-image {
      background: radial-gradient(29.38% 58.23% at 65.42% 50%, #234C85 0%, #234C85 100%);
    }
    
    .red-chat {
      background-repeat: no-repeat;
      height: 437px;
      width: 663px;
      background-image: url("./assets-dacc/red_chat_bubble.svg");  
      position: relative;
      top: 24vh;
      margin-top: -200px;
    }
    
    .red-chat p {
      padding-top: 155px;
      padding-left: 120px;
      padding-right: 80px;
      color: white;
      font-weight: bold !important;
    }
    
    .blue-border {
      background: rgba(94, 164, 218, 0.2);
      border: 2px solid #35A8E0;
      box-sizing: border-box;
      border-radius: 20px;
      text-align: center;
      padding-top: 28px;
    }
    
    .blue-border p {
      font-weight: bold !important;
    }
    
    .blue-border-top {
      width: 520px;
      height: 170px;
      position: absolute;
      right: 2vw;
      margin-top: 120px;
    }
    
    .blue-border-center {
      width: 435px;
      height: 140px;
      position: relative;
      top: 800px;
      margin-left: -2vw;
    }
    
    .blue-border-bottom {
      width: 500px;
      height: 170px;
      position: absolute;
      right: 2vw;
      margin-top: 700px;
    }
    
    .header {
      margin: auto;
      max-width: 80%;
      color: white;
      display: flex;
      align-items: center;
    }
    
    .header img {
      width: 50%;
      height: 50%;
    }
    
    .header h1 {
      margin-top: 0;
    }
    
    .header p {
      font-family: 'Roboto';
      font-style: normal;
      font-weight: bold;
      font-size: 1.5em;
      line-height: 31px;
    }
    
    .body {  
      max-width: 80%;
      margin: auto;
      color: #0D3062;
    }
    
    .body p {
      font-family: Roboto;
      font-style: normal;
      font-weight: normal;
      margin: 0;
    }
    
    .body h2 {
      font-family: 'Roboto Mono';
      font-style: normal;
      font-weight: bold;
      font-size: 2.25em;
      line-height: 45px;
    }
    
    .body .title {
      font-family: Roboto;
      font-style: normal;
      font-weight: 900;
      line-height: 31px;
      margin-bottom: 30px;
    }
    
    .footer {
      background-color: black;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
    }
    
    .footer div {
      display: flex;
      align-items: center;
      flex-basis: 33%;
    }
    
    .footer .flex-center {  
      justify-content: center;
    }
    
    .footer .flex-end {  
      justify-content: flex-end;
    }
    
    .footer .metro-logo {
      margin-right: 0.3rem;
    }
    
    .footer a {
      font-family: Titillium Web;
      font-style: normal;
      font-weight: normal;
      font-size: 1em;
      line-height: 34px;
      display: flex;
      align-items: center;
      color: #FFFFFF;
      text-decoration: none;
    }
    
    .center {
      display: flex;
    }
    
    .center img {
      width: 50%;
    }
    
    .center-small {  
      max-width: 70%;
      margin-left: auto;
      margin-right: auto;
    }
    
    .border {
      padding: 40px;
      border: 4px solid #234C85;
      box-sizing: border-box;
      border-radius: 20px;
    }
    
    .text-center {  
      text-align: center;
    }
    
    .text-center img {  
      width: 100%;
      max-height: 1432px;
      max-width: 1192px;
    
    }
    
    .margin-top-small {
      margin-top: 30px !important;
    }
    
    .margin-top-medium {
      margin-top: 70px;
    }
    
    .red-border {
      background-image: url("./assets-dacc/red_border.svg");
      width: 843px;
      height: 582px;
      margin: auto;
    }
    
    .red-border p {
      color: white;
      font-weight: bold;
      padding-left: 160px;
      padding-right: 140px;
      text-align: center;
    }
    
    .red-border .first {
      padding-top: 180px;
      padding-bottom: 20px;
    }
    
    @media (max-width: 1200px) {
      .header {
        padding-top: 20px;
        align-items: center;
        max-width: 90%;
      }
    
      .body {
        max-width: 90%;
      }
    
      .center {
        flex-direction: column;
        align-items: center;
      }
    
      .blue-border {    
        margin: 20px auto;
      }
    
      .blue-border-top {
        position: unset;
        right: unset;
        margin-top: unset;
      }
      
      .blue-border-center {
        position: unset;
        top: unset;
      }
      
      .blue-border-bottom {
        position: unset;
        right: unset;
        margin-top: unset;
      }
    
      .red-chat {
        position: unset;
        top: unset;
        margin-top: unset;
        margin: auto;
      }
    }
    
    @media (max-width: 900px) {
      .red-border {
        background-size: contain;
        width: unset;
      }
      .red-border .first {
        padding-top: 18vw;
      }
      .red-border p {    
        padding-left: 140px;
        padding-right: 80px;
        font-size: 1.3em;
      }
      .footer {    
        flex-direction: column;
      }
    }
    @media (max-width: 768px) {
      .hide-on-mobile {
        display: none !important;
      }
      .center img {
        width: 100%;
      }
      .center-small {
        max-width: unset;
      }
      .blue-border {
        width: unset !important;
        height: unset !important;
        padding-top: unset;
      }
      .red-chat, .red-border {
        background: unset;
        width: unset;
        height: unset;
      }
      .red-chat p, .red-border p {
        padding: unset;
        color: #0D3062;
        margin-bottom: 20px;
      }
      .red-border .first {
        padding-top: unset;
      }
      .footer div {    
        flex-direction: column;
        padding-bottom: 20px;
      }
    }