Skip to content

Commit ef32a0c

Browse files
committed
Improve bootstrap responsive classes in Plans section
1 parent 644bfe5 commit ef32a0c

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

accounts/templates/index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@ <h4 class="text-center">
109109
<div class="col-12 text-center">
110110
<br>
111111
<br>
112-
<img src="{% static 'images/Partner-Logos.png' %}" id="customer-logos" alt="Customer Logos">
112+
<img src="{% static 'images/Partner-Logos.png' %}" id="customer-logos" class="d-none d-sm-inline-block"
113+
alt="Customer Logos">
114+
<img src="{% static 'images/Partner-Logos-mobile.png' %}" id="customer-logos-mobile"
115+
class="d-inline-block d-sm-none" alt="Customer Logos Mobile">
116+
<img src="{% static 'images/Partner-Logos-mobile-2.png' %}" id="customer-logos-mobile-2"
117+
class="d-inline-block d-sm-none" alt="Customer Logos Mobile 2">
113118
</div>
114119
</div>
115120
</div>
@@ -123,7 +128,7 @@ <h4 class="text-center">
123128
<h4>Plans</h4>
124129
<br>
125130
</div>
126-
<div class="col-12 col-md-6">
131+
<div class="col-12 col-md-6 col-lg-4 offset-lg-2">
127132
<!-- <div class="text-center justify-content-center"> -->
128133
<div class="card border-primary plan-card text-center">
129134
<div class="card-header plan-card-header">Get Started
@@ -155,7 +160,7 @@ <h5 class="card-title">FREE</h5>
155160
</div>
156161
</div>
157162
</div>
158-
<div class="col-12 col-md-6">
163+
<div class="col-12 col-md-6 col-lg-4">
159164
<div class="card border-primary plan-card text-center">
160165
<div class="card-header plan-card-header">
161166
<span class="material-icons align-top">stars</span>

static/css/style.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ html {
2929
margin: auto;
3030
}
3131

32+
#login-nav-text {
33+
font-size: 1rem;
34+
}
35+
3236
/* Default body font size */
3337
body {
3438
font-size: 15px;
@@ -121,10 +125,6 @@ h4 {
121125
font-size: 15px;
122126
}
123127

124-
/* Index page Plans cards */
125-
.card-deck .card {
126-
}
127-
128128
#customer-logos {
129129
width: 76%;
130130
}
@@ -309,6 +309,10 @@ footer {
309309
background-color: #f1f1f1 !important;
310310
}
311311

312+
.bg-light-blue {
313+
background-color: lightblue !important;
314+
}
315+
312316
/* Kanban headers */
313317
.jumbotron h5 {
314318
padding: 8px;
@@ -353,8 +357,13 @@ footer {
353357
padding: 0.5rem 1px;
354358
}
355359
/* customer logos */
356-
#customer-logos {
357-
width: 100%;
360+
#customer-logos,
361+
#customer-logos-mobile {
362+
width: 98%;
363+
}
364+
#customer-logos-mobile-2 {
365+
margin-top: 34px;
366+
width: 65%;
358367
}
359368
}
360369

0 commit comments

Comments
 (0)