Passage du site en v333 #3
+22
@@ -154,6 +154,27 @@
|
|||||||
<video id="texture" autoplay muted loop src="./assets/video/open.webm" class="openBackground"></video>
|
<video id="texture" autoplay muted loop src="./assets/video/open.webm" class="openBackground"></video>
|
||||||
<video id="background" autoplay muted loop src="./assets/video/background.webm" class="openBackground"></video>
|
<video id="background" autoplay muted loop src="./assets/video/background.webm" class="openBackground"></video>
|
||||||
<h3>Événements <small>à venir</small></h3>
|
<h3>Événements <small>à venir</small></h3>
|
||||||
|
<ul id="eventContent" class="borderBox">
|
||||||
|
<li>
|
||||||
|
<button type="button" name="more" class="iconBtnStyle">
|
||||||
|
<svg viewBox="0 0 53.73 53.59" class="icon">
|
||||||
|
<path d="M26.87,40.16l-13.43,13.43L0,40.16l13.43-13.43L.29,13.43,13.72,0l13.15,13.29L40.01.14l13.43,13.43-13,13.15,13.29,13.29-13.43,13.43-13.43-13.29Z"/>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<details closed name="event">
|
||||||
|
<summary>
|
||||||
|
<div class="title">
|
||||||
|
<h4>Test évènement</h4>
|
||||||
|
<p class="date">13/12</p>
|
||||||
|
</div>
|
||||||
|
<p class="resume">Résumé de l'évènement </p>
|
||||||
|
</summary>
|
||||||
|
<p class="description">
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
<!--
|
<!--
|
||||||
<article class="event affiche-perm affiche" property="event" typeof="Event">
|
<article class="event affiche-perm affiche" property="event" typeof="Event">
|
||||||
<h1 property="name">Permanence du LOL</h1>
|
<h1 property="name">Permanence du LOL</h1>
|
||||||
@@ -442,5 +463,6 @@
|
|||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
<script type="text/javascript" src="js/index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+5
-1
@@ -15,4 +15,8 @@ async function importOuverture(){
|
|||||||
statusBox.textContent = textStatus;
|
statusBox.textContent = textStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
importOuverture()
|
importOuverture()
|
||||||
|
|
||||||
|
for( let btn of document.querySelectorAll("#eventContent & li & .iconBtnStyle")){
|
||||||
|
btn.style.visibility = 'visible';
|
||||||
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" data-theme="open">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
@@ -17,4 +17,4 @@
|
|||||||
<p id="statusText">Ouvert !</p>
|
<p id="statusText">Ouvert !</p>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -24,6 +24,33 @@
|
|||||||
background-color: var(--main-color);
|
background-color: var(--main-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.iconBtnStyle{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-around;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
border-radius: 16.1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: thin;
|
||||||
|
|
||||||
|
border-color: var(--main-color);
|
||||||
|
color: var(--main-color);
|
||||||
|
background-color: var(--back-color);
|
||||||
|
}
|
||||||
|
.icon{
|
||||||
|
height: 16.1px;
|
||||||
|
width: auto;
|
||||||
|
fill: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconBtnStyle:hover{
|
||||||
|
color: var(--back-color);
|
||||||
|
background-color: var(--main-color);
|
||||||
|
border-color: var(--back-color);
|
||||||
|
}
|
||||||
|
|
||||||
.solidBox{
|
.solidBox{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -61,3 +88,22 @@
|
|||||||
font-size: 16.1px;
|
font-size: 16.1px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.borderBox{
|
||||||
|
width: 95%;
|
||||||
|
height: 95%;
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
|
|
||||||
|
border-radius: 0;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: medium;
|
||||||
|
padding: 7.77px;
|
||||||
|
padding-right: 13.12px;
|
||||||
|
|
||||||
|
border-color: var(--main-color);
|
||||||
|
color: var(--back-color);
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|||||||
+162
-1
@@ -307,6 +307,8 @@ main{
|
|||||||
#extraContent{
|
#extraContent{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height:auto;
|
height:auto;
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
@@ -322,9 +324,168 @@ main{
|
|||||||
#eventSection{
|
#eventSection{
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
height: 50vh;
|
height: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 0;
|
||||||
|
padding-bottom: 16.1px;
|
||||||
|
|
||||||
|
#eventContent{
|
||||||
|
width: 100%;
|
||||||
|
max-height: 77vh;
|
||||||
|
margin-top: 7.77px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
align-items: flex-start;
|
||||||
|
justify-content: flex-start;
|
||||||
|
gap: 13.12px;
|
||||||
|
|
||||||
|
li{
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
position: relative;
|
||||||
|
z-index: 33;
|
||||||
|
|
||||||
|
.iconBtnStyle{
|
||||||
|
visibility: hidden;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 34;
|
||||||
|
width: 33px;
|
||||||
|
height: 33px;
|
||||||
|
right: 7.77px;
|
||||||
|
top: 33px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
details{
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
|
pointer-events: all;
|
||||||
|
width: 95%;
|
||||||
|
height: 99px;
|
||||||
|
border-radius: 33px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: thin;
|
||||||
|
border-color: var(--main-color);
|
||||||
|
background-color: var(--back-color);
|
||||||
|
color: var(--main-color);
|
||||||
|
|
||||||
|
summary {
|
||||||
|
padding-left: 33px;
|
||||||
|
padding-top: 7.77px;
|
||||||
|
height:50px;
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
|
|
||||||
|
|
||||||
|
.title{
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
width: 77%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 16.1px;
|
||||||
|
padding-top: 3.33px;
|
||||||
|
padding-left: 33px;
|
||||||
|
margin-bottom: 13.12px;
|
||||||
|
|
||||||
|
font-family: 'velvelyne';
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16.1px;
|
||||||
|
|
||||||
|
p{
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4{
|
||||||
|
margin: 0;
|
||||||
|
font-family: 'velvelyne';
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16.1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.resume{
|
||||||
|
font-family: 'velvelyne';
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 13.12px;
|
||||||
|
text-transform: none;
|
||||||
|
padding-left: 33px;
|
||||||
|
width: 90%;
|
||||||
|
height: 33px;
|
||||||
|
|
||||||
|
border-radius: 16.1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: thin;
|
||||||
|
border-color: var(--main-color);
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
::marker{
|
||||||
|
color: var(--back-color);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.description{
|
||||||
|
margin-left: 44px;
|
||||||
|
margin-bottom: 33px;
|
||||||
|
height: auto;
|
||||||
|
width: 95%;
|
||||||
|
overflow-y: scroll;
|
||||||
|
background-color: var(--back-color);
|
||||||
|
border-radius: 16.1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: thin;
|
||||||
|
border-color: var(--main-color);
|
||||||
|
|
||||||
|
margin-top: 44px;
|
||||||
|
padding: 13.12px;
|
||||||
|
padding-right: 33px;
|
||||||
|
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
|
||||||
|
font-size: 13.12px;
|
||||||
|
font-family: 'velvelyne';
|
||||||
|
font-weight: bold;
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
details:hover{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
details[open]{
|
||||||
|
height: auto;
|
||||||
|
border-color: var(--back-color);
|
||||||
|
color: var(--back-color);
|
||||||
|
background-color: var(--main-color);
|
||||||
|
|
||||||
|
summary .resume{
|
||||||
|
border-color: var(--back-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
::marker{
|
||||||
|
color: var(--main-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.description{
|
||||||
|
color: var(--main-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user