changement style

ServeurDeTest
nathan boileau 3 years ago
parent 8902da9c70
commit f38686c734

@ -72,9 +72,8 @@ body{
.enigme{ .enigme{
width: 25%; width: 25%;
height: 100%; height: fit-content;
color: aliceblue; color: aliceblue;
margin-left: 20px;
background: rgba(0,0,0,0.6); background: rgba(0,0,0,0.6);
box-sizing: border-box; box-sizing: border-box;
border-radius: 10px; border-radius: 10px;
@ -85,6 +84,10 @@ body{
.titre_pre{ .titre_pre{
display: flex; display: flex;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 20px;
padding-left: 10px;
} }
.sign{ .sign{
@ -230,14 +233,13 @@ body{
} }
.enigme .sign{ .enigme .sign{
margin-top: 10px; display: contents;
margin-right: 10px;
margin-bottom: 20px;
} }
.enigme h2{ .enigme h2{
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
} }
.enigme p{ .enigme p{
@ -303,6 +305,7 @@ body{
height: 100%; height: 100%;
} }
/* Modal Container Buttons */ /* Modal Container Buttons */
.modal .buttons{ .modal .buttons{

@ -58,6 +58,7 @@ editor.setOptions({
function exec(code, id) { function exec(code, id) {
const terminal = document.getElementById("console"); const terminal = document.getElementById("console");
terminal.innerHTML = '';
const runner = new BrythonRunner({ const runner = new BrythonRunner({
stdout: { stdout: {
write(content) { write(content) {

@ -23,12 +23,13 @@
<div class="sign"> <div class="sign">
<h1> <h1>
<span class="fast-flicker">c</span> <span class="fast-flicker">c</span>
<span>huckn</span> <span>h</span>
<span class="flicker">o</span> <span class="flicker">u</span>
<span>rris</span> <span>ck</span>
</h1> </h1>
</div><br> </div><br>
</div> </div>
<div>
<h2>Consigne</h2><br> <h2>Consigne</h2><br>
<p class="enonce"> <p class="enonce">
Coder un fonction binaire2unaire qui prend en argument un nombre binaire et le code via le codage Chucknorris. Coder un fonction binaire2unaire qui prend en argument un nombre binaire et le code via le codage Chucknorris.
@ -44,6 +45,7 @@
<h2>Aide</h2><br> <h2>Aide</h2><br>
<p>?</p> <p>?</p>
</div> </div>
</div>
<div class='ace' id='editor'>def binaire2unitaire(x): <div class='ace' id='editor'>def binaire2unitaire(x):
rep=0 rep=0
pre=x[0] pre=x[0]

Loading…
Cancel
Save