Skip to content
Snippets Groups Projects
Select Git revision
  • c8a37d469df93c56c181f32c859dcb53cb2bb03c
  • main default
  • tp2
  • tp1
  • tp3
  • tp2-correction
  • tp1-correction
  • admins
8 results

.gitlab-ci.yml

Blame
  • Forked from an inaccessible project.
    styles.css 9.36 KiB
    @viewport {
      width: device-width;
      zoom: 1;
    }
    @import url("https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed&display=swap");
    * {
      margin: 0;
      padding: 0;
      border: 0;
    }
    body {
      background: linear-gradient(
        116.02deg,
        #25351e -2.64%,
        rgba(23, 51, 13, 0.661967) 101.01%,
        rgba(25, 92, 2, 0.635417) 101.02%,
        #21351e 101.03%
      );
      font-family: "Roboto Condensed", sans-serif;
      place-items: center;
    }
    .core {
      margin: 4vw;
    }
    
    a {
      color: white;
    }
    
    h1 {
      /*Titre page principale*/
      color: white;
      font-size: 8vw;
      font-weight: 600;
      line-height: 98%;
      margin-top: 23px;
      text-align: center;
    }
    h2 {
      /*Titres autres pages*/
      color: white;
      font-family: "Roboto Condensed", sans-serif;
      font-size: min(50px, 10vw);
      margin: 10px;
      margin-top: 1vw;
      text-align: center;
    }
    h3 {
      /*Titre*/
      color: white;
      font-size: 3vw;
      text-align: center;
    }
    .card h3 {
      color: black;
    }
    h4 {
      /*Sous titres de pages*/
      color: white;
      margin: 10px;
      font-size: 25px;
      text-align: center;
    }
    h5 {
      /*Subtext Front page*/
      color: #fffefe;
      font-size: 3vw;
      text-align: justify;
      padding: 10px;
      text-align: center;
    }
    
    h6 {
      /*Titre*/
      color: white;
      font-size: 3vw;
    }
    
    p {
      text-align: justify;
      color: #fffefe;
      font-size: min(20px, 4.5vw);
      margin: 20px;
      padding: 5px;
    }
    nav {
      width: 80%;
      margin: 10px;
      position: sticky;
      top: 7%;
      position: absolute;
      left: 15%;
      display: block;
      font-size: 2.5vw;
    }
    nav ul {
      list-style-type: none;
    }
    nav li {
      float: left;
      width: 33%;
      text-align: center;
    }
    nav ul::after {
      content: "";
      display: table;
      clear: both;
    }
    nav a {
      display: block;
      text-decoration: none;
      color: #fffefe;
      font-size: 1.75vw;
      font-weight: bold;
      border-bottom: 2px solid transparent;
      padding: 10px 0px;
    }
    nav a:hover {
      color: red;
      border-bottom: 2px solid gold;
    }
    .sous {
      display: none;
      color: black;
      position: absolute;
      width: 100%;
      z-index: 1000;
    }
    .sous li {
      float: none;
      width: 100%;
      text-align: left;
    }
    .sous a {
      padding: 1.6%;
      border-bottom: none;
    }
    .sous a:hover {
      border-bottom: none;
      background-color: rgba(200, 200, 200, 0, 1);
    }
    nav > ul li:hover .sous {
      display: block;
    }
    .deroulant > a::after {
      content: "▼";
      font-size: min(12px, 2vw);
    }
    
    .actions {
      margin: 3% 0;
    }
    .scroller {
      overflow-x: scroll;
      display: flex;
      scroll-snap-type: x mandatory;
    }
    .item {
      min-width: 85%;
      background-color: none;
      scroll-snap-align: center;
      margin-bottom: 10px;
      padding: 0 50px 0 10px;
    }
    .card {
      height: 85%;
      background-color: #c4c4c4;
      border-radius: 20px;
      padding: 20px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      z-index: 1;
      position: relative;
    }
    .card p {
      line-height: 1.6;
      font-size: 14px;
      color: black;
    }
    .imag {
      width: 30%;
      float: left;
      padding: 20px;
    }
    .imag img {
      position: relative;
      border-radius: 20px;
      height: auto;
      width: 100%;
    }
    .card button {
      font-family: "Roboto Condensed", sans-serif;
      font-size: 15px;
      background-color: #e6e6e6;
      border-radius: 10px;
      padding: 10px;
      position: absolute;
      right: 20px;
      bottom: 20px;
    }
    
    .row {
      margin: auto;
    }
    
    .row:after {
      content: "";
      display: table;
      clear: both;
    }
    
    .grid-container-2-boxes {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 5%;
      justify-content: space-between; /* Center the items within their respective columns */
    }
    
    .grid-container-3-boxes {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 5%;
      justify-content: space-between; /* Center the items within their respective columns */
    }
    
    .column2 {
      float: left;
      width: 48%;
      padding: 1%;
    }
    .column2 img {
      border-radius: 20px;
      padding: 0%;
    }
    .column3 {
      float: left;
      width: 31%;
      padding: 1%;
      display: block;
    }
    .column3 img {
      display: block;
    }
    .column4 {
      float: left;
      width: 23%;
      padding: 1%;
    }
    .footer {
      background-color: grey;
      padding-bottom: 30px;
      padding-left: 30px;
      padding-right: 30px;
      padding-top: 10px;
      display: block;
    }
    
    
    .button {
      display: block;
      margin: auto;
      background-color: #AB3333; /* Green */
      border-radius: 10px;
      color: white;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      color: rgba(247, 247, 250, 0.685);
      font-size: 16px;
      width: 80%;
    }
    
    .button_small {
      display: block;
      margin: auto;
      background-color: #AB3333; 
      border-radius: 10px;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      color: rgba(247, 247, 250, 0.685);
      font-size: 16px;
      margin-bottom: 2%;
      width: 35%;
    }
    
    .button_row {
      display: block;
      margin: auto;
      background-color: #AB3333; 
      border-radius: 10px;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      color: rgba(247, 247, 250, 0.685);
      font-size: 16px;
      width: 55%;
    }
    
    .button:hover {
      background-color: grey;
      color: white;
    }
    
    .button span {
      cursor: pointer;
      transition: 0.5s;
    }
    
    .button span:after {
      content: "\00bb";
      opacity: 0;
      top: 0;
      right: -20px;
      transition: 0.5s;
    }
    
    .button:hover span {
      padding-right: 25px;
    }
    
    .button:hover span:after {
      opacity: 1;
      right: 0;
    }
    
    .button a {
      text-decoration: none;
      font-weight: bold;
    }
    .button a:visited {
      color: white;
    }
    
    .button a:hover {
      color: lightgray;
      border-bottom: 2px solid gold;
    }
    
    .container {
      position: relative;
      height: 400px;
      width: 100%;
      overflow: hidden;
      background: grey;
      box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
      transition: 0.3s ease-out;
      border-radius: 20px;
    }
    .container:hover {
      box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
    }
    .container .image {
      background: #000;
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      z-index: 2;
      transition: transform 0.3s ease-out;
    }
    .container:hover .image {
      transform: translateY(-100px);
    }
    .image img {
      height: 100%;
      width: 100%;
      object-fit: cover;
      transition: opacity 0.3s ease-out;
    }
    .container:hover .image img {
      opacity: 0.7;
    }
    .container:hover .image {
      transform: translateY(-100px);
    }
    
    .container .content {
      position: relative;
      width: 100%;
      height: 100%;
      background: grey;
    }
    .info {
      position: absolute;
      bottom: 20px;
      text-align: center;
      width: 100%;
      color: white;
      line-height: min(30px, auto);
    }
    .info h2 {
      font-size: min(27px, 2.5vw);
      margin: 3px 0;
    }
    .info span {
      color: #1a1a1a;
      font-size: min(20px, 2vw);
    }
    
    .fa {
      height: 80px;
      width: 80px;
      padding: 20px;
      text-align: center;
      text-decoration: none;
      border-radius: 50%;
    }
    
    /* Add a hover effect if you want */
    .fa:hover {
      opacity: 0.7;
    }
    
    /* Set a specific color for each brand */
    
    /* Facebook */
    .fa-facebook {
      background: #3b5998;
      color: white;
      position: relative;
    }
    
    /* Instagram */
    .fa-instagram {
      background: purple;
      color: white;
    }
    
    /* Slideshow container */
    .slideshow-container {
      position: relative;
      margin: auto;
      width: 70%;
    }
    
    /* Hide the images by default */
    .mySlides {
      display: none;
    }
    
    /* Next & previous buttons */
    .prev,
    .next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      width: auto;
      margin-top: -22px;
      padding: 16px;
      color: white;
      font-weight: bold;
      font-size: 18px;
      transition: 0.6s ease;
      border-radius: 0 3px 3px 0;
      user-select: none;
    }
    
    /* Position the "next button" to the right */
    .next {
      right: 0;
      border-radius: 3px 0 0 3px;
    }
    
    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }
    
    /* Caption text */
    .text {
      color: #f2f2f2;
      background-color: gray;
      font-size: 15px;
      padding: 8px 12px;
      position: absolute;
      bottom: 0px;
      width: 97.7%;
      text-align: center;
    }
    
    /* Number text (1/3 etc) */
    .numbertext {
      color: #f2f2f2;
      font-size: 12px;
      padding: 8px 12px;
      position: absolute;
      top: 0;
    }
    
    /* The dots/bullets/indicators */
    .dot {
      cursor: pointer;
      height: 15px;
      width: 15px;
      margin: 0 2px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      transition: background-color 0.6s ease;
    }
    
    .active,
    .dot:hover {
      background-color: #717171;
    }
    
    /* Fading animation */
    .fade {
      animation-name: fade;
      animation-duration: 1.5s;
    }
    
    @keyframes fade {
      from {
        opacity: 0.4;
      }
      to {
        opacity: 1;
      }
    }
    .modal {
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: none;
      opacity: 0;
      visibility: hidden;
      transform: scale(1.1);
      transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    }
    
    .modal-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: wheat;
      padding: 1rem 1.5rem;
      width: 75%;
      border-radius: 0.5rem;
    }
    .modal-header {
      background-color: green;
    }
    .modal-body {
      background-color: none;
    }
    .modal-footer {
      background-color: green;
    }
    a:visited {
      color: #fffefe;
    }
    
    p li {
      color: #fffefe;
    }
    
    .footer p {
      font-size: min(12px, 2vw);
      margin: 0;
    }
    
    .container2 {
      align-items: center;
    }
    
    .col {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 20px;
      margin-left: 20px;
      margin-top: 10px;
      margin-bottom: 10px;
      box-sizing: border-box;
    }
    
    .form-control {
      width: 400px;
    }
    
    .send {
      background-color: #AB3333;
      border: none;
      color: white;
      align-items: center;
      text-align: center;
      text-decoration-color: #21351e;
    }
    
    /* C'est pour les téléphones */
    @media screen and (max-width: 668px) {
      nav {
         top: 0%;
      }
      h1 {
        margin-top: 5%;
      }
      h2 {
        margin-top: 4%;
      }
      h3 {
        margin-top: 4%;
      }
      .footer {
        margin-top: 55%;
      }
    }