mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-26 23:13:32 +00:00
88 lines
No EOL
1.9 KiB
SCSS
88 lines
No EOL
1.9 KiB
SCSS
$spacing-vertical: 24px;
|
|
|
|
$color-primary: #155B4A;
|
|
$color-text-dark: #000;
|
|
|
|
$font-size: 18px;
|
|
|
|
$mobile-width-threshold: 600px;
|
|
$max-content-width: 1000px;
|
|
$max-text-width: 660px;
|
|
|
|
|
|
@mixin clearfix()
|
|
{
|
|
&:before, &:after
|
|
{
|
|
content: " ";
|
|
display: table;
|
|
}
|
|
&:after
|
|
{
|
|
clear: both;
|
|
}
|
|
}
|
|
|
|
@mixin border-radius($radius)
|
|
{
|
|
-webkit-border-radius: $radius;
|
|
-moz-border-radius: $radius;
|
|
-ms-border-radius: $radius;
|
|
border-radius: $radius;
|
|
}
|
|
|
|
@mixin flex()
|
|
{
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
}
|
|
|
|
@mixin absolute-center()
|
|
{
|
|
@include flex();
|
|
-webkit-box-align: center;
|
|
-moz-box-align: center;
|
|
-ms-flex-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
-webkit-box-pack: center;
|
|
-moz-box-pack: center;
|
|
-ms-flex-pack: center;
|
|
-webkit-justify-content: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
@mixin linear-gradient($from-color, $to-color) {
|
|
background-color: $to-color; /* Fallback Color */
|
|
background-image: -webkit-linear-gradient(top, $from-color, $to-color); /* Chrome 10+, Saf5.1+, iOS 5+ */
|
|
background-image: -moz-linear-gradient(top, $from-color, $to-color); /* FF3.6 */
|
|
background-image: -ms-linear-gradient(top, $from-color, $to-color); /* IE10 */
|
|
background-image: linear-gradient(top, $from-color, $to-color);
|
|
}
|
|
|
|
@mixin box-sizing( $type: border-box ) {
|
|
-webkit-box-sizing: $type;
|
|
-moz-box-sizing: $type;
|
|
-o-box-sizing: $type;
|
|
-ms-box-sizing: $type;
|
|
box-sizing: $type;
|
|
}
|
|
|
|
@mixin background-size ($size) {
|
|
-webkit-background-size: $size;
|
|
-moz-background-size: $size;
|
|
-o-background-size: $size;
|
|
background-size: $size;
|
|
}
|
|
|
|
@mixin offscreen() {
|
|
position: absolute;
|
|
left: -9999px;
|
|
top:auto;
|
|
width:1px;
|
|
height:1px;
|
|
overflow:hidden;
|
|
} |