website/riichi.html
Didictateur 1fde29fe48 Recovered local commits:\n\nfd48e71 Didictateur <adrien.decosse@gmail.com> same header for alln
bb53e8 Didictateur <adrien.decosse@gmail.com> traduction en anglaisn
2025-11-22 12:56:33 +01:00

80 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<title>Riichi — Decosse Adrien</title>
<style>
main.container{
padding:0;
max-width:none;
width:100vw;
}
.iframe-wrapper{
width:100vw;
height:calc(100vh - 80px);
margin:0;
}
.embed-frame{
width:100vw;
height:100%;
border:0;
display:block;
}
html,body{height:100%;}
body{margin:0;}
.site-header{position:relative;z-index:20}
.iframe-wrapper{position:relative;z-index:10}
</style>
</head>
<body>
<header class="site-header">
<div class="container">
<a class="brand" href="index.html">Decosse Adrien</a>
<nav class="nav" aria-label="Main navigation">
<a href="index.html" data-i18n="nav.home"></a>
<a href="syllabus.html" data-i18n="nav.syllabus"></a>
<a href="cours/index.html" data-i18n="nav.cours"></a>
<a href="riichi.html" data-i18n="nav.riichi"></a>
<a href="croco.html" data-i18n="nav.croco"></a>
<a id="cv-download" href="Decosse_Adrien_CV.pdf" download data-i18n="nav.cv"></a>
<span style="margin-left:12px">
<a href="#" class="lang-toggle" data-lang="fr">FR</a>
<span style="opacity:0.6; margin:0 6px">|</span>
<a href="#" class="lang-toggle" data-lang="en">EN</a>
</span>
</nav>
</div>
</header>
<main class="container">
<div class="iframe-wrapper">
<iframe id="riichiFrame" class="embed-frame" src="riichi/index.html" title="Riichi submodule content" frameborder="0" loading="lazy"></iframe>
</div>
</main>
<script>
(function(){
const iframe = document.getElementById('riichiFrame');
const header = document.querySelector('.site-header');
const wrapper = document.querySelector('.iframe-wrapper');
function resize(){
const headerH = header ? header.getBoundingClientRect().height : 0;
const avail = window.innerHeight - headerH;
const h = Math.max(300, avail - 20);
wrapper.style.height = h + 'px';
iframe.style.height = h + 'px';
}
window.addEventListener('resize', resize);
window.addEventListener('load', resize);
setTimeout(resize, 250);
})();
</script>
</body>
</html>