You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
381 lines
7.0 KiB
381 lines
7.0 KiB
/* http://meyerweb.com/eric/tools/css/reset/ |
|
v2.0 | 20110126 |
|
License: none (public domain) |
|
*/ |
|
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap'); |
|
|
|
|
|
html, body, div, span, applet, object, iframe, |
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
|
a, abbr, acronym, address, big, cite, code, |
|
del, dfn, em, img, ins, kbd, q, s, samp, |
|
small, strike, strong, sub, sup, tt, var, |
|
b, u, i, center, |
|
dl, dt, dd, ol, ul, li, |
|
fieldset, form, label, legend, |
|
table, caption, tbody, tfoot, thead, tr, th, td, |
|
article, aside, canvas, details, embed, |
|
figure, figcaption, footer, header, hgroup, |
|
menu, nav, output, ruby, section, summary, |
|
time, mark, audio, video { |
|
margin: 0; |
|
padding: 0; |
|
border: 0; |
|
font-size: 100%; |
|
font: inherit; |
|
vertical-align: baseline; |
|
} |
|
/* HTML5 display-role reset for older browsers */ |
|
article, aside, details, figcaption, figure, |
|
footer, header, hgroup, menu, nav, section { |
|
display: block; |
|
} |
|
|
|
body { |
|
line-height: 1,2; |
|
font-family: 'Fira Code', monospace; |
|
} |
|
|
|
ol, ul { |
|
list-style: none; |
|
} |
|
|
|
blockquote, q { |
|
quotes: none; |
|
} |
|
|
|
blockquote:before, blockquote:after, |
|
q:before, q:after { |
|
content: ''; |
|
content: none; |
|
} |
|
|
|
table { |
|
border-collapse: collapse; |
|
border-spacing: 0; |
|
} |
|
|
|
@font-face { |
|
font-weight: normal; |
|
font-style: normal; |
|
} |
|
|
|
@keyframes menu_color { |
|
0% {color: #ffe609;} |
|
30% {color: #e2b1aa;} |
|
60% {color: #f1885f;} |
|
90% {color: #70ba89;} |
|
100% {color: #ffe609;} |
|
} |
|
|
|
html{ |
|
font-size:16pt; |
|
scroll-behavior: smooth; |
|
} |
|
|
|
.page_data a { |
|
text-decoration: none; |
|
color: #0000; |
|
animation-name: menu_color; |
|
animation-iteration-count: infinite; |
|
-moz-animation-iteration-count: infinite; |
|
-webkit-animation-iteration-count: infinite; |
|
-o-animation-iteration-count: infinite; |
|
animation-duration: 6s; |
|
font-size:1em; |
|
} |
|
|
|
::selection { |
|
color:rgba(255,230,9,1); |
|
} |
|
|
|
|
|
nav{ |
|
z-index:1000; |
|
height:70px; |
|
background:rgba(255,255,255,0.9); |
|
position: fixed; |
|
top: 0; |
|
width: 100%; |
|
} |
|
|
|
nav #top_nav ul li{ |
|
display:inline-block; |
|
margin: 15px 0 0 15px; |
|
padding-bottom: 5px; |
|
} |
|
|
|
nav #top_nav ul li:hover{ |
|
|
|
} |
|
|
|
nav #top_nav ul li a { |
|
color: black; |
|
font-size : 1em; |
|
text-decoration: none; |
|
} |
|
|
|
|
|
nav #burger_nav , #burger_btn{ |
|
display : none; |
|
} |
|
|
|
#intro{ |
|
font-size : 50pt; |
|
min-height: 100vh; |
|
min-width: 100hw; |
|
text-align:center; |
|
background:url('../img/photoAccueil.jpg') center center no-repeat; |
|
background-size:cover; |
|
} |
|
|
|
#intro #intro_title { |
|
display : block; |
|
width:300px; |
|
height:300px; |
|
background:#fff; |
|
border-radius:50%; |
|
position:absolute; |
|
top:calc(50% - 150px); |
|
left:calc(50% - 150px); |
|
line-height:84px; |
|
} |
|
|
|
.page_data { |
|
/*! top:25px; */ |
|
padding : 150px 50px 50px 50px ; |
|
width:85%; |
|
background: #fff; |
|
min-height: calc(100vh - 200px); |
|
} |
|
|
|
.page_data h1{ |
|
font-size: 2em; |
|
line-height: 1; |
|
//text-align: center; |
|
} |
|
|
|
.page_data p{ |
|
margin: 20px 0; |
|
} |
|
|
|
.page_data p img{ |
|
max-width:100%; |
|
} |
|
|
|
#infobox{ |
|
width: 150%; |
|
background: rgba(255, 255, 255,0.9); |
|
font-size:2.5em; |
|
position: absolute; |
|
top: 20%; |
|
left: 15%; |
|
padding: 5%; |
|
z-index: 10000; |
|
border-top: silver 1px solid; |
|
border-bottom: silver 1px solid ; |
|
vertical-align: bottom; |
|
display: table-cell; |
|
display: inline-block; |
|
height: auto; |
|
text-align: center; |
|
} |
|
|
|
#infobox::before { |
|
content: ""; |
|
background: url(menu_burger_close.svg); |
|
width: 50px; |
|
height: 50px; |
|
position: absolute; |
|
top: -20px; |
|
right: -20px; |
|
border-radius: 25px; |
|
} |
|
|
|
#soc_med{ |
|
position:fixed; |
|
width: 110px; |
|
bottom:10px; |
|
right:20px; |
|
} |
|
|
|
#soc_med ul li { |
|
display:inline-block; |
|
width: 40px; |
|
height:40px; |
|
} |
|
|
|
#soc_med ul li a img { |
|
width: 100%; |
|
} |
|
|
|
.content_wrapper { |
|
display: grid; |
|
grid-template-columns: 1fr 1fr; |
|
z-index : 1000; |
|
/*! background:rgba(255,255,255,0.9); */ |
|
} |
|
|
|
.content_wrapper.wide_content { |
|
grid-template-columns: 2fr 1fr; |
|
} |
|
.page_data article{ |
|
margin-bottom: 20px; |
|
} |
|
|
|
.page_data article .a_content{ |
|
border-bottom:1px solid #000; |
|
} |
|
|
|
.img_container{ |
|
background:url('../img/bg.jpg') center center no-repeat; |
|
background-size:cover; |
|
width:100%; |
|
min-height:100vh; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*###############################################################################*/ |
|
|
|
/* On screens that are 800px or less, set the background color to olive */ |
|
@media only screen and (max-width: 1024px) { |
|
html{ |
|
font-size : 24pt; |
|
} |
|
|
|
.content_wrapper { |
|
width:80%; |
|
padding:10%; |
|
padding-top : 220px; |
|
} |
|
|
|
.page_data{ |
|
width:80%; |
|
margin:auto; |
|
} |
|
|
|
|
|
nav { |
|
height: 100px; |
|
position: relative ; |
|
z-index: 1222; |
|
text-align: center; |
|
} |
|
|
|
nav #top_nav{ |
|
display: none; |
|
} |
|
|
|
nav #burger_btn { |
|
display : block ; |
|
width: 100%; |
|
height:100px; |
|
background: url('menu_burger_open.svg') left center no-repeat ; |
|
background-size: auto 100%; |
|
margin-left : 50px; |
|
margin-top: 30px; |
|
z-index: 1201; |
|
position:fixed; |
|
} |
|
|
|
nav #burger_btn.close { |
|
background: url('menu_burger_close.svg') left center no-repeat !important; |
|
background-size: auto 100% !important; |
|
} |
|
|
|
nav #burger_nav { |
|
display : block; |
|
padding : 20px ; |
|
background : rgba(255, 255, 255,0.8); |
|
height: 0vh; |
|
width : 100vw; |
|
margin-top:-40px; |
|
z-index: 1200; |
|
overflow:hidden; |
|
position:fixed; |
|
top:0; |
|
transition :0.2s linear; |
|
} |
|
|
|
nav #burger_nav.open { |
|
height: auto; |
|
width : 100vw; |
|
min-height : 100vh; |
|
transition :0.2s linear; |
|
} |
|
|
|
nav #burger_nav ul li:first-child { |
|
padding-top : 300px; |
|
} |
|
|
|
nav #burger_nav ul li a{ |
|
display : block ; |
|
padding : 20px; |
|
text-decoration:none; |
|
color :#000; |
|
font-size: 3em; |
|
} |
|
|
|
#intro{ |
|
font-size : 150pt; |
|
min-height: 100vh; |
|
min-width: 100hw; |
|
text-align:center; |
|
} |
|
|
|
#intro #intro_title { |
|
display : inline-block; |
|
padding-top: 20%; |
|
} |
|
|
|
img.logo { |
|
height: 100px; |
|
} |
|
#infobox{ |
|
width: 60%; |
|
background: rgba(255, 255, 255,0.9); |
|
font-size:1em; |
|
position: absolute; |
|
top: 20%; |
|
left: 15%; |
|
padding: 5%; |
|
z-index: 10000; |
|
border: solid 1px rgba(200, 200, 200,0.5); |
|
border-radius: 5%; |
|
vertical-align: bottom; |
|
display: table-cell; |
|
display: inline-block; |
|
height: auto; |
|
text-align: center; |
|
} |
|
|
|
#infobox::before { |
|
content: ""; |
|
background: url(menu_burger_close.svg); |
|
width: 50px; |
|
height: 50px; |
|
position: absolute; |
|
top: -20px; |
|
right: -20px; |
|
border-radius: 25px; |
|
} |
|
|
|
#soc_med{ |
|
position:fixed; |
|
width: 200px; |
|
height:50px; |
|
bottom:70px; |
|
right:15px; |
|
} |
|
|
|
#soc_med ul li { |
|
display:inline-block; |
|
width: 70px; |
|
height:70px; |
|
} |
|
|
|
}
|
|
|