Altered slide desc styles
This commit is contained in:
parent
61f9db15ed
commit
d6c2456e56
@ -60,10 +60,10 @@
|
|||||||
<img src="">
|
<img src="">
|
||||||
</div>
|
</div>
|
||||||
<div class="about-desc">
|
<div class="about-desc">
|
||||||
|
<h2>Hi, I'm Nancy</h2><br>
|
||||||
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.
|
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.
|
||||||
<section class="contact">
|
<section class="contact">
|
||||||
<h2 class="topic">Contact Me</h2>
|
<h2 class="topic">Contact Me</h2>
|
||||||
<hr class="line">
|
|
||||||
<!-- Src: https://codepen.io/nikhil8krishnan/pen/gaybLK -->
|
<!-- Src: https://codepen.io/nikhil8krishnan/pen/gaybLK -->
|
||||||
<form action="#" class="contact-form" method="POST">
|
<form action="#" class="contact-form" method="POST">
|
||||||
<div class="form-single-line">
|
<div class="form-single-line">
|
||||||
|
11
buy.html
11
buy.html
@ -51,7 +51,16 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<main>
|
<main>
|
||||||
|
<div id="paypal-button-container"></div>
|
||||||
|
|
||||||
|
<!-- Include the PayPal JavaScript SDK. Replace `YOUR_CLIENT_ID` with your client ID.-->
|
||||||
|
<!-- Note that `enable-funding=venmo` is added as a query parameter -->
|
||||||
|
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID&enable-funding=venmo"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Render the Venmo button into #paypal-button-container
|
||||||
|
paypal.Buttons().render('#paypal-button-container')
|
||||||
|
</script>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<div class="footer-container">
|
<div class="footer-container">
|
||||||
|
@ -23,7 +23,8 @@ body {
|
|||||||
left: 0;
|
left: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
background-color: rgba(235, 235, 235, 0.856);
|
background-color: rgba(229, 229, 229, 0.856);
|
||||||
|
box-shadow: 0 1px 6px 0 rgb(0 0 0 / 20%);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -132,7 +133,7 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.splide__slide {
|
.splide__slide {
|
||||||
padding: 0 10px;
|
padding: 0 10px 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide-content {
|
.slide-content {
|
||||||
@ -143,6 +144,17 @@ header {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.slide-desc {
|
||||||
|
position: relative;
|
||||||
|
font-size: 18px;
|
||||||
|
padding: 5px 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.splide__pagination__page.is-active {
|
||||||
|
background: #2c2c2c !important;
|
||||||
|
}
|
||||||
|
|
||||||
.about-parent {
|
.about-parent {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: auto;
|
width: auto;
|
||||||
@ -161,7 +173,7 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.about-desc {
|
.about-desc {
|
||||||
padding: 20px;
|
padding: 0 20px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
}
|
}
|
||||||
|
@ -59,9 +59,9 @@
|
|||||||
<section class="splide" aria-label="Splide Basic HTML Example">
|
<section class="splide" aria-label="Splide Basic HTML Example">
|
||||||
<div class="splide__track">
|
<div class="splide__track">
|
||||||
<ul class="splide__list">
|
<ul class="splide__list">
|
||||||
<li class="splide__slide"><div class="slide-content"><img class="slide-img" src="img/piece-1.jpg"></div></li>
|
<li class="splide__slide"><div class="slide-content"><img class="slide-img" src="img/piece-1.jpg"><div class="slide-desc">Title</div></div></li>
|
||||||
<li class="splide__slide"><div class="slide-content"><img class="slide-img" src="img/piece-1.jpg"></div></li>
|
<li class="splide__slide"><div class="slide-content"><img class="slide-img" src="img/piece-1.jpg"><div class="slide-desc">Title</div></div></li>
|
||||||
<li class="splide__slide"><div class="slide-content"><img class="slide-img" src="img/piece-1.jpg"></div></li>
|
<li class="splide__slide"><div class="slide-content"><img class="slide-img" src="img/piece-1.jpg"><div class="slide-desc">Title</div></div></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user