diff --git a/invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals/site.overrides b/invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals/site.overrides index 91ffcb0e..d8a5bc8b 100644 --- a/invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals/site.overrides +++ b/invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals/site.overrides @@ -666,4 +666,39 @@ blockquote{ .font-style-italic { font-style: italic; -} \ No newline at end of file +} + +:not(.ui.grid).only { + + &.mobile:not(.tablet) { + @media all and (min-width: @tabletBreakpoint) { + display: none !important; + } + } + + &.tablet { + &.mobile { + @media all and (min-width: @computerBreakpoint) { + display: none !important; + } + } + + &.computer { + @media all and (max-width: @largestMobileScreen) { + display: none !important; + } + } + + &:not(.computer):not(.mobile) { + @media not all and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) { + display: none !important; + } + } + } + + &.computer:not(.tablet) { + @media all and (max-width: @largestTabletScreen) { + display: none !important; + } + } +}