site-accueil-insa/assets/css/template.css

228 lines
5.2 KiB
CSS
Raw Normal View History

/* Custom mario font definition : */
@font-face{
font-family: "Mario Extended";
src: url("../fonts/MarioFontExtended.otf") format("opentype");
}
2022-04-09 19:08:39 +02:00
*, *::before, *::after {
box-sizing: border-box;
}
html {
font-size: 20px;
}
2022-04-08 13:13:19 +02:00
body {
font-family: 'Mario Extended', sans-serif;
2022-06-13 16:13:52 +02:00
2022-04-09 19:08:39 +02:00
font-size: 1rem;
padding: 0; margin: 0;
2022-06-11 21:02:30 +02:00
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
2022-06-13 16:13:52 +02:00
background-attachment: fixed;
background-color: #bdc7f3;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' width='80' height='40'%3E%3Cpath fill='%235289ea' fill-opacity='0.2' d='M0 40a19.96 19.96 0 0 1 5.9-14.11 20.17 20.17 0 0 1 19.44-5.2A20 20 0 0 1 20.2 40H0zM65.32.75A20.02 20.02 0 0 1 40.8 25.26 20.02 20.02 0 0 1 65.32.76zM.07 0h20.1l-.08.07A20.02 20.02 0 0 1 .75 5.25 20.08 20.08 0 0 1 .07 0zm1.94 40h2.53l4.26-4.24v-9.78A17.96 17.96 0 0 0 2 40zm5.38 0h9.8a17.98 17.98 0 0 0 6.67-16.42L7.4 40zm3.43-15.42v9.17l11.62-11.59c-3.97-.5-8.08.3-11.62 2.42zm32.86-.78A18 18 0 0 0 63.85 3.63L43.68 23.8zm7.2-19.17v9.15L62.43 2.22c-3.96-.5-8.05.3-11.57 2.4zm-3.49 2.72c-4.1 4.1-5.81 9.69-5.13 15.03l6.61-6.6V6.02c-.51.41-1 .85-1.48 1.33zM17.18 0H7.42L3.64 3.78A18 18 0 0 0 17.18 0zM2.08 0c-.01.8.04 1.58.14 2.37L4.59 0H2.07z'%3E%3C/path%3E%3C/svg%3E");
}
body::before {
content: "";
position: fixed;
z-index: -2;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
clip-path: polygon(0 0, 55% 0, 45% 100%, 0 100%);
2022-06-17 13:51:52 +02:00
clip-path: polygon(0 0, calc(54% + 20px) 0, calc(46% - 20px) 100%, 0 100%);
2022-06-19 18:36:31 +02:00
background-color: #f5e8ab;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' width='80' height='40'%3E%3Cpath fill='%23e7c83f' fill-opacity='0.2' d='M0 40a19.96 19.96 0 0 1 5.9-14.11 20.17 20.17 0 0 1 19.44-5.2A20 20 0 0 1 20.2 40H0zM65.32.75A20.02 20.02 0 0 1 40.8 25.26 20.02 20.02 0 0 1 65.32.76zM.07 0h20.1l-.08.07A20.02 20.02 0 0 1 .75 5.25 20.08 20.08 0 0 1 .07 0zm1.94 40h2.53l4.26-4.24v-9.78A17.96 17.96 0 0 0 2 40zm5.38 0h9.8a17.98 17.98 0 0 0 6.67-16.42L7.4 40zm3.43-15.42v9.17l11.62-11.59c-3.97-.5-8.08.3-11.62 2.42zm32.86-.78A18 18 0 0 0 63.85 3.63L43.68 23.8zm7.2-19.17v9.15L62.43 2.22c-3.96-.5-8.05.3-11.57 2.4zm-3.49 2.72c-4.1 4.1-5.81 9.69-5.13 15.03l6.61-6.6V6.02c-.51.41-1 .85-1.48 1.33zM17.18 0H7.42L3.64 3.78A18 18 0 0 0 17.18 0zM2.08 0c-.01.8.04 1.58.14 2.37L4.59 0H2.07z'%3E%3C/path%3E%3C/svg%3E");
2022-04-08 14:42:53 +02:00
}
main {
2022-04-09 13:35:13 +02:00
text-align: center;
2022-04-09 17:24:25 +02:00
height: 100%;
2022-04-08 14:42:53 +02:00
}
2022-04-09 14:01:25 +02:00
a.link {
text-decoration: none;
color: #FFDC00;
-webkit-text-stroke: 1px black;
}
a.link:hover {
color: white;
-webkit-text-stroke: 1px white;
}
a.linkmail {
font-family: arial, sans-serif;
font-weight: bold;
text-decoration: none;
color: #FFDC00;
}
a.linkmail:hover {
color: white;
-webkit-text-stroke: 1px white;
}
/** START BOX JAUNE **/
.box-jaune {
2022-04-08 14:42:53 +02:00
display: inline-block;
position: relative;
2022-04-08 14:42:53 +02:00
padding: 10px;
2022-04-09 19:08:39 +02:00
margin: 40px 10vw 0;
font-size: 2.5px;
background-color: #efd21f;
border-top: solid 2em #fbf322;
border-left: solid 2em #a29013;
border-right: solid 2em #f7e31c;
border-bottom: solid 2em #73590b;
clip-path: polygon(
0 2.00em,1em 1em,2.00em 0,
calc(100% - 2.00em) 0,calc(100% - 1em) 1em,100% 2.00em,
100% calc(100% - 2.00em),calc(100% - 1em) calc(100% - 1em),calc(100% - 2.00em) 100%,
2.00em 100%,1em calc(100% - 1em),0 calc(100% - 2.00em)
);
}
.corners-top::before {
top: -2em;
left: -2em;
background-color: #bfa018;
2022-04-08 14:42:53 +02:00
}
.corners-top::after {
top: -2em;
right: -2em;
background-color: #fbfa87;
}
.corners-bottom::before {
bottom: -1.9em;
left: -2em;
background-color: #44350d;
}
.corners-bottom::after {
bottom: -1.9em;
right: -2em;
background-color: #967912;
}
.corners::before,
.corners:after {
content:"";
position: absolute;
display:block;
width: 2em;
height: 2em;
z-index: 2;
}
.box-jaune .title {
padding: 3vw 4.5vw;
2022-04-08 17:42:31 +02:00
color: black;
font-size: 1.5rem;
}
.circles-top {
top: 3em;
2022-04-08 14:42:53 +02:00
}
.circles-bottom {
bottom: 3em;
2022-04-08 14:42:53 +02:00
}
.circles::after,
.circles::before {
content: "";
position: absolute;
display: block;
width: 2em;
height: 2em;
top: inherit;
bottom: inherit;
border-radius: 100%;
background: black;
opacity: .9;
2022-04-08 14:42:53 +02:00
}
.circles::before {
left: 3em;
2022-04-08 13:13:19 +02:00
}
.circles::after {
right: 3em;
}
/** END BOX JAUNE **/
2022-04-09 12:55:13 +02:00
.menu_space_bottom {
position: sticky;
2022-04-05 21:56:56 +02:00
width: 100%;
2022-04-09 12:55:13 +02:00
opacity: 0;
left: 0;
bottom: 0;
padding: 0;
margin: 0;
2022-04-08 17:42:31 +02:00
}
2022-06-11 21:02:30 +02:00
.complete-wrapper {
flex: 1 0 auto;
2022-06-13 16:13:52 +02:00
padding-bottom: 60px;
2022-06-11 21:02:30 +02:00
}
2022-04-09 12:55:13 +02:00
footer {
display: block;
2022-06-11 21:02:30 +02:00
flex-shrink: 0;
background-color: #f2d97f;
background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e4cb6e' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
border-radius: 20px 20px 0 0;
-webkit-box-shadow: 0 0 8px -1px rgba(8, 10, 13, 0.64);
box-shadow: 0 0 8px -1px rgba(8, 10, 13, 0.64);
width: 100%;
padding: 50px;
font-size: 1rem;
color: black;
}
.footer-text-area {
2022-04-11 21:46:25 +02:00
width: 80%;
max-width: 800px;
2022-06-11 21:02:30 +02:00
margin-top: 2vh;
2022-04-09 12:55:13 +02:00
margin-left: auto;
margin-right: auto;
2022-04-09 19:08:39 +02:00
}
/* general purpose css */
ul {
padding: 0;
}
li {
list-style: none;
}
h1, h2, h3, h4, h5, h6 {
font-weight: unset;
}
section {
overflow: hidden;
2022-04-11 21:46:25 +02:00
max-width: 1000px;
2022-04-09 19:08:39 +02:00
}
#main_content {
padding-top: 20px;
2022-04-05 21:56:56 +02:00
}