-
peter_rabbit authoredpeter_rabbit authored
style.css 11.86 KiB
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
body * {
box-sizing: border-box;
color: #35393c;
}
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;
}
main {
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: 60px;
background-color: #fffb;
}
main header nav .home {
margin: 0 10px;
}
main header nav .home a {
display: flex;
align-items: center;
gap: 10px;
}
main header nav .home a img {
height: 40px;
width: auto;
}
main header nav .home a img.logo-text {
width: 120px;
height: auto;
}
main header nav ul {
display: flex;
padding: 0;
margin: 0;
list-style-type: none;
height: 100%;
}
main header nav ul li {
position: relative;
}
main header nav ul li a {
display: flex;
align-items: center;
height: 100%;
padding: 10px 20px;
color: #96a5ae;
font-weight: 800;
text-decoration: none;
}
main header nav ul li .submenu {
visibility: hidden;
overflow: hidden;
position: absolute;
height: auto;
max-height: 0;
transition: max-height 0.6s;
top: 100%;
left: 50%;
flex-direction: column;
background-color: white;
white-space: nowrap;
}
main header nav ul li.active a {
color: #3c4144;
border-bottom: 1px solid;
}
main header nav ul li:hover a {
color: #3c4144;
}
main header nav ul li:hover .submenu {
visibility: unset;
max-height: 1000px;
}
main header nav ul li:hover .submenu a {
color: #96a5ae;
border: none;
}
main header nav ul li:hover .submenu li:hover a {
color: #3c4144;
}
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: 35px;
height: 35px;
color: #555d61;
font-size: 25px;
}
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: 60px;
flex-direction: column;
background-color: white;
box-shadow: 0 4px 6px 2px #0000000a;
height: unset;
}
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: 14px;
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;
height: auto;
}
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;
background-color: #d4d9dd;
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 .list-wrapper {
grid-column: 1;
grid-row: 2;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes {
display: flex;
gap: 20px 30px;
flex-wrap: wrap;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes li.learning-theme {
position: relative;
border: solid #d4d9dd;
border-width: 0 2px 2px 0;
display: flex;
flex-direction: column;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes li.learning-theme .title {
color: #3c4144;
display: block;
position: absolute;
background-color: #fff9;
padding: 5px 25px;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes li.learning-theme img {
width: 100%;
height: auto;
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes li.learning-theme .details {
background-color: #fffe;
position: absolute;
top: 25px;
left: 25px;
width: 300px;
height: auto;
max-height: 0;
visibility: hidden;
z-index: 1;
transition: max-height 0.6s;
padding: 20px;
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 .list-wrapper ul.learning-themes li.learning-theme .details .comment {
font-style: italic;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes li.learning-theme .details .comment * {
color: #6b7880;
}
main #page-container #education-page .section-contents .list-wrapper 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 .list-wrapper ul.learning-themes li.learning-theme .details ul li {
color: #6b7880;
}
main #page-container #education-page .section-contents .list-wrapper 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;
background-color: #d4d9dd;
padding: 30px;
}
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 h3,
main #page-container #education-page .section-contents .infos-inscriptions .pricing h3 {
margin: 0;
}
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;
}
main #page-container #education-page .section-contents .infos-inscriptions .groups .download-link,
main #page-container #education-page .section-contents .infos-inscriptions .pricing .download-link {
border: 1px solid;
padding: 10px;
display: inline-block;
margin: 10px 0 0;
}
@media screen and (max-width: 900px) {
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes {
display: block;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes li.learning-theme {
width: 100%;
margin-bottom: 20px;
}
main #page-container #education-page .section-contents .list-wrapper 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 .list-wrapper 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 .infos-inscriptions {
flex-direction: column;
}
}
@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 .list-wrapper ul.learning-themes {
grid-column: 1;
grid-row: 2;
display: block;
}
main #page-container #education-page .section-contents .list-wrapper ul.learning-themes li.learning-theme {
margin-bottom: 20px;
}
main #page-container #education-page .section-contents .list-wrapper 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 .infos-inscriptions {
gap: 10px;
padding: 10px;
}
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%;
background-color: #fff1;
padding: 20px;
}
/*# sourceMappingURL=style.css.map */