Skip to content

Commit 3866423

Browse files
committed
style fixes
1 parent c29d8ee commit 3866423

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎static/IndexHome/assets/css/style.css‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,8 @@ section {
578578
--------------------------------------------------------------*/
579579
.values .box {
580580
padding: 30px;
581+
background-color: #fff;
582+
border-radius: 20px;
581583
box-shadow: 0px 0 5px rgba(1, 41, 112, 0.08);
582584
text-align: center;
583585
transition: 0.3s;
@@ -1304,6 +1306,7 @@ section {
13041306
box-sizing: content-box;
13051307
padding: 30px;
13061308
margin: 40px 30px;
1309+
border-radius: 20px;
13071310
box-shadow: 0px 0 20px rgba(1, 41, 112, 0.1);
13081311
background: #fff;
13091312
min-height: 220px;

‎templates/IndexHome/index.html‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ <h2 data-aos="fade-up" data-aos-delay="400">
3131
</div>
3232
</div>
3333
</section>
34-
34+
<style>
35+
#main{
36+
background-image: url("{% static 'IndexHome/assets/img/banner-bg.png' %}");
37+
background-repeat: no-repeat;
38+
background-attachment: fixed;
39+
background-size: cover;
40+
}
41+
</style>
3542
<main id="main">
3643
<section id="about" class="about">
3744
<div class="container" data-aos="fade-up">

‎templates/blog/base.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<li><a class="nav-link scrollto" href="{% url 'projects:index' %}">Projects</a></li>
4747
<li><a class="nav-link scrollto" href="{% url 'IndexHome:playground' %}">Playground</a></li>
4848
<li><a class="nav-link scrollto active" href="{% url 'blog:index' %}">Blog</a></li>
49-
<li><a class="nav-link scrollto" href="#contact">Contact</a></li>
49+
<li><a class="nav-link scrollto" href="{% url 'IndexHome:index' %}#contact">Contact</a></li>
5050
{% if user.is_authenticated and user.is_active %}
5151
<li><a href="{% url 'IndexHome:logout' %}" role="button" class="getstarted scrollto" style="background: rgb(212, 77, 77)">Logout</a></li>
5252
<li><a class="getstarted scrollto" role="button">{{ user.username }}</a></li>

0 commit comments

Comments
 (0)