97 lines
1.9 KiB
SCSS
97 lines
1.9 KiB
SCSS
@import "../assets/assets";
|
|
|
|
$hoverColor: rgba(173, 154, 32, 0.75);
|
|
$hoverBox: 0 0 4px 2px $hoverColor;
|
|
$previewHeight: 180px;
|
|
$previewWidth: 320px;
|
|
$font: 'Arial Narrow';
|
|
$fontSpacing: 1.2px;
|
|
$fontSize: 14px;
|
|
//$fontShadow: 2px 2px 2px #000;
|
|
$fontShadow: -1px -1px 1px #000,
|
|
1px -1px 1px #000,
|
|
-1px 1px 1px #000,
|
|
1px 1px 1px #000;
|
|
$buttonSmallWidth: 78px;
|
|
$buttonSmallHeight: 21px;
|
|
$buttonWidth: 125px;
|
|
$buttonHeight: 20px;
|
|
$fontColor: #eec511;
|
|
$fontColorWhite: #fff;
|
|
$transitionDuration: 500ms;
|
|
$transitionType: cubic-bezier(1, .35, .57, 1);
|
|
$settingsBackground: rgba(0, 0, 0, 0.6);
|
|
|
|
body {
|
|
cursor: $cursor, auto;
|
|
background-image: $backgroundTexture;
|
|
background-repeat: repeat;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.main {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.author {
|
|
padding: 0 10px;
|
|
width: 0;
|
|
opacity: 0;
|
|
font-family: $font;
|
|
text-shadow: $fontShadow;
|
|
color: $fontColor;
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: width $transitionDuration $transitionType, opacity $transitionDuration $transitionType;
|
|
justify-content: space-between;
|
|
|
|
a {
|
|
cursor: $cursorPointer, auto;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
box-shadow: $hoverBox;
|
|
}
|
|
}
|
|
}
|
|
|
|
button {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
font-family: $font;
|
|
font-size: $fontSize;
|
|
text-shadow: $fontShadow;
|
|
letter-spacing: $fontSpacing;
|
|
color: $fontColor;
|
|
cursor: $cursor, auto;
|
|
width: $buttonWidth;
|
|
height: $buttonHeight;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background-color: unset;
|
|
background-image: $buttonUp;
|
|
background-position: -2px -2px;
|
|
|
|
&:hover {
|
|
background-image: $buttonHover, $buttonUp;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
box-shadow: $hoverBox;
|
|
}
|
|
|
|
&:active {
|
|
justify-content: center;
|
|
background-image: $buttonDown;
|
|
}
|
|
}
|