Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
style.css 11 KiB
Newer Older
  • Learn to ignore specific revisions
  • peter_rabbit's avatar
    peter_rabbit committed
    body {
    
    peter_rabbit's avatar
    peter_rabbit committed
      font-family: Arial, Helvetica, sans-serif;
    
    peter_rabbit's avatar
    peter_rabbit committed
      margin: 0;
    
    peter_rabbit's avatar
    peter_rabbit committed
    }
    
    peter_rabbit's avatar
    peter_rabbit committed
    body * {
    
    peter_rabbit's avatar
    peter_rabbit committed
      box-sizing: border-box;
    
      color: #35393c;
    
    peter_rabbit's avatar
    peter_rabbit committed
    }
    
    body ul {
      margin: 0;
      padding: 0;
      list-style-type: none;
    }
    
    body a {
      color: #34a0b3;
      text-decoration: none;
    }
    body a:hover {
      color: #17cff0;
    }
    body blue {
      color: #34a0b3;
    }
    
    peter_rabbit's avatar
    peter_rabbit committed
      background: url("../assets/images/wallpaper_binary_white.png");
    
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
    }
    main header {
      width: 100%;
    }
    
    main header nav {
      display: flex;
      align-items: center;
      height: 40px;
    }
    main header nav .home {
      margin: 0 10px;
    }
    main header nav .home img {
      width: 40px;
    }
    
    main header nav ul {
      display: flex;
      padding: 0;
      margin: 0;
      list-style-type: none;
    }
    
    peter_rabbit's avatar
    peter_rabbit committed
    main header nav ul li {
      position: relative;
    }
    
    main header nav ul li a {
      display: flex;
    
    peter_rabbit's avatar
    peter_rabbit committed
      align-items: center;
      height: 100%;
    
      padding: 10px 20px;
    
    peter_rabbit's avatar
    peter_rabbit committed
      color: #96a5ae;
      font-weight: 800;
    
      text-decoration: none;
    }
    
    peter_rabbit's avatar
    peter_rabbit committed
    main header nav ul li .submenu {
      visibility: hidden;
    
    peter_rabbit's avatar
    peter_rabbit committed
      overflow: hidden;
    
    peter_rabbit's avatar
    peter_rabbit committed
      position: absolute;
      height: auto;
      max-height: 0;
    
      transition: max-height 0.6s;
    
    peter_rabbit's avatar
    peter_rabbit committed
      top: 100%;
      left: 50%;
      flex-direction: column;
    
    peter_rabbit's avatar
    peter_rabbit committed
      background-color: white;
    
    peter_rabbit's avatar
    peter_rabbit committed
      white-space: nowrap;
    }
    
    main header nav ul li.active a {
    
    peter_rabbit's avatar
    peter_rabbit committed
      color: #3c4144;
      border-bottom: 1px solid;
    
    main header nav ul li:hover a {
    
    peter_rabbit's avatar
    peter_rabbit committed
      color: #3c4144;
    
    peter_rabbit's avatar
    peter_rabbit committed
    main header nav ul li:hover .submenu {
      visibility: unset;
      max-height: 1000px;
    }
    
    peter_rabbit's avatar
    peter_rabbit committed
    main header nav ul li:hover .submenu a {
    
    peter_rabbit's avatar
    peter_rabbit committed
      color: #96a5ae;
      border: none;
    
    peter_rabbit's avatar
    peter_rabbit committed
    }
    main header nav ul li:hover .submenu li:hover a {
    
    peter_rabbit's avatar
    peter_rabbit committed
      color: #3c4144;
    
    peter_rabbit's avatar
    peter_rabbit committed
    }
    
    main header nav .burger {
      display: none;
    }
    @media screen and (max-width: 560px) {
      main header nav {
        justify-content: space-between;
      }
      main header nav .burger {
        display: flex;
        font-weight: bold;
        border: 1px solid;
        margin: 0 20px;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        width: 25px;
        height: 25px;
        color: #555d61;
        font-size: 20px;
      }
      main header nav ul {
        display: none;
      }
      main header nav ul.responsive-show {
        display: flex;
        position: absolute;
        right: 0;
        max-width: 100vw;
        min-width: 50vw;
        top: 40px;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 4px 6px 2px #0000000a;
      }
      main header nav ul.responsive-show li.active a {
        border: none;
      }
      main header nav ul.responsive-show li .submenu {
        display: flex;
        visibility: visible;
        position: relative;
        height: unset;
        max-height: unset;
        transition: max-height 0.6s;
        top: unset;
        left: unset;
        margin-left: 20px;
      }
      main header nav ul.responsive-show li .submenu li a {
        font-weight: 400;
        font-size: 12px;
        color: #96a5ae;
      }
    }
    
    main #page-container {
      background-color: white;
      width: 1200px;
      max-width: 100%;
      flex: 1;
    }
    main #page-container #education-page h1 {
      margin: 15px 40px 0;
      font-size: 25px;
    }
    
    main #page-container #education-page h3.big {
      font-size: 30px;
    }
    
    main #page-container #education-page .edu-philo {
      margin: 15px 40px 15px 100px;
      max-width: 800px;
      font-style: italic;
    }
    main #page-container #education-page .title-banner {
      display: flex;
      justify-content: flex-end;
      flex-direction: column;
    
      height: 15vw;
      min-height: 250px;
    
      background-size: cover;
      background-repeat: no-repeat;
    
      background-position: center;
    
    main #page-container #education-page .title-banner.game-banner {
      background-image: url("../../../assets/images/game_studio_banner.png");
    }
    main #page-container #education-page .title-banner.popu-banner {
      background-image: url("../../../assets/images/popularization_banner.png");
    }
    
    main #page-container #education-page .title-banner h2 {
      color: white;
      font-size: 2.5em;
      margin: 40px;
    
      text-shadow: 0 0 6px #0003;
    
    }
    main #page-container #education-page .section-contents {
      margin: 20px 40px 60px;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 20px;
    
    peter_rabbit's avatar
    peter_rabbit committed
      height: auto;
    
    peter_rabbit's avatar
    peter_rabbit committed
    main #page-container #education-page .section-contents .full-row {
    
      grid-column: 1/span 2;
    }
    main #page-container #education-page .section-contents .practical-infos {
      grid-column: 2;
      grid-row: 2;
      display: flex;
      flex-direction: column;
      gap: 40px;
    
    peter_rabbit's avatar
    peter_rabbit committed
      background-color: #d4d9dd;
    
    peter_rabbit's avatar
    peter_rabbit committed
      padding: 30px;
    
    }
    main #page-container #education-page .section-contents .practical-infos .info-item {
      display: flex;
      flex-direction: column;
      background-color: white;
      padding: 20px;
    }
    main #page-container #education-page .section-contents .practical-infos .info-item strong {
      margin-bottom: 10px;
    }
    main #page-container #education-page .section-contents .practical-infos .info-item span,
    main #page-container #education-page .section-contents .practical-infos .info-item a {
      font-size: 14px;
    }
    main #page-container #education-page .section-contents ul.learning-themes {
      grid-column: 1;
      grid-row: 2;
      display: flex;
    
      gap: 20px 30px;
    
      flex-wrap: wrap;
    }
    main #page-container #education-page .section-contents ul.learning-themes li.learning-theme {
      position: relative;
    
    peter_rabbit's avatar
    peter_rabbit committed
      border: solid #d4d9dd;
      border-width: 0 2px 2px 0;
    
      display: flex;
      flex-direction: column;
    
    }
    main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .title {
    
      color: #3c4144;
    
      display: block;
    
      position: absolute;
    
    peter_rabbit's avatar
    peter_rabbit committed
      background-color: #fff9;
    
      padding: 5px 25px;
    }
    main #page-container #education-page .section-contents ul.learning-themes li.learning-theme img {
      width: 100%;
      height: auto;
    
    }
    main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details {
    
    peter_rabbit's avatar
    peter_rabbit committed
      background-color: #fffe;
    
      position: absolute;
      top: 40px;
      left: 40px;
      width: 300px;
      height: auto;
      max-height: 0;
      visibility: hidden;
      z-index: 1;
      transition: max-height 0.6s;
      padding: 20px;
    
    peter_rabbit's avatar
    peter_rabbit committed
      border: solid #d4d9dd;
      border-width: 0 1px 1px 0;
    
      overflow: hidden;
    
      display: flex;
      flex-direction: column;
    
      gap: 10px;
    }
    main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details .comment {
      font-style: italic;
    }
    main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details ul {
      list-style-type: disc;
      font-size: 14px;
      margin-left: 10px;
    }
    main #page-container #education-page .section-contents ul.learning-themes li.learning-theme:hover .details {
      max-height: 1000px;
      visibility: visible;
    
    }
    main #page-container #education-page .section-contents .infos-inscriptions {
      display: flex;
      gap: 40px;
    
    peter_rabbit's avatar
    peter_rabbit committed
      background-color: #d4d9dd;
    
    peter_rabbit's avatar
    peter_rabbit committed
      padding: 30px;
    
    }
    main #page-container #education-page .section-contents .infos-inscriptions .groups,
    main #page-container #education-page .section-contents .infos-inscriptions .pricing {
    
    peter_rabbit's avatar
    peter_rabbit committed
      background-color: white;
    
      padding: 20px;
      display: flex;
      flex-direction: column;
    }
    
    peter_rabbit's avatar
    peter_rabbit committed
    main #page-container #education-page .section-contents .infos-inscriptions .groups h3,
    main #page-container #education-page .section-contents .infos-inscriptions .pricing h3 {
    
    peter_rabbit's avatar
    peter_rabbit committed
      margin: 0;
    
    peter_rabbit's avatar
    peter_rabbit committed
    }
    main #page-container #education-page .section-contents .infos-inscriptions .groups .table-wrapper table,
    main #page-container #education-page .section-contents .infos-inscriptions .pricing .table-wrapper table {
      border: 1px solid #dde;
      border-collapse: collapse;
    }
    main #page-container #education-page .section-contents .infos-inscriptions .groups .table-wrapper table td,
    main #page-container #education-page .section-contents .infos-inscriptions .pricing .table-wrapper table td {
      border: 1px solid #dde;
      padding: 10px 20px;
    
    @media screen and (max-width: 900px) {
      main #page-container #education-page .section-contents ul.learning-themes {
        display: block;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme {
        margin-bottom: 20px;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details {
        background-color: #fff9;
        position: relative;
        top: unset;
        width: 100%;
        left: unset;
        max-height: unset;
        visibility: visible;
        padding: 10px;
        box-shadow: none;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details .comment {
        font-style: italic;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details ul {
        list-style-type: disc;
        font-size: 14px;
        margin-left: 10px;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details ul li {
        color: #555d61;
      }
    }
    @media screen and (max-width: 560px) {
      main #page-container #education-page h1 {
        margin: 15px 20px 0;
        font-size: 25px;
      }
      main #page-container #education-page h3.big {
        font-size: 22px;
      }
      main #page-container #education-page .edu-philo {
        margin: 15px;
        max-width: unset;
      }
      main #page-container #education-page .title-banner {
        height: 170px;
        min-height: unset;
      }
      main #page-container #education-page .title-banner h2 {
        font-size: 2em;
        margin: 20px;
        text-shadow: 0 0 4px #000b;
      }
      main #page-container #education-page .section-contents {
        margin: 20px 10px 40px;
        grid-template-columns: 1fr;
      }
      main #page-container #education-page .section-contents .full-row {
        grid-column: 1;
      }
      main #page-container #education-page .section-contents .practical-infos {
        grid-column: 1;
        grid-row: 3;
        gap: 10px;
        padding: 10px;
      }
      main #page-container #education-page .section-contents ul.learning-themes {
        grid-column: 1;
        grid-row: 2;
        display: block;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme {
        margin-bottom: 20px;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details {
        background-color: #fff9;
        position: relative;
        top: unset;
        width: 100%;
        left: unset;
        max-height: unset;
        visibility: visible;
        padding: 10px;
        box-shadow: none;
      }
      main #page-container #education-page .section-contents ul.learning-themes li.learning-theme .details ul li {
        color: #555d61;
      }
      main #page-container #education-page .section-contents .infos-inscriptions {
        display: flex;
        gap: 10px;
        padding: 10px;
        flex-direction: column;
      }
      main #page-container #education-page .section-contents .infos-inscriptions .groups,
    main #page-container #education-page .section-contents .infos-inscriptions .pricing {
        background-color: white;
        padding: 20px;
        display: flex;
        flex-direction: column;
      }
      main #page-container #education-page .section-contents .infos-inscriptions .groups .table-wrapper table,
    main #page-container #education-page .section-contents .infos-inscriptions .pricing .table-wrapper table {
        width: 100%;
      }
      main #page-container #education-page .section-contents .infos-inscriptions .groups .table-wrapper table td,
    main #page-container #education-page .section-contents .infos-inscriptions .pricing .table-wrapper table td {
        border: 1px solid #dde;
        padding: 10px;
      }
    }
    
    main footer {
      width: 100%;
    
    peter_rabbit's avatar
    peter_rabbit committed
      background-color: #fff1;
      padding: 20px;
    
    peter_rabbit's avatar
    peter_rabbit committed
    
    /*# sourceMappingURL=style.css.map */