Skip to content

Commit fa0177d

Browse files
feat: Make the website Responsive
1 parent 58996b6 commit fa0177d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

static/css/square-buttons.css

+6-7
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,22 @@
2323
/* Style for Medium Screen */
2424
@media (max-width:767px) {
2525
.btn-sq-responsive {
26-
width: 100px !important; /* whatever width you want for medium screen */
26+
width: 250px !important; /* whatever width you want for medium screen */
2727
max-width: 100% !important;
2828
max-height: 100% !important;
29-
height: 100px !important; /* whatever height you want for medium screen */
30-
font-size:12px;
29+
height: 250px !important; /* whatever height you want for medium screen */
30+
font-size:21px;
3131
}
3232
}
3333

3434
/* Style for Small Screen */
3535
@media (max-width:575px) {
3636
.btn-sq-responsive {
37-
width: 50px !important; /* whatever width you want for mobile screen */
37+
width: 250px !important; /* whatever width you want for mobile screen */
3838
max-width: 100% !important;
3939
max-height: 100% !important;
40-
height: 50px !important; /* whatever height you want for mobile screen */
41-
font-size:5px;
40+
height: 250px !important; /* whatever height you want for mobile screen */
4241
padding: 0px;
43-
font-size:7px;
42+
font-size:21px;
4443
}
4544
}

templates/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</div>
2121
<input value="" type="hidden" id="imageFormatInput" name="operation">
2222
<h2>Convert Image to:</h2>
23-
<div id="features" class="row my-5">
23+
<div id="features" class="row my-5 text-center">
2424
{% for value in values %}
2525
<div class="col-md-3">
2626
<button onclick="selectMe(this)" data-convert="{{value[0]}}"

0 commit comments

Comments
 (0)