Altered slide desc styles

This commit is contained in:
James Dinh 2023-01-04 23:14:20 -08:00
parent 61f9db15ed
commit d6c2456e56
4 changed files with 29 additions and 8 deletions

View File

@ -60,10 +60,10 @@
<img src="">
</div>
<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.
<section class="contact">
<h2 class="topic">Contact Me</h2>
<hr class="line">
<!-- Src: https://codepen.io/nikhil8krishnan/pen/gaybLK -->
<form action="#" class="contact-form" method="POST">
<div class="form-single-line">

View File

@ -51,7 +51,16 @@
</nav>
</div>
<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>
<footer>
<div class="footer-container">

View File

@ -23,7 +23,8 @@ body {
left: 0;
position: fixed;
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;
}
@ -132,7 +133,7 @@ header {
}
.splide__slide {
padding: 0 10px;
padding: 0 10px 30px;
}
.slide-content {
@ -143,6 +144,17 @@ header {
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 {
display: flex;
width: auto;
@ -161,7 +173,7 @@ header {
}
.about-desc {
padding: 20px;
padding: 0 20px;
font-size: 20px;
width: 500px;
}

View File

@ -59,9 +59,9 @@
<section class="splide" aria-label="Splide Basic HTML Example">
<div class="splide__track">
<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></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 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 class="slide-desc">Title</div></div></li>
</ul>
</div>
</section>