Skip to content

Commit

Permalink
Pequeños retoques
Browse files Browse the repository at this point in the history
  • Loading branch information
picodotdev committed Oct 25, 2024
1 parent 23293b4 commit 6e7dccb
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 12 deletions.
31 changes: 25 additions & 6 deletions themes/bitix/static/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -481,15 +481,16 @@ div.adblock-container-sidebar {
position: -webkit-sticky;
top: 15px;
height: 0px;
display: none;
display: flex;
justify-content: space-between;
overflow: visible;
}
div.adblock-container-sidebar-left {
max-height: 600px;
max-width: 300px;
min-height: 600px;
min-width: 300px;
display: block;
display: none;
text-align: right;
overflow: hidden;
}
Expand All @@ -498,7 +499,7 @@ div.adblock-container-sidebar-right {
max-width: 300px;
min-height: 600px;
min-width: 300px;
display: block;
display: none;
text-align: left;
overflow: hidden;
}
Expand Down Expand Up @@ -573,10 +574,25 @@ i.archive-icon {
min-width: 970px;
}
}
@media (min-width: 1366px) {
div.adblock-container-sidebar {
@media (min-width: 1280px) {
div.adblock-container-sidebar-left {
display: flex;
transform: translateX(-195px);
max-width: 160px;
min-width: 160px;
}
div.adblock-container-sidebar-right {
display: flex;
justify-content: space-between;
transform: translateX(195px);
max-width: 160px;
min-width: 160px;
}
}
@media (min-width: 1366px) {
div.adblock-container-sidebar-left {
transform: translateX(-285px);
max-width: 250px;
min-width: 250px;
}
div.adblock-container-sidebar-right {
transform: translateX(285px);
Expand All @@ -585,6 +601,9 @@ i.archive-icon {
}
}
@media (min-width: 1440px) {
div.adblock-container-sidebar-left {
transform: translateX(-335px);
}
div.adblock-container-sidebar-right {
transform: translateX(335px);
max-width: 300px;
Expand Down
36 changes: 30 additions & 6 deletions themes/bitix/static/assets/css/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,8 @@ div.adblock-container-sidebar {
position: -webkit-sticky;
top: 15px;
height: 0px;
display: none;
display: flex;
justify-content: space-between;
overflow: visible;
}

Expand All @@ -528,7 +529,7 @@ div.adblock-container-sidebar-left {
max-width: 300px;
min-height: 600px;
min-width: 300px;
display: block;
display: none;
text-align: right;
overflow: hidden;
}
Expand All @@ -538,7 +539,7 @@ div.adblock-container-sidebar-right {
max-width: 300px;
min-height: 600px;
min-width: 300px;
display: block;
display: none;
text-align: left;
overflow: hidden;
}
Expand Down Expand Up @@ -626,10 +627,29 @@ i.archive-icon {
}
}

@media(min-width: 1366px) {
div.adblock-container-sidebar {
@media(min-width: 1280px) {
div.adblock-container-sidebar-left {
display: flex;
justify-content: space-between;

transform: translateX(-195px);
max-width: 160px;
min-width: 160px;
}

div.adblock-container-sidebar-right {
display: flex;

transform: translateX(195px);
max-width: 160px;
min-width: 160px;
}
}

@media(min-width: 1366px) {
div.adblock-container-sidebar-left {
transform: translateX(-285px);
max-width: 250px;
min-width: 250px;
}

div.adblock-container-sidebar-right {
Expand All @@ -640,6 +660,10 @@ i.archive-icon {
}

@media(min-width: 1440px) {
div.adblock-container-sidebar-left {
transform: translateX(-335px);
}

div.adblock-container-sidebar-right {
transform: translateX(335px);
max-width: 300px;
Expand Down

0 comments on commit 6e7dccb

Please sign in to comment.