Skip to content

Commit d79b840

Browse files
author
Bearded Avenger
committed
responsive refinements
1 parent 2f7415d commit d79b840

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

public/assets/css/idea-factory.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/less/_layout.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// main layout wrap
22
.idea-factory--wrap {
33
.clearfix();
4+
5+
* {
6+
.box-sizing(border-box);
7+
}
48
}
59

610
// main alyout
@@ -41,6 +45,7 @@
4145
.transition(background .1s ease);
4246
display: inline-block;
4347

48+
&:visited,
4449
&:hover {
4550
color:white;
4651
background:darken(@button--background,5);

public/assets/less/_responsive.less

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
float:none;
3535
display:block;
3636
text-align: center;
37+
margin:0;
3738
}
3839
.idea-factory--submit-left {
3940
margin-bottom:10px;
@@ -52,4 +53,22 @@
5253
top:10px;
5354
float:right;
5455
}
56+
57+
.idea-factory--loadmore {
58+
text-align: center;
59+
}
60+
61+
.idea-factory--button {
62+
text-align: center;
63+
margin-left:auto;
64+
margin-right:auto;
65+
}
66+
}
67+
68+
@media(max-width:400px) {
69+
.idea-factory--button {
70+
width:100%;
71+
margin-left:0;
72+
margin-right:0;
73+
}
5574
}

0 commit comments

Comments
 (0)