mirror of
https://github.com/NohamR/Manuel.git
synced 2025-05-24 00:49:10 +00:00
c'est dégueux mais fonctionnel
This commit is contained in:
parent
84fb40f290
commit
e1945c07c3
4
.gitignore
vendored
4
.gitignore
vendored
@ -131,3 +131,7 @@ node_modules/
|
|||||||
average.txt
|
average.txt
|
||||||
requirements.txt
|
requirements.txt
|
||||||
py/.DS_Store
|
py/.DS_Store
|
||||||
|
py/.DS_Store
|
||||||
|
py/.DS_Store
|
||||||
|
py/.DS_Store
|
||||||
|
py/nathan/.DS_Store
|
||||||
|
21
index.html
21
index.html
@ -34,13 +34,13 @@
|
|||||||
<a href="rechercher.html">Cherche ton code ici</a>
|
<a href="rechercher.html">Cherche ton code ici</a>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" id="code" name="code" value="9782091317243">
|
<input type="text" id="code" name="code" value="9782091317243">
|
||||||
<button onclick="urlachanger()">Changer de livre</button>
|
<button onclick="urlachanger()">update</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="nbpage">Entrez la page :</label>
|
<label for="nbpage">Entrez la page :</label>
|
||||||
<input type="text" id="nbpage" name="nbpage" value="1" onchange="changerNBpage()">
|
<input type="text" id="nbpage" name="nbpage" value="1" onchange="changerNBpage()">
|
||||||
<button onclick="changerNBpage()">Changer la page du livre</button>
|
<button onclick="changerNBpage()">update</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@ -90,10 +90,10 @@
|
|||||||
<h1>HG</h1>
|
<h1>HG</h1>
|
||||||
</button>
|
</button>
|
||||||
<button onclick="changerURL(9782210114012, 'magnard')">
|
<button onclick="changerURL(9782210114012, 'magnard')">
|
||||||
<h1>Anglais (magnard)</h1>
|
<h1>Anglais</h1>
|
||||||
</button>
|
</button>
|
||||||
<button onclick="changerURL(48452499, 'LLS')">
|
<button onclick="changerURL(48452499, 'LLS')">
|
||||||
<h1>ES (lls)</h1>
|
<h1>ES</h1>
|
||||||
</button>
|
</button>
|
||||||
<!-- <button onclick="changerURL(9782017102120, 'hachette')">
|
<!-- <button onclick="changerURL(9782017102120, 'hachette')">
|
||||||
<h1></h1>
|
<h1></h1>
|
||||||
@ -106,16 +106,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="mobile-buttons">
|
<div id="changepagebuttonmobile">
|
||||||
<button id="openWebpageButton1">Open Webpage</button>
|
<button onclick="pageachanger(-2)">←</button>
|
||||||
<button id="openWebpageButton2">Open Webpage</button>
|
<button onclick="pageachanger(2)">→</button>
|
||||||
</div> -->
|
</div>
|
||||||
|
<br><br>
|
||||||
<div>
|
<div>
|
||||||
<a id="a1" href="" target="_blank">1</a>
|
<a id="a1" href="" target="_blank">1</a>
|
||||||
<a id="a2" href="" target="_blank">2</a>
|
<a id="a2" href="" target="_blank">2</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="iframe" style="max-width: 30vh;">
|
<div id="iframe" style="max-width: 30vh;">
|
||||||
<div id="iframe-1">
|
<div id="iframe-1">
|
||||||
<div class="iframe-div-1">
|
<div class="iframe-div-1">
|
||||||
@ -134,7 +135,7 @@
|
|||||||
<img id="myimg2" src="assets/img/404.png">
|
<img id="myimg2" src="assets/img/404.png">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="changepagebutton">
|
<div id="changepagebuttondesktop">
|
||||||
<button onclick="pageachanger(-2)">← Page précédente</button>
|
<button onclick="pageachanger(-2)">← Page précédente</button>
|
||||||
<button onclick="pageachanger(2)">Page suivante →</button>
|
<button onclick="pageachanger(2)">Page suivante →</button>
|
||||||
</div>
|
</div>
|
||||||
|
194
style.css
194
style.css
@ -1,16 +1,17 @@
|
|||||||
:root {
|
@media only screen and (max-width: 1000px) {
|
||||||
/* -webkit-user-select: none; */
|
:root {
|
||||||
|
/* -webkit-user-select: none; */
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
--color-scheme : light;
|
--color-scheme: light;
|
||||||
--ecriture: black;
|
--ecriture: black;
|
||||||
--background: white;
|
--background: white;
|
||||||
--police: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
--police: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
--scalenb : 0.5;
|
--scalenb: 0.5;
|
||||||
--iframe-width : 560px;
|
--iframe-width: 560px;
|
||||||
--iframe-height : 800px;
|
--iframe-height: 800px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -32,7 +33,7 @@
|
|||||||
#iframe {
|
#iframe {
|
||||||
display: flex;
|
display: flex;
|
||||||
/* width:30vh; */
|
/* width:30vh; */
|
||||||
height:76vh;
|
height: 76vh;
|
||||||
transform: scale(var(--scalenb));
|
transform: scale(var(--scalenb));
|
||||||
position: relative;
|
position: relative;
|
||||||
transform-origin: top left;
|
transform-origin: top left;
|
||||||
@ -55,7 +56,7 @@
|
|||||||
.iframe-div-1 {
|
.iframe-div-1 {
|
||||||
/* display: block; */
|
/* display: block; */
|
||||||
/* height: 2043px;
|
/* height: 2043px;
|
||||||
width: 1477px; */
|
width: 1477px; */
|
||||||
height: var(--iframe-height);
|
height: var(--iframe-height);
|
||||||
width: var(--iframe-width);
|
width: var(--iframe-width);
|
||||||
}
|
}
|
||||||
@ -63,16 +64,16 @@
|
|||||||
.iframe-div-2 {
|
.iframe-div-2 {
|
||||||
/* display: block; */
|
/* display: block; */
|
||||||
/* height: 2043px;
|
/* height: 2043px;
|
||||||
width: 1477px; */
|
width: 1477px; */
|
||||||
height: var(--iframe-height);
|
height: var(--iframe-height);
|
||||||
width: var(--iframe-width);
|
width: var(--iframe-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
/* width: 553px;
|
/* width: 553px;
|
||||||
height: 794px; */
|
height: 794px; */
|
||||||
/* width: fit-content;
|
/* width: fit-content;
|
||||||
height: fit-content; */
|
height: fit-content; */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
@ -97,11 +98,164 @@
|
|||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#changepagebutton {
|
input[type="text"] {
|
||||||
position: fixed;
|
padding: 5px;
|
||||||
bottom: 0px;
|
margin-bottom: 10px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.5;
|
||||||
|
width: 130px;
|
||||||
|
border-color: var(--background);
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-right: 20px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
/* padding: 5px; */
|
||||||
|
background-color: #4CAF50;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.5;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #3e8e41;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
button:last-child {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #3391ff;
|
||||||
|
}
|
||||||
|
#changepagebuttondesktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#changepagebuttonmobile {
|
||||||
|
position: absolute;
|
||||||
|
/* bottom: 0px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%);
|
transform: translate(-50%); */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 1001px) {
|
||||||
|
:root {
|
||||||
|
/* -webkit-user-select: none; */
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
--color-scheme: light;
|
||||||
|
--ecriture: black;
|
||||||
|
--background: white;
|
||||||
|
--police: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
|
--scalenb: 0.5;
|
||||||
|
--iframe-width: 560px;
|
||||||
|
--iframe-height: 800px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
/* color-scheme: dark !important; */
|
||||||
|
color-scheme: var(--color-scheme);
|
||||||
|
background: var(--background);
|
||||||
|
color: var(--ecriture);
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-family: var(--police);
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.5;
|
||||||
|
background-color: var(--background);
|
||||||
|
}
|
||||||
|
|
||||||
|
#iframe {
|
||||||
|
display: flex;
|
||||||
|
/* width:30vh; */
|
||||||
|
height: 76vh;
|
||||||
|
transform: scale(var(--scalenb));
|
||||||
|
position: relative;
|
||||||
|
transform-origin: top left;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#iframe-1 {
|
||||||
|
display: flex;
|
||||||
|
/* margin: 5px; */
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#iframe-2 {
|
||||||
|
display: flex;
|
||||||
|
/* margin: 5px; */
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iframe-div-1 {
|
||||||
|
/* display: block; */
|
||||||
|
/* height: 2043px;
|
||||||
|
width: 1477px; */
|
||||||
|
height: var(--iframe-height);
|
||||||
|
width: var(--iframe-width);
|
||||||
|
}
|
||||||
|
|
||||||
|
.iframe-div-2 {
|
||||||
|
/* display: block; */
|
||||||
|
/* height: 2043px;
|
||||||
|
width: 1477px; */
|
||||||
|
height: var(--iframe-height);
|
||||||
|
width: var(--iframe-width);
|
||||||
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
/* width: 553px;
|
||||||
|
height: 794px; */
|
||||||
|
/* width: fit-content;
|
||||||
|
height: fit-content; */
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#img {
|
||||||
|
display: flex;
|
||||||
|
margin: 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
transform: scale(var(--scalenb));
|
||||||
|
position: relative;
|
||||||
|
transform-origin: top left;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
@ -153,3 +307,13 @@
|
|||||||
a {
|
a {
|
||||||
color: #3391ff;
|
color: #3391ff;
|
||||||
}
|
}
|
||||||
|
#changepagebuttondesktop {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%);
|
||||||
|
}
|
||||||
|
#changepagebuttonmobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user