mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-29 02:55: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; }
|
||||
|
||||
.modal dialog {
|
||||
width: 50%; }
|
||||
.modal dialog:not(:only-child) {
|
||||
float: left;
|
||||
margin-right: 12px;
|
||||
width: 49%; }
|
||||
.modal dialog:last-child {
|
||||
margin-right: auto; }
|
||||
.modal dialog:only-child {
|
||||
float: none; }
|
||||
display: block;
|
||||
margin-right: 2.53165%;
|
||||
width: 48.73418%; }
|
||||
.modal dialog:not(:only-child):last-child {
|
||||
margin-right: 0; }
|
||||
|
||||
.extension-file section:first-child {
|
||||
/* Add a border equal to the number of featured extensions - 1 */
|
||||
|
|
|
@ -63,17 +63,13 @@ body {
|
|||
|
||||
|
||||
.modal dialog {
|
||||
float: left;
|
||||
margin-right: $gutter;
|
||||
width: 49%;
|
||||
|
||||
&:last-child {
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
|
||||
&:not(:only-child) {
|
||||
@include span-columns(3 of 6);
|
||||
}
|
||||
|
||||
&:only-child {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue