mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2025-02-26 23:33:53 -05:00
Be unnecessarily clever
This commit is contained in:
parent
15a0756608
commit
e7ea7f8e3e
2 changed files with 12 additions and 15 deletions
|
@ -1029,13 +1029,14 @@ body #home {
|
||||||
display: block; }
|
display: block; }
|
||||||
|
|
||||||
.modal dialog {
|
.modal dialog {
|
||||||
float: left;
|
width: 50%; }
|
||||||
margin-right: 12px;
|
.modal dialog:not(:only-child) {
|
||||||
width: 49%; }
|
float: left;
|
||||||
.modal dialog:last-child {
|
display: block;
|
||||||
margin-right: auto; }
|
margin-right: 2.53165%;
|
||||||
.modal dialog:only-child {
|
width: 48.73418%; }
|
||||||
float: none; }
|
.modal dialog:not(:only-child):last-child {
|
||||||
|
margin-right: 0; }
|
||||||
|
|
||||||
.extension-file section:first-child {
|
.extension-file section:first-child {
|
||||||
/* Add a border equal to the number of featured extensions - 1 */
|
/* Add a border equal to the number of featured extensions - 1 */
|
||||||
|
|
|
@ -63,17 +63,13 @@ body {
|
||||||
|
|
||||||
|
|
||||||
.modal dialog {
|
.modal dialog {
|
||||||
float: left;
|
|
||||||
margin-right: $gutter;
|
|
||||||
width: 49%;
|
|
||||||
|
|
||||||
&:last-child {
|
width: 50%;
|
||||||
margin-right: auto;
|
|
||||||
|
&:not(:only-child) {
|
||||||
|
@include span-columns(3 of 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:only-child {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue