diff --git a/resources/skins.citizen.styles/common/common.less b/resources/skins.citizen.styles/common/common.less index 6d1204ac..8fef5981 100644 --- a/resources/skins.citizen.styles/common/common.less +++ b/resources/skins.citizen.styles/common/common.less @@ -1,26 +1,3 @@ -/* - * Hacks - * TODO: Find a place to put them -*/ - -// Hide RSS icon -a.feedlink { - background: none !important; -} - -// CSS checkbox hack -.mw-checkbox-hack { - width: @icon-box-size + @margin-side + @icon-padding; - height: @header-height; - position: absolute; - z-index: 8; - margin: 0; - display: block; - opacity: 0; - cursor: pointer; - -webkit-touch-callout: none; -} - /* * Framework */ @@ -181,19 +158,6 @@ a { white-space: nowrap; } -.screen-reader-text { - //.mixin-screen-reader-text; - display: block !important; - position: absolute !important; - clip: rect( 1px, 1px, 1px, 1px ) !important; - width: 1px !important; - height: 1px !important; - margin: -1px !important; - border: 0 !important; - padding: 0 !important; - overflow: hidden !important; -} - /* * Content */ diff --git a/resources/skins.citizen.styles/common/hacks.less b/resources/skins.citizen.styles/common/hacks.less new file mode 100644 index 00000000..fd5492da --- /dev/null +++ b/resources/skins.citizen.styles/common/hacks.less @@ -0,0 +1,30 @@ +// Hide RSS icon +a.feedlink { + background: none !important; +} + +// CSS checkbox hack +.mw-checkbox-hack { + width: @icon-box-size + @margin-side + @icon-padding; + height: @header-height; + position: absolute; + z-index: 8; + margin: 0; + display: block; + opacity: 0; + cursor: pointer; + -webkit-touch-callout: none; +} + +.screen-reader-text { + //.mixin-screen-reader-text; + display: block !important; + position: absolute !important; + clip: rect( 1px, 1px, 1px, 1px ) !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/resources/skins.citizen.styles/skin.less b/resources/skins.citizen.styles/skin.less index 0d0881ff..ccce05f6 100644 --- a/resources/skins.citizen.styles/skin.less +++ b/resources/skins.citizen.styles/skin.less @@ -12,6 +12,7 @@ @import 'common/catlinks.less'; @import 'common/toc.less'; @import 'common/wikitable.less'; + @import 'common/hacks.less'; @import 'common/darkmode.less'; // Components