place sliders elements

This commit is contained in:
Tykayn 2023-04-27 16:43:02 +02:00 committed by tykayn
parent 8fc263d001
commit 200f7760b5
9 changed files with 69 additions and 25 deletions

View File

@ -28,3 +28,8 @@ main section h2 {
img{ img{
max-width: 100vw; max-width: 100vw;
} }
.credits{
margin-top: 10vh;
}

View File

@ -1,4 +1,8 @@
/**
css JS and html
made by B. Lemoine - cipherbliss.com
04 2023
*/
/******** section 1 *********/ /******** section 1 *********/
#main_title_container { #main_title_container {

View File

@ -40,11 +40,12 @@
} }
#cover .button { #cover .button {
top: 16vh;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
right: 0; right: 0;
top: 33vh;
bottom: 0; bottom: 0;
width: 150px; width: 150px;
height: 150px; height: 150px;

View File

@ -11,7 +11,7 @@
} }
#welcome h2 { #welcome h2 {
font-weight: 600; font-weight: 600;
font-size: 10em; font-size: 8em;
line-height: 90px; line-height: 90px;
text-align: center; text-align: center;
letter-spacing: -0.04em; letter-spacing: -0.04em;

View File

@ -16,7 +16,7 @@
padding-bottom: 310px; padding-bottom: 310px;
color: rgba(248, 243, 241, 0.1); color: rgba(248, 243, 241, 0.1);
height: 50vh; /*height: 72vh;*/
} }
#open .text { #open .text {
@ -27,3 +27,7 @@
#open img{ #open img{
max-width: 90vw; max-width: 90vw;
} }
#open-handle{
float:left;
height: 20vh;
}

View File

@ -59,7 +59,6 @@
#content_first { #content_first {
opacity: 0; opacity: 0;
width: 90vw;
height: 35px; height: 35px;
margin-bottom: 40px; margin-bottom: 40px;
font-style: normal; font-style: normal;
@ -74,6 +73,7 @@
flex: none; flex: none;
order: 0; order: 0;
flex-grow: 0; flex-grow: 0;
margin-top: 20vh;
} }
#content_second { #content_second {

View File

@ -1,4 +1,3 @@
/******** phone base *********/ /******** phone base *********/
#popover { #popover {
@ -17,29 +16,31 @@
/* identical to box height, or 66px */ /* identical to box height, or 66px */
letter-spacing: -0.04em; letter-spacing: -0.04em;
} }
.text-grey{
.text-grey {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 26px; line-height: 26px;
} }
.slider-screen .text{ .slider-screen .text {
position: relative; position: relative;
left: 55vw; left: 55vw;
top: -30%; top: -30%;
width: 400px; width: 400px;
text-align:left; text-align: left;
} }
.slider-screen .text-title .slider-screen .text-title {
{ margin-bottom: 2rem;
margin-bottom:2rem;
} }
.phone-container{
.phone-container {
border-radius: 1rem; border-radius: 1rem;
width: 411px; width: 411px;
} }
.phone-container .top{
.phone-container .top {
height: 60px; height: 60px;
background: url('/img/phone_rectangle_top.jpg') no-repeat center; background: url('/img/phone_rectangle_top.jpg') no-repeat center;
@ -47,7 +48,7 @@
border-top-left-radius: 1rem; border-top-left-radius: 1rem;
} }
.phone-container .bottom{ .phone-container .bottom {
height: 62px; height: 62px;
background: url('/img/phone_rectangle_bottom.jpg') no-repeat center; background: url('/img/phone_rectangle_bottom.jpg') no-repeat center;
top: 676.5px; top: 676.5px;
@ -56,7 +57,7 @@
border-bottom-left-radius: 2rem; border-bottom-left-radius: 2rem;
} }
.phone-container.transparent{ .phone-container.transparent {
background: rgba(248, 243, 241, 0.1); background: rgba(248, 243, 241, 0.1);
border-radius: 70px; border-radius: 70px;
width: 350px; width: 350px;
@ -81,20 +82,38 @@
float: right; float: right;
} }
.arrow-left, .arrow-right {
padding: 1.5rem;
border: solid 2px #1E33DA;
background: linear-gradient(310.41deg, rgba(255, 255, 255, 0.3) 10.9%, rgba(255, 255, 255, 0) 81.35%);
backdrop-filter: blur(5px);
/* Note: backdrop-filter has minimal browser support */
border-radius: 70px;
transform: matrix(-1, 0, 0, 1, 0, 0);
cursor: pointer;
}
.arrow-right { .arrow-right {
position: relative; position: relative;
right: 40px;
top: 50vh; top: 50vh;
float: right; float: right;
transform: rotate(0deg);
} }
.arrow-left { .arrow-left {
position: relative; position: relative;
left: 40px; left: 40px;
top: 50vh; top: 50vh;
float: left; float: left;
} }
.bullets{
.bullets {
position: relative; position: relative;
left: 0; left: 0;
top: 30vh; top: 30vh;
} }
.bullets img {
cursor: pointer;
}

3
img/arrow.svg Normal file
View File

@ -0,0 +1,3 @@
<svg width="24" height="20" viewBox="0 0 24 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14 0L12.57 1.393L20.15 9H0V11H20.15L12.57 18.573L14 20L24 10L14 0Z" fill="#1E33DA"/>
</svg>

After

Width:  |  Height:  |  Size: 198 B

View File

@ -193,14 +193,13 @@
<!-- other section--> <!-- other section-->
<section id="popover" class="slider-screen"> <section id="popover" class="slider-screen">
<div class="close-button"> <div class="close-button">
<img src="/img/cross_pink.png" alt="fermer"> <img src="/img/cross_blue.png" alt="fermer">
</div> </div>
<div class="arrow-left"> <div class="arrow-left">
<img src="/img/arrow_left.png" alt="précédent"> <img src="/img/arrow.svg" alt="précédent">
</div> </div>
<div class="arrow-right"> <div class="arrow-right">
<img src="/img/arrow_right.png" alt="suivant"> <img src="/img/arrow.svg" alt="suivant">
</div> </div>
<div class="phone-container"> <div class="phone-container">
<div class="top"> <div class="top">
@ -230,8 +229,17 @@
</div> </div>
</section> </section>
<!--grey bg-->
<section id="portfolio" class="slider-screen"> <section id="portfolio" class="slider-screen">
<div class="close-button">
<img src="/img/cross_blue.png" alt="fermer">
</div>
<div class="arrow-left">
<img src="/img/arrow.svg" alt="précédent">
</div>
<div class="arrow-right">
<img src="/img/arrow.svg" alt="suivant">
</div>
<div class="phone-container"> <div class="phone-container">
<div class="top"> <div class="top">
</div> </div>