mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 16:21:11 +00:00
Move hack styles out of common
This commit is contained in:
parent
478c476431
commit
23cb7e4774
|
@ -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
|
||||
*/
|
||||
|
|
30
resources/skins.citizen.styles/common/hacks.less
Normal file
30
resources/skins.citizen.styles/common/hacks.less
Normal file
|
@ -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;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue