mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
* Forms and board tweaks for small screen sizes * Re-style game status indicators * Re-style viewing/offline indicator * Better eyecons 👁 * Re-organise CSS according to ITCSS principles * Pick new font from Google Fonts * Fix up tests * Move some things into partials
25 lines
477 B
SCSS
25 lines
477 B
SCSS
@charset "UTF-8";
|
|
|
|
/// Hides the text in an element, commonly used to show an image instead. Some
|
|
/// elements will need block-level styles applied.
|
|
///
|
|
/// @link https://goo.gl/EvLRIu
|
|
///
|
|
/// @example scss
|
|
/// .element {
|
|
/// @include hide-text;
|
|
/// }
|
|
///
|
|
/// // CSS Output
|
|
/// .element {
|
|
/// overflow: hidden;
|
|
/// text-indent: 101%;
|
|
/// white-space: nowrap;
|
|
/// }
|
|
|
|
@mixin hide-text {
|
|
overflow: hidden;
|
|
text-indent: 101%;
|
|
white-space: nowrap;
|
|
}
|