Modifs taille écran : OK
這個提交存在於:
父節點
2387872168
當前提交
a05c31e770
共有 2 個檔案被更改,包括 27 行新增 和 14 行删除
|
@ -16,15 +16,16 @@ body {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex: 1;
|
height:15vh;
|
||||||
z-index:0;
|
z-index:0;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 4vw;
|
font-size: min(4vw,7vh);
|
||||||
margin-bottom:0.5vw;
|
margin-bottom:0.5vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
header a {
|
header a {
|
||||||
|
font-size: min(1vw,1.7vh);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #494949;
|
color: #494949;
|
||||||
}
|
}
|
||||||
|
@ -35,7 +36,7 @@ body {
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 4;
|
height:65vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
|
@ -48,7 +49,7 @@ body {
|
||||||
#text {
|
#text {
|
||||||
margin-top:4vh;
|
margin-top:4vh;
|
||||||
font-family: 'Special Elite', cursive;
|
font-family: 'Special Elite', cursive;
|
||||||
font-size: 1.8vw;
|
font-size: min(1.8vw,3.6vh);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: white;
|
||||||
cursor:default;
|
cursor:default;
|
||||||
|
@ -90,7 +91,7 @@ body {
|
||||||
color:#086CA5;
|
color:#086CA5;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.8vw;
|
font-size: min(1.8vw,3.6vh);
|
||||||
font-family: 'Special Elite', cursive;
|
font-family: 'Special Elite', cursive;
|
||||||
background:black;
|
background:black;
|
||||||
border:none;
|
border:none;
|
||||||
|
@ -99,9 +100,9 @@ body {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
background-image: url("../Images/Arrow.png");
|
background-image: url("../Images/Arrow.png");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size:1vw;
|
background-size:min(1vw,1.7vh);
|
||||||
background-position-x: 0vw;
|
background-position-x: 0vw;
|
||||||
background-position-y: 1vh;
|
background-position-y: min(0.4 vw,1vh);
|
||||||
padding-left:1.2vw;
|
padding-left:1.2vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,14 +155,16 @@ body {
|
||||||
outline: none;
|
outline: none;
|
||||||
border:0.2vw solid #b9b9b9;
|
border:0.2vw solid #b9b9b9;
|
||||||
border-radius: 4vw;
|
border-radius: 4vw;
|
||||||
min-width: 15vw;
|
width:20vw;
|
||||||
width :20vw;
|
|
||||||
padding: 1vw 1.2vw 1vw 1.2vw;
|
padding: 1vw 1.2vw 1vw 1.2vw;
|
||||||
color: black;
|
color: black;
|
||||||
font-family: 'Special Elite', cursive;
|
font-family: 'Special Elite', cursive;
|
||||||
font-size: 1.5vw;
|
font-size: 1.5vw;
|
||||||
background-image: linear-gradient(to top, black -50%, #BF0909 80%);
|
background-image: linear-gradient(to top, black -50%, #BF0909 80%);
|
||||||
cursor : pointer;
|
cursor : pointer;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:hover {
|
.button:hover {
|
||||||
|
@ -173,8 +176,18 @@ body {
|
||||||
background-image: linear-gradient(to top, #BF0909 20%, black 150%);
|
background-image: linear-gradient(to top, #BF0909 20%, black 150%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#link{
|
||||||
|
text-decoration:none;
|
||||||
|
padding:0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#link:hover{
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
|
||||||
footer{
|
footer{
|
||||||
flex:0.5;
|
height:15vh;
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content:flex-end;
|
justify-content:flex-end;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<article id="text">
|
<article id="text">
|
||||||
<p class="phrase" id="p1">Il est 21h30. Nous sommes en décembre.</p>
|
<p class="phrase" id="p1">Il est 21h30. Nous sommes en décembre.</p>
|
||||||
<p class="phrase">La nuit est tombée depuis bien longtemps.</p>
|
<p class="phrase">La nuit est tombée depuis bien longtemps.</p>
|
||||||
<p class="phrase">La Lune éclaire la pelouse du R1 alors que vous sortez tout juste de votre réunion du Pôle Huma.</p>
|
<p class="phrase">La Lune éclaire la pelouse du R1 alors que vous <br/> sortez tout juste de votre réunion du Pôle Huma.</p>
|
||||||
<p class="phrase" id="select" >Vous ressentez l'envie d'un petit <br/>
|
<p class="phrase" id="select" >Vous ressentez l'envie d'un petit <br/>
|
||||||
<select id="boisson">
|
<select id="boisson">
|
||||||
<option selected>...</option>
|
<option selected>...</option>
|
||||||
|
@ -38,16 +38,16 @@
|
||||||
pour réviser la Thermo.</p>
|
pour réviser la Thermo.</p>
|
||||||
<p class="phrase">Votre écocup rempli de <span class="mot" id="selectedDrink"></span>,</p>
|
<p class="phrase">Votre écocup rempli de <span class="mot" id="selectedDrink"></span>,</p>
|
||||||
<p class="phrase">vous apercevez un étudiant qui se dirige tout droit
|
<p class="phrase">vous apercevez un étudiant qui se dirige tout droit
|
||||||
<p class="phrase">vers le sous sol !</p>
|
<p class="phrase">vers le sous-sol !</p>
|
||||||
<p class="phrase">Bizarre à cette heure...</p>
|
<p class="phrase">Bizarre à cette heure...</p>
|
||||||
<div id="arrowBlock">
|
<div id="arrowBlock">
|
||||||
<p id="space">Press space</p>
|
<p id="space">Press enter</p>
|
||||||
<img id="arrow" src="../Images/Lecture.png" alt="Texte suivant"/>
|
<img id="arrow" src="../Images/Lecture.png" alt="Texte suivant"/>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<div id="buttons">
|
<div id="buttons">
|
||||||
<button id="safeButton" class="button">Aller dormir, ça fait trop peur</button>
|
<button id="safeButton" class="button">Aller dormir, ça fait trop peur</button>
|
||||||
<button id="riskyButton" class="button">Le suivre</button>
|
<a id="link" class="button" href="./discretion.html">Le suivre</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
載入中…
新增問題並參考