Skip to content

Commit 28fb37d

Browse files
authored
Make home page responsive and fix element overlap issues (#136)
1 parent b9814b2 commit 28fb37d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

css/index.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ header .cta-section {
253253

254254
.news-box {
255255
/* width: 450px; */
256-
max-height: 150px;
257256
display: flex;
258257
background: var(--bc-gray-light);
259258
margin-right: 20px;
@@ -280,6 +279,7 @@ header .cta-section {
280279
.news-box-content {
281280
padding: 5px 15px;
282281
background-color: rgba(0, 0, 0, 0.05);
282+
height: auto;
283283
}
284284

285285
.news-box-cta {
@@ -428,7 +428,13 @@ header .subpage-description {
428428
.cta-section button{
429429
margin-top: 10px;
430430
}
431-
431+
.page-wrapper {
432+
margin-top: 5px;
433+
}
434+
435+
.landing-description p {
436+
font-size: 16px;
437+
}
432438
.subpage-title-back {
433439
flex-direction: column;
434440
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,6 @@ <h6>Social</h6>
324324
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
325325
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
326326
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
327-
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script>
327+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script>
328328
<script src="./js/script.js"></script>
329329
</html>

0 commit comments

Comments
 (0)