reordered scss delarations to make code readable

This commit is contained in:
jorge 2021-11-19 16:57:36 +01:00
parent acfb3316a0
commit 0ec94a15e1
2 changed files with 65 additions and 85 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,47 +1,4 @@
.hero{ // search elements
.search{
// @include xy-grid();
.input-group {
@include breakpoint(small){
// @include xy-cell (12);
// margin-left: auto;
// margin-right: auto;
}
@include breakpoint(medium){
// @include xy-cell (6);
// margin-left: auto;
// margin-right: auto;
}
@include breakpoint(large){
// @include xy-cell (4);
// margin-left: auto;
// margin-right: auto;
}
}
}
} //end .hero
article,.omekas-entry-content {
.search{
@include xy-grid();
.input-group {
@include breakpoint(small){
@include xy-cell (12);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(medium){
@include xy-cell (6);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(large){
@include xy-cell (4);
margin-left: auto;
margin-right: auto;
}
}
}
}
.search{ .search{
.input-group { .input-group {
position: relative; position: relative;
@ -107,3 +64,26 @@ article,.omekas-entry-content {
} }
} }
} }
//search block size in content
article,.omekas-entry-content {
.search{
@include xy-grid();
.input-group {
@include breakpoint(small){
@include xy-cell (12);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(medium){
@include xy-cell (6);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(large){
@include xy-cell (4);
margin-left: auto;
margin-right: auto;
}
}
}
}